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

Unified Diff: chrome/browser/extensions/extension_updater.cc

Issue 7743004: Move extension/webstore-related URL getters to the extension_urls namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review feedback. Created 9 years, 4 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: chrome/browser/extensions/extension_updater.cc
diff --git a/chrome/browser/extensions/extension_updater.cc b/chrome/browser/extensions/extension_updater.cc
index 5b3c4bf6af734fb224d39735cc6ee2d9b6d70a0e..2bd4e6b22fbd3e3928e1fd7eded5256230d817fe 100644
--- a/chrome/browser/extensions/extension_updater.cc
+++ b/chrome/browser/extensions/extension_updater.cc
@@ -381,7 +381,7 @@ void ManifestFetchesBuilder::AddExtensionData(
// Fill in default update URL.
//
// TODO(akalin): Figure out if we should use the HTTPS version.
- update_url = Extension::GalleryUpdateUrl(false);
+ update_url = extension_urls::GetWebstoreUpdateUrl(false);
} else {
url_stats_.other_url_count++;
}
@@ -1038,7 +1038,7 @@ void ExtensionUpdater::CheckNow() {
// url here to avoid DNS hijacking of the blacklist, which is not validated
// by a public key signature like .crx files are.
ManifestFetchData* blacklist_fetch =
- new ManifestFetchData(Extension::GalleryUpdateUrl(true));
+ new ManifestFetchData(extension_urls::GetWebstoreUpdateUrl(true));
std::string version = prefs_->GetString(kExtensionBlacklistUpdateVersion);
ManifestFetchData::PingData ping_data;
ping_data.rollcall_days =
« no previous file with comments | « chrome/browser/extensions/extension_tab_helper.cc ('k') | chrome/browser/extensions/extension_updater_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698