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

Unified Diff: chrome/browser/ui/toolbar/toolbar_actions_model_unittest.cc

Issue 2332853002: [Media Router] Enable MR by default now that it is at 100% in stable. (Closed)
Patch Set: Created 4 years, 3 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/toolbar_actions_model_unittest.cc
diff --git a/chrome/browser/ui/toolbar/toolbar_actions_model_unittest.cc b/chrome/browser/ui/toolbar/toolbar_actions_model_unittest.cc
index a4bbd98b39ed1fe0cd82031bee7b6399578d1b0e..e273fb1bfd3d682cc0d38154c60a9496ba67f9d6 100644
--- a/chrome/browser/ui/toolbar/toolbar_actions_model_unittest.cc
+++ b/chrome/browser/ui/toolbar/toolbar_actions_model_unittest.cc
@@ -902,6 +902,8 @@ TEST_F(ToolbarActionsModelUnitTest, ActionsToolbarSizeAfterPrefChange) {
// Test that, in the absence of the extension-action-redesign switch, the
// model only contains extensions with browser actions and component actions.
TEST_F(ToolbarActionsModelUnitTest, TestToolbarExtensionTypesDisabledSwitch) {
+ extensions::FeatureSwitch::ScopedOverride enable_media_router(
+ extensions::FeatureSwitch::media_router(), false);
extensions::FeatureSwitch::ScopedOverride enable_redesign(
extensions::FeatureSwitch::extension_action_redesign(), false);
Init();
@@ -970,6 +972,8 @@ TEST_F(ToolbarActionsModelUnitTest, TestToolbarExtensionTypesEnabledSwitch) {
// Test that hiding actions on the toolbar results in their removal from the
// model when the redesign switch is not enabled.
TEST_F(ToolbarActionsModelUnitTest, ActionsToolbarActionsVisibilityNoSwitch) {
+ extensions::FeatureSwitch::ScopedOverride enable_media_router(
+ extensions::FeatureSwitch::media_router(), false);
extensions::FeatureSwitch::ScopedOverride enable_redesign(
extensions::FeatureSwitch::extension_action_redesign(), false);
Init();
« no previous file with comments | « chrome/browser/extensions/extension_context_menu_model_unittest.cc ('k') | extensions/common/feature_switch.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698