| 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 c0975454efa6fe5103d25b403163692801e25230..907fd7d11d6bac87092317549690f38dcac1473d 100644
|
| --- a/chrome/browser/component_updater/component_updater_service.h
|
| +++ b/chrome/browser/component_updater/component_updater_service.h
|
| @@ -20,6 +20,10 @@ class DictionaryValue;
|
| class FilePath;
|
| }
|
|
|
| +namespace content {
|
| +class NotificationSource;
|
| +}
|
| +
|
| class ComponentPatcher;
|
|
|
| // Component specific installers must derive from this class and implement
|
| @@ -156,6 +160,12 @@ class ComponentUpdateService {
|
| // via the Install() hook.
|
| virtual Status CheckForUpdateSoon(const CrxComponent& component) = 0;
|
|
|
| + // Return true if a NOTIFICATION_COMPONENT_UPDATE_FOUND or
|
| + // NOTIFICATION_COMPONENT_UPDATE_READY is for the given component.
|
| + virtual bool IsUpdateNotificationForComponent(
|
| + const content::NotificationSource& src,
|
| + const CrxComponent& component) = 0;
|
| +
|
| virtual ~ComponentUpdateService() {}
|
| };
|
|
|
|
|