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

Unified Diff: chrome/browser/chrome_content_browser_client.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 | « no previous file | chrome/browser/extensions/chrome_mojo_service_registration.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 4a1cbf7571c26399ef0a19a294100ac43b3cc9bb..27a4cb3552f9a9246d936c4840788a1cf512aea4 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -269,6 +269,7 @@
#endif
#if defined(ENABLE_MEDIA_ROUTER)
+#include "chrome/browser/media/router/media_router_feature.h"
#include "chrome/browser/media/router/presentation_service_delegate_impl.h"
#endif
@@ -2620,7 +2621,7 @@ content::PresentationServiceDelegate*
ChromeContentBrowserClient::GetPresentationServiceDelegate(
content::WebContents* web_contents) {
#if defined(ENABLE_MEDIA_ROUTER)
- if (switches::MediaRouterEnabled() &&
+ if (media_router::MediaRouterEnabled() &&
!web_contents->GetBrowserContext()->IsOffTheRecord()) {
return media_router::PresentationServiceDelegateImpl::
GetOrCreateForWebContents(web_contents);
« no previous file with comments | « no previous file | chrome/browser/extensions/chrome_mojo_service_registration.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698