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

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

Issue 16283002: Move Extension::UpdatesFromGallery to ManifestURL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 7 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 | « chrome/browser/extensions/crx_installer.cc ('k') | chrome/browser/extensions/external_install_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_service.cc
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc
index 0288d5d84666939131b05878c36a53fa28cb1a49..93c9492818e38ed37051d14422f1cf7ed8f94049 100644
--- a/chrome/browser/extensions/extension_service.cc
+++ b/chrome/browser/extensions/extension_service.cc
@@ -642,7 +642,7 @@ bool ExtensionService::UpdateExtension(const std::string& id,
// which are newer.
int creation_flags = Extension::NO_FLAGS;
if ((extension && extension->from_webstore()) ||
- (extension && extension->UpdatesFromGallery()) ||
+ (extension && extensions::ManifestURL::UpdatesFromGallery(extension)) ||
(!extension && extension_urls::IsWebstoreUpdateUrl(
pending_extension_info->update_url()))) {
creation_flags |= Extension::FROM_WEBSTORE;
« no previous file with comments | « chrome/browser/extensions/crx_installer.cc ('k') | chrome/browser/extensions/external_install_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698