Index: chrome/browser/extensions/install_tracker.h |
diff --git a/chrome/browser/extensions/install_tracker.h b/chrome/browser/extensions/install_tracker.h |
index 8342ec934a8622fdd51c90345137bcea83af8161..6728cf6a946a1405684a8e8ec8c7119198272477 100644 |
--- a/chrome/browser/extensions/install_tracker.h |
+++ b/chrome/browser/extensions/install_tracker.h |
@@ -53,7 +53,7 @@ class InstallTracker : public KeyedService, |
private: |
void OnAppsReordered(); |
- // content::NotificationObserver. |
+ // content::NotificationObserver implementation. |
virtual void Observe(int type, |
const content::NotificationSource& source, |
const content::NotificationDetails& details) OVERRIDE; |
@@ -65,12 +65,16 @@ class InstallTracker : public KeyedService, |
content::BrowserContext* browser_context, |
const Extension* extension, |
UnloadedExtensionInfo::Reason reason) OVERRIDE; |
+ virtual void OnExtensionWillBeInstalled( |
+ content::BrowserContext* browser_context, |
+ const Extension* extension, |
+ bool is_update, |
+ const std::string& old_name) OVERRIDE; |
ObserverList<InstallObserver> observers_; |
content::NotificationRegistrar registrar_; |
PrefChangeRegistrar pref_change_registrar_; |
- // Listen to extension load, unloaded notifications. |
ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver> |
extension_registry_observer_; |