Index: extensions/browser/extensions_browser_client.h |
diff --git a/extensions/browser/extensions_browser_client.h b/extensions/browser/extensions_browser_client.h |
index 8b66051ead124e92fb10ffe09d1a5cd18b8cc03a..38e998a08966cd8fe60688559c094f3485a46104 100644 |
--- a/extensions/browser/extensions_browser_client.h |
+++ b/extensions/browser/extensions_browser_client.h |
@@ -8,6 +8,7 @@ |
#include <string> |
#include <vector> |
+#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
#include "extensions/browser/extension_event_histogram_value.h" |
#include "extensions/browser/extension_prefs_observer.h" |
@@ -35,6 +36,10 @@ class URLRequest; |
class URLRequestJob; |
} |
+namespace update_client { |
+class UpdateClient; |
+} |
+ |
namespace extensions { |
class ApiActivityMonitor; |
@@ -50,6 +55,7 @@ class ExtensionWebContentsObserver; |
class InfoMap; |
class ProcessManagerDelegate; |
class RuntimeAPIDelegate; |
+class UpdateClientConfig; |
// Interface to allow the extensions module to make browser-process-specific |
// queries of the embedder. Should be Set() once in the browser process. |
@@ -233,6 +239,10 @@ class ExtensionsBrowserClient { |
virtual void AttachExtensionTaskManagerTag(content::WebContents* web_contents, |
ViewType view_type) {} |
+ // Returns a new UpdateClient. |
+ virtual scoped_refptr<update_client::UpdateClient> CreateUpdateClient( |
+ content::BrowserContext* context); |
+ |
// Returns the single instance of |this|. |
static ExtensionsBrowserClient* Get(); |