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

Unified Diff: extensions/browser/extensions_browser_client.h

Issue 651403003: Remove //chrome deps from ExtensionDownloader (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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: extensions/browser/extensions_browser_client.h
diff --git a/extensions/browser/extensions_browser_client.h b/extensions/browser/extensions_browser_client.h
index 5b3b1d2a13a6cba57cf5b514792ce9b68b03c0bc..e3ac4a58e8c648a0b69af8f7638b1ea47624917c 100644
--- a/extensions/browser/extensions_browser_client.h
+++ b/extensions/browser/extensions_browser_client.h
@@ -191,6 +191,15 @@ class ExtensionsBrowserClient {
// Gets the single ExtensionCache instance shared across the browser process.
virtual ExtensionCache* GetExtensionCache() = 0;
+ // Indicates whether extension update checks should be allowed.
+ virtual bool IsBackgroundUpdateAllowed() = 0;
+
+ // Indicates whether an extension update which specifies its minimum browser
+ // version as |min_version| can be installed by the client. Not all extensions
+ // embedders share the same versioning model, so interpretation of the string
+ // is left up to the embedder.
+ virtual bool IsMinBrowserVersionSupported(const std::string& min_version) = 0;
+
// Returns the single instance of |this|.
static ExtensionsBrowserClient* Get();
« no previous file with comments | « chrome/browser/extensions/updater/extension_downloader.cc ('k') | extensions/browser/test_extensions_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698