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

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

Issue 265393004: Revert 268280 "Pepper: Move manifest logic to components/nacl." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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: trunk/src/ppapi/native_client/src/trusted/plugin/service_runtime.h
===================================================================
--- trunk/src/ppapi/native_client/src/trusted/plugin/service_runtime.h (revision 268294)
+++ trunk/src/ppapi/native_client/src/trusted/plugin/service_runtime.h (working copy)
@@ -40,6 +40,7 @@
namespace plugin {
class ErrorInfo;
+class Manifest;
class OpenManifestEntryAsyncCallback;
class Plugin;
class SrpcClient;
@@ -146,7 +147,7 @@
public:
PluginReverseInterface(nacl::WeakRefAnchor* anchor,
Plugin* plugin,
- int32_t manifest_id,
+ const Manifest* manifest,
ServiceRuntime* service_runtime,
pp::CompletionCallback init_done_cb,
pp::CompletionCallback crash_cb);
@@ -205,7 +206,7 @@
nacl::WeakRefAnchor* anchor_; // holds a ref
Plugin* plugin_; // value may be copied, but should be used only in
// main thread in WeakRef-protected callbacks.
- int32_t manifest_id_;
+ const Manifest* manifest_;
ServiceRuntime* service_runtime_;
NaClMutex mu_;
NaClCondVar cv_;
@@ -222,7 +223,7 @@
// TODO(sehr): This class should also implement factory methods, using the
// Start method below.
ServiceRuntime(Plugin* plugin,
- int32_t manifest_id,
+ const Manifest* manifest,
bool main_service_runtime,
bool uses_nonsfi_mode,
pp::CompletionCallback init_done_cb,

Powered by Google App Engine
This is Rietveld 408576698