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

Unified Diff: chrome/browser/extensions/updater/extension_downloader_delegate.h

Issue 540673002: Enable forced extension updates on NaCl arch mismatch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: kill stale comment 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: chrome/browser/extensions/updater/extension_downloader_delegate.h
diff --git a/chrome/browser/extensions/updater/extension_downloader_delegate.h b/chrome/browser/extensions/updater/extension_downloader_delegate.h
index a9914c79fcedc410c73e03b2ac4b426158f53046..973adb78c39286700d4a07173a7e339d7981cf03 100644
--- a/chrome/browser/extensions/updater/extension_downloader_delegate.h
+++ b/chrome/browser/extensions/updater/extension_downloader_delegate.h
@@ -111,6 +111,12 @@ class ExtensionDownloaderDelegate {
// that extension is not installed.
virtual bool GetExtensionExistingVersion(const std::string& id,
std::string* version) = 0;
+
+ // Determines if a given extension should be forced to update and (if so)
+ // what the source of this forcing is (i.e. what string will be passed
+ // in |installsource| as part of the update query parameters).
+ virtual bool ShouldForceUpdate(const std::string& id,
+ std::string* source) = 0;
};
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698