| 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..03b5ac6a88fa55410a02fdea99b60850b7768ba7 100644
|
| --- a/chrome/browser/extensions/updater/extension_downloader_delegate.h
|
| +++ b/chrome/browser/extensions/updater/extension_downloader_delegate.h
|
| @@ -111,6 +111,13 @@ 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). The default
|
| + // implementation always returns |false|.
|
| + virtual bool ShouldForceUpdate(const std::string& id,
|
| + std::string* source);
|
| };
|
|
|
| } // namespace extensions
|
|
|