// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef PPAPI_NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SEL_LDR_LAUNCHER_CHROME_H_
#define PPAPI_NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SEL_LDR_LAUNCHER_CHROME_H_
#include "native_client/src/trusted/nonnacl_util/sel_ldr_launcher.h"
#include "ppapi/c/pp_instance.h"
#include "ppapi/c/private/ppb_nacl_private.h"
#include "ppapi/cpp/completion_callback.h"
namespace plugin {
class SelLdrLauncherChrome : public nacl::SelLdrLauncherBase {
public:
virtual bool Start(const char* url);
virtual void Start(PP_Instance instance,
bool main_service_runtime,
const char* url,
bool uses_irt,
bool uses_ppapi,
bool uses_nonsfi_mode,
bool enable_ppapi_dev,
bool enable_dyncode_syscalls,
bool enable_exception_handling,
bool enable_crash_throttling,
const PPP_ManifestService* manifest_service_interface,
void* manifest_service_user_data,
pp::CompletionCallback callback);
};
} // namespace plugin
#endif