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

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

Issue 337463002: Remove LoadModule SRPC for non-SFI mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
OLDNEW
1 /* -*- c++ -*- */ 1 /* -*- c++ -*- */
2 /* 2 /*
3 * Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 * Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 // A class containing information regarding a socket connection to a 8 // A class containing information regarding a socket connection to a
9 // service runtime instance. 9 // service runtime instance.
10 10
(...skipping 25 matching lines...) Expand all
36 36
37 class OpenManifestEntryAsyncCallback; 37 class OpenManifestEntryAsyncCallback;
38 class Plugin; 38 class Plugin;
39 class SrpcClient; 39 class SrpcClient;
40 class ServiceRuntime; 40 class ServiceRuntime;
41 41
42 // Struct of params used by StartSelLdr. Use a struct so that callback 42 // Struct of params used by StartSelLdr. Use a struct so that callback
43 // creation templates aren't overwhelmed with too many parameters. 43 // creation templates aren't overwhelmed with too many parameters.
44 struct SelLdrStartParams { 44 struct SelLdrStartParams {
45 SelLdrStartParams(const nacl::string& url, 45 SelLdrStartParams(const nacl::string& url,
46 const PP_NaClFileInfo& file_info,
46 bool uses_irt, 47 bool uses_irt,
47 bool uses_ppapi, 48 bool uses_ppapi,
48 bool uses_nonsfi_mode,
Mark Seaborn 2014/06/17 00:50:31 Could you possibly do this removal in a separate c
hidehiko 2014/06/18 08:43:32 Done.
49 bool enable_dyncode_syscalls, 49 bool enable_dyncode_syscalls,
50 bool enable_exception_handling, 50 bool enable_exception_handling,
51 bool enable_crash_throttling) 51 bool enable_crash_throttling)
52 : url(url), 52 : url(url),
53 file_info(file_info),
53 uses_irt(uses_irt), 54 uses_irt(uses_irt),
54 uses_ppapi(uses_ppapi), 55 uses_ppapi(uses_ppapi),
55 uses_nonsfi_mode(uses_nonsfi_mode),
56 enable_dyncode_syscalls(enable_dyncode_syscalls), 56 enable_dyncode_syscalls(enable_dyncode_syscalls),
57 enable_exception_handling(enable_exception_handling), 57 enable_exception_handling(enable_exception_handling),
58 enable_crash_throttling(enable_crash_throttling) { 58 enable_crash_throttling(enable_crash_throttling) {
59 } 59 }
60 nacl::string url; 60 nacl::string url;
61 PP_NaClFileInfo file_info;
61 bool uses_irt; 62 bool uses_irt;
62 bool uses_ppapi; 63 bool uses_ppapi;
63 bool uses_nonsfi_mode;
64 bool enable_dev_interfaces; 64 bool enable_dev_interfaces;
65 bool enable_dyncode_syscalls; 65 bool enable_dyncode_syscalls;
66 bool enable_exception_handling; 66 bool enable_exception_handling;
67 bool enable_crash_throttling; 67 bool enable_crash_throttling;
68 }; 68 };
69 69
70 // Callback resources are essentially our continuation state. 70 // Callback resources are essentially our continuation state.
71 struct OpenManifestEntryResource { 71 struct OpenManifestEntryResource {
72 public: 72 public:
73 OpenManifestEntryResource(const std::string& target_url, 73 OpenManifestEntryResource(const std::string& target_url,
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 // Mutex and CondVar to protect start_sel_ldr_done_ and nexe_started_. 244 // Mutex and CondVar to protect start_sel_ldr_done_ and nexe_started_.
245 NaClMutex mu_; 245 NaClMutex mu_;
246 NaClCondVar cond_; 246 NaClCondVar cond_;
247 bool start_sel_ldr_done_; 247 bool start_sel_ldr_done_;
248 bool nexe_started_; 248 bool nexe_started_;
249 }; 249 };
250 250
251 } // namespace plugin 251 } // namespace plugin
252 252
253 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SERVICE_RUNTIME_H_ 253 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SERVICE_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698