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

Unified Diff: extensions/shell/common/shell_extensions_client.cc

Issue 575113002: Move Webstore URL concepts to //extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Dedupe constants, rename GetExtensionGalleryURL, cleanup comments. 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
Index: extensions/shell/common/shell_extensions_client.cc
diff --git a/extensions/shell/common/shell_extensions_client.cc b/extensions/shell/common/shell_extensions_client.cc
index be135c78e01e113689919d64e2c10ca0f4a043d7..bbc42104d752c0cae6fe9e1c33ddaaab8511085a 100644
--- a/extensions/shell/common/shell_extensions_client.cc
+++ b/extensions/shell/common/shell_extensions_client.cc
@@ -193,4 +193,18 @@ bool ShellExtensionsClient::ShouldSuppressFatalErrors() const {
return true;
}
+std::string ShellExtensionsClient::GetWebstoreBaseURL() const {
+ return extension_urls::kChromeWebstoreBaseURL;
+}
+
+std::string ShellExtensionsClient::GetWebstoreUpdateURL() const {
+ return extension_urls::kChromeWebstoreUpdateURL;
+}
+
+bool ShellExtensionsClient::IsBlacklistUpdateURL(const GURL& url) const {
+ // TODO(rockot): Maybe we want to do something else here. For now we accept
+ // any URL as a blacklist URL because we don't really care.
+ return true;
+}
+
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698