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

Unified Diff: chrome/browser/browser_about_handler.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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/local_discovery/privet_notifications_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_about_handler.cc
diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc
index 7898d3ea6c2bcc195e322a089eb51bf4e2730555..ea77e1e8bafd84709213874dc5f45847d3fab7ec 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();
}
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/local_discovery/privet_notifications_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698