summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_plugin_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/chrome_plugin_lib.h')
-rw-r--r--chrome/common/chrome_plugin_lib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/chrome_plugin_lib.h b/chrome/common/chrome_plugin_lib.h
index 41c672b..f58b9c8 100644
--- a/chrome/common/chrome_plugin_lib.h
+++ b/chrome/common/chrome_plugin_lib.h
@@ -12,6 +12,8 @@
#include "base/scoped_ptr.h"
#include "chrome/common/chrome_plugin_api.h"
+class MessageLoop;
+
// A ChromePluginLib is a single Chrome Plugin Library.
// This class is used in the browser process (IO thread), and the plugin process
// (plugin thread). It should not be accessed on other threads, because it
@@ -23,6 +25,7 @@ class ChromePluginLib : public base::RefCounted<ChromePluginLib> {
static ChromePluginLib* Find(const std::wstring& filename);
static void Destroy(const std::wstring& filename);
static bool IsPluginThread();
+ static MessageLoop* GetPluginThreadLoop();
static ChromePluginLib* FromCPID(CPID id) {
return reinterpret_cast<ChromePluginLib*>(id);