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

Unified Diff: chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc

Issue 23567023: Enable Device Discovery by default on Linux, ChromeOS and Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/webui/chrome_web_ui_controller_factory.cc
diff --git a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
index 91eb0c95231bcf0e987569b6bb27bcdbcdcfde8d..6d2018ea4aed1f5939228bf2fff827744ea75aa2 100644
--- a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
+++ b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
@@ -232,8 +232,8 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* web_ui,
return &NewWebUI<CrashesUI>;
#if defined(ENABLE_MDNS)
if (url.host() == chrome::kChromeUIDevicesFrameHost &&
- CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableDeviceDiscovery)) {
+ !CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableDeviceDiscovery)) {
return &NewWebUI<LocalDiscoveryUI>;
}
#endif

Powered by Google App Engine
This is Rietveld 408576698