| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef PPAPI_NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SEL_LDR_LAUNCHER_CHROME_H_ | 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_ | 6 #define PPAPI_NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SEL_LDR_LAUNCHER_CHROME_H_ |
| 7 | 7 |
| 8 #include "native_client/src/trusted/nonnacl_util/sel_ldr_launcher.h" | 8 #include "native_client/src/trusted/nonnacl_util/sel_ldr_launcher.h" |
| 9 #include "ppapi/c/pp_instance.h" | 9 #include "ppapi/c/pp_instance.h" |
| 10 | 10 |
| 11 namespace plugin { | 11 namespace plugin { |
| 12 | 12 |
| 13 class SelLdrLauncherChrome : public nacl::SelLdrLauncherBase { | 13 class SelLdrLauncherChrome : public nacl::SelLdrLauncherBase { |
| 14 public: | 14 public: |
| 15 virtual bool Start(const char* url); | 15 virtual bool Start(const char* url); |
| 16 virtual bool Start(PP_Instance instance, | 16 virtual bool Start(PP_Instance instance, |
| 17 const char* url, | 17 const char* url, |
| 18 bool uses_irt, | 18 bool uses_irt, |
| 19 bool uses_ppapi, | 19 bool uses_ppapi, |
| 20 bool enable_ppapi_dev, | 20 bool enable_ppapi_dev, |
| 21 bool enable_dyncode_syscalls, | 21 bool enable_dyncode_syscalls, |
| 22 bool enable_exception_handling); | 22 bool enable_exception_handling, |
| 23 nacl::string* error_message); |
| 23 }; | 24 }; |
| 24 | 25 |
| 25 } // namespace plugin | 26 } // namespace plugin |
| 26 | 27 |
| 27 #endif | 28 #endif |
| OLD | NEW |