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

Unified Diff: ppapi/native_client/src/trusted/plugin/service_runtime.h

Issue 321053004: Add limitation that LoadNexeAndStart must be called on the main thread. (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 side-by-side diff with in-line comments
Download patch
Index: ppapi/native_client/src/trusted/plugin/service_runtime.h
diff --git a/ppapi/native_client/src/trusted/plugin/service_runtime.h b/ppapi/native_client/src/trusted/plugin/service_runtime.h
index bc5f24f9ddb79cb3ccc506799128b374535f76ed..852379ed6d9a40cebd8f9c3738bc53304ac85109 100644
--- a/ppapi/native_client/src/trusted/plugin/service_runtime.h
+++ b/ppapi/native_client/src/trusted/plugin/service_runtime.h
@@ -193,9 +193,9 @@ class ServiceRuntime {
// Establish an SrpcClient to the sel_ldr instance and load the nexe.
// The nexe to be started is passed through |file_info|.
+ // This function must be called on the main thread.
void LoadNexeAndStart(PP_NaClFileInfo file_info,
- const pp::CompletionCallback& started_cb,
- const pp::CompletionCallback& crash_cb);
+ const pp::CompletionCallback& callback);
// Starts the application channel to the nexe.
SrpcClient* SetupAppChannel();

Powered by Google App Engine
This is Rietveld 408576698