summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_about_handler.cc
diff options
context:
space:
mode:
authorvitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-08 23:44:57 +0000
committervitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-08 23:44:57 +0000
commit2f7992bac28d0cfc92c00d284dfcf95984170551 (patch)
treec89eb7b9ee0fa2a65223778cbdd42cc796f0e52f /chrome/browser/browser_about_handler.cc
parent8f85effedc610e44d394a73a1b2008bfcbd73a5d (diff)
downloadchromium_src-2f7992bac28d0cfc92c00d284dfcf95984170551.zip
chromium_src-2f7992bac28d0cfc92c00d284dfcf95984170551.tar.gz
chromium_src-2f7992bac28d0cfc92c00d284dfcf95984170551.tar.bz2
Enable Device Discovery by default on Linux, ChromeOS and Windows.
Replace --enable-device-discovery flags with --disable-device-discovery. BUG=286157 Review URL: https://chromiumcodereview.appspot.com/23567023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221960 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_about_handler.cc')
-rw-r--r--chrome/browser/browser_about_handler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc
index 7898d3e..ea77e1e 100644
--- a/chrome/browser/browser_about_handler.cc
+++ b/chrome/browser/browser_about_handler.cc
@@ -76,8 +76,8 @@ bool WillHandleBrowserAboutURL(GURL* url,
base::Bind(&chrome::AttemptRestart));
} else if (host == chrome::kChromeUIDevicesHost) {
#if defined(ENABLE_MDNS)
- if (CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableDeviceDiscovery)) {
+ if (!CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableDeviceDiscovery)) {
host = chrome::kChromeUIUberHost;
path = chrome::kChromeUIDevicesHost + url->path();
}