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

Unified Diff: chrome/browser/ui/toolbar/mock_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/mock_component_toolbar_actions_factory.h
diff --git a/chrome/browser/ui/toolbar/mock_component_toolbar_actions_factory.h b/chrome/browser/ui/toolbar/mock_component_toolbar_actions_factory.h
index bc603373765673263388efc3def5dd936f4ce845..a366018a08f1f8415d056ee8db0167703d6b6c70 100644
--- a/chrome/browser/ui/toolbar/mock_component_toolbar_actions_factory.h
+++ b/chrome/browser/ui/toolbar/mock_component_toolbar_actions_factory.h
@@ -27,24 +27,7 @@ class MockComponentToolbarActionsFactory
Browser* browser,
ToolbarActionsBar* bar) override;
- void RegisterComponentMigrations(
- extensions::ComponentMigrationHelper* helper) const override;
-
- void HandleComponentMigrations(extensions::ComponentMigrationHelper* helper,
- Profile* profile) const override;
-
- void set_migrated_extension_id(const extensions::ExtensionId& extension_id) {
- migrated_extension_id_ = extension_id;
- }
-
- void set_migrated_feature_enabled(bool enabled) {
- migrated_feature_enabled_ = enabled;
- }
-
private:
- extensions::ExtensionId migrated_extension_id_;
- bool migrated_feature_enabled_;
-
DISALLOW_COPY_AND_ASSIGN(MockComponentToolbarActionsFactory);
};

Powered by Google App Engine
This is Rietveld 408576698