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

Unified Diff: chrome/browser/ui/toolbar/component_toolbar_actions_factory.h

Issue 2678083005: Remove extension-to-component migration mechanism (Closed)
Patch Set: Address Derek's comments Created 3 years, 10 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/ui/toolbar/component_toolbar_actions_factory.h
diff --git a/chrome/browser/ui/toolbar/component_toolbar_actions_factory.h b/chrome/browser/ui/toolbar/component_toolbar_actions_factory.h
index 3f00ca9c1d0f53b37bf12b5b59da8bfb5deabfdb..7768b7db6eff8c9730aeab98e1df927f0264d65a 100644
--- a/chrome/browser/ui/toolbar/component_toolbar_actions_factory.h
+++ b/chrome/browser/ui/toolbar/component_toolbar_actions_factory.h
@@ -16,10 +16,6 @@ class Browser;
class Profile;
class ToolbarActionViewController;
-namespace extensions {
-class ComponentMigrationHelper;
-} // extensions
-
// The registry for all component toolbar actions. Component toolbar actions
// are actions that live in the toolbar (like extension actions), but are
// components of chrome, such as ChromeCast.
@@ -43,15 +39,6 @@ class ComponentToolbarActionsFactory {
Browser* browser,
ToolbarActionsBar* bar);
- // Registers component actions that are migrating from extensions.
- virtual void RegisterComponentMigrations(
- extensions::ComponentMigrationHelper* helper) const;
-
- // Synchronizes component action visibility and extension install status.
- virtual void HandleComponentMigrations(
- extensions::ComponentMigrationHelper* helper,
- Profile* profile) const;
-
// Sets the factory to use for testing purposes.
// Ownership remains with the caller.
static void SetTestingFactory(ComponentToolbarActionsFactory* factory);
« no previous file with comments | « chrome/browser/ui/toolbar/component_action_delegate.h ('k') | chrome/browser/ui/toolbar/component_toolbar_actions_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698