Index: chrome/browser/plugin_service.h |
diff --git a/chrome/browser/plugin_service.h b/chrome/browser/plugin_service.h |
index 7ab39e25e04a6b7a1cfa8e6746f7c31f0345f607..f3214e0107b37de33348ed12fb1b7a1f319b3013 100644 |
--- a/chrome/browser/plugin_service.h |
+++ b/chrome/browser/plugin_service.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -31,6 +31,7 @@ class Message; |
class MessageLoop; |
class PluginProcessHost; |
+class Profile; |
class URLRequestContext; |
class ResourceDispatcherHost; |
class ResourceMessageFilter; |
@@ -41,6 +42,10 @@ class PluginService |
: public base::WaitableEventWatcher::Delegate, |
public NotificationObserver { |
public: |
+ // Initializes the global instance; should be called on startup from the main |
+ // thread. |
+ static void InitGlobalInstance(Profile* profile); |
+ |
// Returns the PluginService singleton. |
static PluginService* GetInstance(); |