Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Side by Side Diff: ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.h

Issue 360743002: Pepper: SelLdrLauncherChrome cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 virtual bool Start(const char* url);
18 virtual void Start(PP_Instance instance, 18
19 bool main_service_runtime, 19 // Provides a way for LaunchSelLdr() to write imc_channel information into
20 const char* url, 20 // this class.
21 const PP_NaClFileInfo* file_info, 21 NaClHandle* mutable_channel() { return &channel_; }
bbudge 2014/06/30 18:50:38 It's strange to expose this with a getter here, al
22 bool uses_irt,
23 bool uses_ppapi,
24 bool uses_nonsfi_mode,
25 bool enable_ppapi_dev,
26 bool enable_dyncode_syscalls,
27 bool enable_exception_handling,
28 bool enable_crash_throttling,
29 pp::CompletionCallback callback);
30 }; 22 };
31 23
32 } // namespace plugin 24 } // namespace plugin
33 25
34 #endif 26 #endif
OLDNEW
« no previous file with comments | « no previous file | ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698