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

Unified Diff: chrome/browser/extensions/component_migration_helper_unittest.cc

Issue 2450633004: Make ToolbarActionsModel ignore calls to AddComponentAction() before initialization (Closed)
Patch Set: Created 4 years, 2 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_unittest.cc
diff --git a/chrome/browser/extensions/component_migration_helper_unittest.cc b/chrome/browser/extensions/component_migration_helper_unittest.cc
index 8168c7748b19fcf49eabf07957459a3ce742e6cf..6c2c214c28fe43cb725ace47008d3d7aeaab7304 100644
--- a/chrome/browser/extensions/component_migration_helper_unittest.cc
+++ b/chrome/browser/extensions/component_migration_helper_unittest.cc
@@ -33,6 +33,7 @@ class MockComponentActionDelegate
MOCK_METHOD1(AddComponentAction, void(const std::string&));
MOCK_METHOD1(RemoveComponentAction, void(const std::string&));
MOCK_CONST_METHOD1(HasComponentAction, bool(const std::string&));
+ MOCK_CONST_METHOD0(ActionsInitialized, bool());
};
class MockComponentMigrationHelper : public ComponentMigrationHelper {

Powered by Google App Engine
This is Rietveld 408576698