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 1f3419bf726a3d8b81766076909a2b519d2e59b0..7f37c929e305113213386085d3d81e1ff7fa10c4 100644 |
--- a/ppapi/native_client/src/trusted/plugin/service_runtime.h |
+++ b/ppapi/native_client/src/trusted/plugin/service_runtime.h |
@@ -100,7 +100,6 @@ class PluginReverseInterface: public nacl::ReverseInterface { |
public: |
PluginReverseInterface(nacl::WeakRefAnchor* anchor, |
Plugin* plugin, |
- int32_t manifest_id, |
ServiceRuntime* service_runtime, |
pp::CompletionCallback init_done_cb, |
pp::CompletionCallback crash_cb); |
@@ -150,7 +149,6 @@ class PluginReverseInterface: public nacl::ReverseInterface { |
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_; |
ServiceRuntime* service_runtime_; |
NaClMutex mu_; |
NaClCondVar cv_; |
@@ -166,7 +164,6 @@ class ServiceRuntime { |
// TODO(sehr): This class should also implement factory methods, using the |
// Start method below. |
ServiceRuntime(Plugin* plugin, |
- int32_t manifest_id, |
bool main_service_runtime, |
bool uses_nonsfi_mode, |
pp::CompletionCallback init_done_cb, |
@@ -212,6 +209,8 @@ class ServiceRuntime { |
nacl::string GetCrashLogOutput(); |
+ bool main_service_runtime() const { return main_service_runtime_; } |
+ |
private: |
NACL_DISALLOW_COPY_AND_ASSIGN(ServiceRuntime); |
bool SetupCommandChannel(); |