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

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

Issue 131413009: Prototype: Use Chromium IPC for plugin LOAD_MODULE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased, some FIXMEs cleaned up Created 6 years, 10 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 30200b85d5a9ba31f13638738a110abbabc1e768..6fbc9235b653ef37a7f45de1a506211290dd2688 100644
--- a/ppapi/native_client/src/trusted/plugin/service_runtime.h
+++ b/ppapi/native_client/src/trusted/plugin/service_runtime.h
@@ -232,7 +232,8 @@ class ServiceRuntime {
// Spawn the sel_ldr instance. On success, returns true.
// On failure, returns false and |error_string| is set to something
// describing the error.
- bool StartSelLdr(const SelLdrStartParams& params);
+ void StartSelLdr(const SelLdrStartParams& params,
+ PP_CompletionCallback callback);
// If starting sel_ldr from a background thread, wait for sel_ldr to
// actually start.
@@ -292,6 +293,8 @@ class ServiceRuntime {
NaClCondVar cond_;
int exit_status_;
bool start_sel_ldr_done_;
+
+ PP_Var start_sel_ldr_error_message_;
};
} // namespace plugin

Powered by Google App Engine
This is Rietveld 408576698