Index: chrome/common/extensions/extension_constants.h |
diff --git a/chrome/common/extensions/extension_constants.h b/chrome/common/extensions/extension_constants.h |
index 936330f90314dabaf55c0db0dfbae307e8651713..f202165c5bbebd84d759f554066438752795e278 100644 |
--- a/chrome/common/extensions/extension_constants.h |
+++ b/chrome/common/extensions/extension_constants.h |
@@ -41,9 +41,14 @@ GURL GetWebstoreJsonSearchUrl(const std::string& query, const std::string& hl); |
// Returns the URL of the web store search results page for |query|. |
GURL GetWebstoreSearchPageUrl(const std::string& query); |
-// Return the update URL used by gallery/webstore extensions/apps. |
+// Return the update URL used by gallery/webstore extensions/apps. This may |
+// have been overridden by a command line flag for testing purposes. |
GURL GetWebstoreUpdateUrl(); |
+// This returns the compile-time constant webstore update url. Usually you |
+// should prefer using GetWebstoreUpdateUrl. |
+GURL GetDefaultWebstoreUpdateUrl(); |
+ |
// Returns whether the URL is the webstore update URL (just considering host |
// and path, not scheme, query, etc.) |
bool IsWebstoreUpdateUrl(const GURL& update_url); |