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

Unified Diff: extensions/browser/extensions_browser_client.h

Issue 1362043005: Add extensions code to use common updater in components/update_client/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: responded to review comments Created 5 years, 3 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: 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();

Powered by Google App Engine
This is Rietveld 408576698