Index: chrome/browser/extensions/location_bar_controller.h |
diff --git a/chrome/browser/extensions/location_bar_controller.h b/chrome/browser/extensions/location_bar_controller.h |
index 36c9dd4872338fefe2f1439a37bd0c1443b8fa49..afed4107697b00c11db4dc852ddaa5c261243741 100644 |
--- a/chrome/browser/extensions/location_bar_controller.h |
+++ b/chrome/browser/extensions/location_bar_controller.h |
@@ -48,8 +48,8 @@ class LocationBarController : public content::WebContentsObserver, |
// A notification that the given |extension| has been unloaded, and any |
// actions associated with it should be removed. |
- // The location bar controller will update itself after this if needed, so |
- // Providers should not call NotifyChange(). |
+ // The LocationBarController will handle notifying of page action changes, |
+ // if any. |
virtual void OnExtensionUnloaded(const Extension* extension) {} |
}; |
@@ -63,9 +63,6 @@ class LocationBarController : public content::WebContentsObserver, |
// action which should be taken in response (if any). |
ExtensionAction::ShowAction OnClicked(const ExtensionAction* action); |
- // Notifies the window that the actions have changed. |
- static void NotifyChange(content::WebContents* web_contents); |
- |
ActiveScriptController* active_script_controller() { |
return active_script_controller_.get(); |
} |