| Index: chrome/browser/component_updater/component_updater_service.h
|
| diff --git a/chrome/browser/component_updater/component_updater_service.h b/chrome/browser/component_updater/component_updater_service.h
|
| index 43a083f933acdfbcd0bc34575263eb8563b85d7e..94caebfeafb064bf7cb6afc6297834a828e19247 100644
|
| --- a/chrome/browser/component_updater/component_updater_service.h
|
| +++ b/chrome/browser/component_updater/component_updater_service.h
|
| @@ -88,6 +88,7 @@ class ComponentUpdateService {
|
| enum Status {
|
| kOk,
|
| kReplaced,
|
| + kInProgress,
|
| kError
|
| };
|
| // Controls the component updater behavior.
|
| @@ -139,6 +140,12 @@ class ComponentUpdateService {
|
| // before calling Start().
|
| virtual Status RegisterComponent(const CrxComponent& component) = 0;
|
|
|
| + // Ask the component updater to do an update check for a previously
|
| + // registered component, soon. Only one client may request for this
|
| + // higher priority treatment at one time. Returns |kInProgress| if
|
| + // there is already a request in progress
|
| + virtual Status CheckForUpdateSoon(const CrxComponent& component) = 0;
|
| +
|
| virtual ~ComponentUpdateService() {}
|
| };
|
|
|
| @@ -148,4 +155,3 @@ ComponentUpdateService* ComponentUpdateServiceFactory(
|
| ComponentUpdateService::Configurator* config);
|
|
|
| #endif // CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_
|
| -
|
|
|