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

Unified Diff: extensions/common/extensions_client.h

Issue 575113002: Move Webstore URL concepts to //extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ENABLE_EXTENSIONS guard in core chrome code Created 6 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
« no previous file with comments | « extensions/common/extension_urls.cc ('k') | extensions/shell/common/shell_extensions_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/extensions_client.h
diff --git a/extensions/common/extensions_client.h b/extensions/common/extensions_client.h
index 623a2de9e60f7ef3020666f4679a17d02853a29c..77037d4b38f92951b4169b7e6a155219194573f1 100644
--- a/extensions/common/extensions_client.h
+++ b/extensions/common/extensions_client.h
@@ -97,6 +97,16 @@ class ExtensionsClient {
// (i.e., only logged) or allowed (i.e., logged before crashing).
virtual bool ShouldSuppressFatalErrors() const = 0;
+ // Returns the base webstore URL prefix.
+ virtual std::string GetWebstoreBaseURL() const = 0;
+
+ // Returns the URL to use for update manifest queries.
+ virtual std::string GetWebstoreUpdateURL() const = 0;
+
+ // Returns a flag indicating whether or not a given URL is a valid
+ // extension blacklist URL.
+ virtual bool IsBlacklistUpdateURL(const GURL& url) const = 0;
+
// Return the extensions client.
static ExtensionsClient* Get();
« no previous file with comments | « extensions/common/extension_urls.cc ('k') | extensions/shell/common/shell_extensions_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698