| 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 #include "ppapi/c/private/ppb_nacl_private.h" | 10 #include "ppapi/c/private/ppb_nacl_private.h" |
| 11 #include "ppapi/cpp/completion_callback.h" | 11 #include "ppapi/cpp/completion_callback.h" |
| 12 | 12 |
| 13 namespace plugin { | 13 namespace plugin { |
| 14 | 14 |
| 15 class SelLdrLauncherChrome : public nacl::SelLdrLauncherBase { | 15 class SelLdrLauncherChrome : public nacl::SelLdrLauncherBase { |
| 16 public: | 16 public: |
| 17 virtual bool Start(const char* url); | 17 bool Start(const char* url) override; |
| 18 | 18 |
| 19 // Provides a way for LaunchSelLdr() to write bootstrap channel information | 19 // Provides a way for LaunchSelLdr() to write bootstrap channel information |
| 20 // into this class. | 20 // into this class. |
| 21 void set_channel(NaClHandle channel); | 21 void set_channel(NaClHandle channel); |
| 22 }; | 22 }; |
| 23 | 23 |
| 24 } // namespace plugin | 24 } // namespace plugin |
| 25 | 25 |
| 26 #endif | 26 #endif |
| OLD | NEW |