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

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

Issue 11761025: When launching PNaCl helper nexes, explicitly disable IRT loading. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: don't forget to serialize Created 7 years, 11 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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 // The destructor terminates the sel_ldr process. 231 // The destructor terminates the sel_ldr process.
232 ~ServiceRuntime(); 232 ~ServiceRuntime();
233 233
234 // Spawn a sel_ldr instance and establish an SrpcClient to it. The nexe 234 // Spawn a sel_ldr instance and establish an SrpcClient to it. The nexe
235 // to be started is passed through |nacl_file_desc|. On success, returns 235 // to be started is passed through |nacl_file_desc|. On success, returns
236 // true. On failure, returns false and |error_string| is set to something 236 // true. On failure, returns false and |error_string| is set to something
237 // describing the error. 237 // describing the error.
238 bool Start(nacl::DescWrapper* nacl_file_desc, 238 bool Start(nacl::DescWrapper* nacl_file_desc,
239 ErrorInfo* error_info, 239 ErrorInfo* error_info,
240 const nacl::string& url, 240 const nacl::string& url,
241 bool uses_irt,
241 bool uses_ppapi, 242 bool uses_ppapi,
242 bool enable_ppapi_dev, 243 bool enable_ppapi_dev,
243 pp::CompletionCallback crash_cb); 244 pp::CompletionCallback crash_cb);
244 245
245 // Starts the application channel to the nexe. 246 // Starts the application channel to the nexe.
246 SrpcClient* SetupAppChannel(); 247 SrpcClient* SetupAppChannel();
247 248
248 bool Log(int severity, const nacl::string& msg); 249 bool Log(int severity, const nacl::string& msg);
249 Plugin* plugin() const { return plugin_; } 250 Plugin* plugin() const { return plugin_; }
250 void Shutdown(); 251 void Shutdown();
(...skipping 25 matching lines...) Expand all
276 277
277 PluginReverseInterface* rev_interface_; 278 PluginReverseInterface* rev_interface_;
278 279
279 NaClMutex mu_; 280 NaClMutex mu_;
280 int exit_status_; 281 int exit_status_;
281 }; 282 };
282 283
283 } // namespace plugin 284 } // namespace plugin
284 285
285 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SERVICE_RUNTIME_H_ 286 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SERVICE_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698