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

Unified Diff: chrome/test/media_router/media_router_base_browsertest.cc

Issue 1415333002: [Media Router] Add experiment control logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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
« no previous file with comments | « chrome/test/media_router/media_router_base_browsertest.h ('k') | extensions/common/feature_switch.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/media_router/media_router_base_browsertest.cc
diff --git a/chrome/test/media_router/media_router_base_browsertest.cc b/chrome/test/media_router/media_router_base_browsertest.cc
index b89970a6c37648e3498c00d103b7645597e49bb8..03ba3d1c4ac8d56e090bad24c09c904736fcd6da 100644
--- a/chrome/test/media_router/media_router_base_browsertest.cc
+++ b/chrome/test/media_router/media_router_base_browsertest.cc
@@ -28,9 +28,9 @@ const char kExtensionUnpacked[] = "extension-unpacked";
namespace media_router {
MediaRouterBaseBrowserTest::MediaRouterBaseBrowserTest()
- : extension_load_event_(false, false), extension_host_created_(false) {
- base::CommandLine::ForCurrentProcess()->AppendSwitch(
- switches::kEnableMediaRouter);
+ : extension_load_event_(false, false),
+ extension_host_created_(false),
+ feature_override_(extensions::FeatureSwitch::media_router(), true) {
base::CommandLine::ForCurrentProcess()->AppendSwitchASCII(
switches::kEnableExperimentalWebPlatformFeatures, "Presentation");
}
« no previous file with comments | « chrome/test/media_router/media_router_base_browsertest.h ('k') | extensions/common/feature_switch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698