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 65ddd996e12314241d427a9933f57c68a491c181..aa3731e3e0ec5e84c90b2fe258242df301c841d1 100644 |
--- a/chrome/browser/extensions/updater/extension_updater.h |
+++ b/chrome/browser/extensions/updater/extension_updater.h |
@@ -69,6 +69,11 @@ class ExtensionUpdater : public ExtensionDownloaderDelegate, |
// right away. |
bool install_immediately; |
+ // An extension update check can be originated by a user or by a timer. |
+ // When the value of |fetch_priority| is FOREGROUND, the update request was |
+ // initiated by a user. |
+ ManifestFetchData::FetchPriority fetch_priority; |
+ |
// Callback to call when the update check is complete. Can be null, if |
// you're not interested in when this happens. |
FinishedCallback callback; |
@@ -167,7 +172,8 @@ class ExtensionUpdater : public ExtensionDownloaderDelegate, |
// ignoring |pending_ids| so the extension isn't fetched again. |
void AddToDownloader(const ExtensionSet* extensions, |
const std::list<std::string>& pending_ids, |
- int request_id); |
+ int request_id, |
+ ManifestFetchData::FetchPriority fetch_priority); |
// BaseTimer::ReceiverMethod callback. |
void TimerFired(); |