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

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: Synced 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 4cb99e749c349aea864af4d426541c1d726b8392..06a4ae6e82dca55bbcec2f24515b4c5db4e04ade 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,11 @@ class ExtensionUpdater : public ExtensionDownloaderDelegate,
// browser restart.
void ScheduleNextCheck(const base::TimeDelta& target_delay);
+ // Add fetch records for extensions that are installed to the downloader,
+ // ignoring |pending_ids| so the extension isn't fetched again.
+ void AddToDownloader(const ExtensionSet* extensions,
+ const std::set<std::string>& pending_ids);
+
// BaseTimer::ReceiverMethod callback.
void TimerFired();
« no previous file with comments | « chrome/browser/extensions/test_extension_service.cc ('k') | chrome/browser/extensions/updater/extension_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698