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

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

Issue 11428063: Add a flag to LaunchSelLdr to skip grabbing a routing_id. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reduce mod Created 8 years 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 5
6 // The portable representation of an instance and root scriptable object. 6 // The portable representation of an instance and root scriptable object.
7 // The PPAPI version of the plugin instantiates a subclass of this class. 7 // The PPAPI version of the plugin instantiates a subclass of this class.
8 8
9 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ 9 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_
10 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ 10 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 ServiceRuntime* main_service_runtime() const { 343 ServiceRuntime* main_service_runtime() const {
344 return main_subprocess_.service_runtime(); 344 return main_subprocess_.service_runtime();
345 } 345 }
346 346
347 // Help load a nacl module, from the file specified in wrapper. 347 // Help load a nacl module, from the file specified in wrapper.
348 // This will fully initialize the |subprocess| if the load was successful. 348 // This will fully initialize the |subprocess| if the load was successful.
349 bool LoadNaClModuleCommon(nacl::DescWrapper* wrapper, 349 bool LoadNaClModuleCommon(nacl::DescWrapper* wrapper,
350 NaClSubprocess* subprocess, 350 NaClSubprocess* subprocess,
351 const Manifest* manifest, 351 const Manifest* manifest,
352 bool should_report_uma, 352 bool should_report_uma,
353 bool uses_ppapi,
353 ErrorInfo* error_info, 354 ErrorInfo* error_info,
354 pp::CompletionCallback init_done_cb, 355 pp::CompletionCallback init_done_cb,
355 pp::CompletionCallback crash_cb); 356 pp::CompletionCallback crash_cb);
356 357
357 // Callback used when getting the URL for the .nexe file. If the URL loading 358 // Callback used when getting the URL for the .nexe file. If the URL loading
358 // is successful, the file descriptor is opened and can be passed to sel_ldr 359 // is successful, the file descriptor is opened and can be passed to sel_ldr
359 // with the sandbox on. 360 // with the sandbox on.
360 void NexeFileDidOpen(int32_t pp_error); 361 void NexeFileDidOpen(int32_t pp_error);
361 void NexeFileDidOpenContinuation(int32_t pp_error); 362 void NexeFileDidOpenContinuation(int32_t pp_error);
362 363
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 const FileDownloader* FindFileDownloader(PP_Resource url_loader) const; 527 const FileDownloader* FindFileDownloader(PP_Resource url_loader) const;
527 528
528 int64_t time_of_last_progress_event_; 529 int64_t time_of_last_progress_event_;
529 530
530 const PPB_NaCl_Private* nacl_interface_; 531 const PPB_NaCl_Private* nacl_interface_;
531 }; 532 };
532 533
533 } // namespace plugin 534 } // namespace plugin
534 535
535 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_ 536 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_H_
OLDNEW
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/nacl_entry_points.h ('k') | ppapi/native_client/src/trusted/plugin/plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698