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

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

Issue 9718028: Allow autoupdate to update disabled extensions. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Review fixes and added tests. Created 8 years, 9 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_updater.h
diff --git a/chrome/browser/extensions/updater/extension_updater.h b/chrome/browser/extensions/updater/extension_updater.h
index 53d471909376d7dd46b5e13917400227e63ebfc1..f9b4900c97251e39769444a4f70a015485300b89 100644
--- a/chrome/browser/extensions/updater/extension_updater.h
+++ b/chrome/browser/extensions/updater/extension_updater.h
@@ -25,6 +25,7 @@
class ExtensionPrefs;
class ExtensionServiceInterface;
+class ExtensionSet;
class PrefService;
class Profile;
@@ -109,6 +110,12 @@ class ExtensionUpdater : public ExtensionDownloaderDelegate,
// browser restart.
void ScheduleNextCheck(const base::TimeDelta& target_delay);
+ // Add fetch records for extensions that are installed and have an
+ // update URL to the downloader, ignoring |pending_ids| so the extension isn't
asargent_no_longer_on_chrome 2012/03/21 18:47:31 nit: "...and have an update URL.." - actually, we
Matt Tytel 2012/03/26 05:23:59 Done.
+ // fetched again.
+ void AddToDownloader(const ExtensionSet* extensions,
+ const std::set<std::string>& pending_ids);
+
// BaseTimer::ReceiverMethod callback.
void TimerFired();

Powered by Google App Engine
This is Rietveld 408576698