Upstream version 8.37.180.0
[platform/framework/web/crosswalk.git] / src / ppapi / native_client / src / trusted / plugin / sel_ldr_launcher_chrome.h
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef PPAPI_NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SEL_LDR_LAUNCHER_CHROME_H_
6 #define PPAPI_NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SEL_LDR_LAUNCHER_CHROME_H_
7
8 #include "native_client/src/trusted/nonnacl_util/sel_ldr_launcher.h"
9 #include "ppapi/c/pp_instance.h"
10 #include "ppapi/c/private/ppb_nacl_private.h"
11 #include "ppapi/cpp/completion_callback.h"
12
13 namespace plugin {
14
15 class SelLdrLauncherChrome : public nacl::SelLdrLauncherBase {
16  public:
17   virtual bool Start(const char* url);
18   virtual void Start(PP_Instance instance,
19                      bool main_service_runtime,
20                      const char* url,
21                      bool uses_irt,
22                      bool uses_ppapi,
23                      bool uses_nonsfi_mode,
24                      bool enable_ppapi_dev,
25                      bool enable_dyncode_syscalls,
26                      bool enable_exception_handling,
27                      bool enable_crash_throttling,
28                      const PPP_ManifestService* manifest_service_interface,
29                      void* manifest_service_user_data,
30                      pp::CompletionCallback callback);
31 };
32
33 }  // namespace plugin
34
35 #endif