Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1055)

Unified Diff: chrome/browser/extensions/component_migration_helper.h

Issue 1612203002: [Media Router] Adds a contextual menu item to remove the MR component action. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/component_migration_helper.h
diff --git a/chrome/browser/extensions/component_migration_helper.h b/chrome/browser/extensions/component_migration_helper.h
index fd9a8e3232dae4aa8fad66f5fb944aaa0f35b6bc..4f4ce9eb9cd61ff5469dbc8c6241587c948914e9 100644
--- a/chrome/browser/extensions/component_migration_helper.h
+++ b/chrome/browser/extensions/component_migration_helper.h
@@ -100,6 +100,9 @@ class ComponentMigrationHelper : public ExtensionRegistryObserver {
// extension loading.
void OnFeatureDisabled(const std::string& component_action_id);
+ // Call when the user manually removes the component action from the toolbar.
+ void OnActionRemoved(const std::string& component_action_id);
+
// extensions::ExtensionRegistryObserver:
void OnExtensionReady(content::BrowserContext* browser_context,
const Extension* extension) override;

Powered by Google App Engine
This is Rietveld 408576698