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

Unified Diff: content/ppapi_plugin/ppapi_thread.h

Issue 8316008: Add a new globals object for PPAPI tracking information. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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: content/ppapi_plugin/ppapi_thread.h
diff --git a/content/ppapi_plugin/ppapi_thread.h b/content/ppapi_plugin/ppapi_thread.h
index cc58362bf38d13412f5bad8fd9aff751f56931bb..430e168db9b5758a9626c708828a2b1b921f405b 100644
--- a/content/ppapi_plugin/ppapi_thread.h
+++ b/content/ppapi_plugin/ppapi_thread.h
@@ -18,6 +18,7 @@
#include "ppapi/c/pp_module.h"
#include "ppapi/c/trusted/ppp_broker.h"
#include "ppapi/proxy/plugin_dispatcher.h"
+#include "ppapi/proxy/plugin_globals.h"
class FilePath;
class PpapiWebKitThread;
@@ -66,6 +67,9 @@ class PpapiThread : public ChildThread,
base::ScopedNativeLibrary library_;
+ // Global state tracking for the proxy.
+ ppapi::proxy::PluginGlobals plugin_globals_;
+
ppapi::proxy::Dispatcher::GetInterfaceFunc get_plugin_interface_;
// Callback to call when a new instance connects to the broker.

Powered by Google App Engine
This is Rietveld 408576698