summaryrefslogtreecommitdiffstats
path: root/chrome/browser/local_discovery
diff options
context:
space:
mode:
authorvitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-13 03:42:48 +0000
committervitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-13 03:44:15 +0000
commit2285f6bd009cacc79eff3e8b4966f0681fc5f9cc (patch)
tree92b69e9ff291b3bf0892e6e36b07126284f54f67 /chrome/browser/local_discovery
parent356eb73c0f2be7c30c79b12657684d116837cf72 (diff)
downloadchromium_src-2285f6bd009cacc79eff3e8b4966f0681fc5f9cc.zip
chromium_src-2285f6bd009cacc79eff3e8b4966f0681fc5f9cc.tar.gz
chromium_src-2285f6bd009cacc79eff3e8b4966f0681fc5f9cc.tar.bz2
Removed --disable-device-discovery switch.
BUG=350219 TBR=thestig Review URL: https://codereview.chromium.org/460183002 Cr-Commit-Position: refs/heads/master@{#289189} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289189 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/local_discovery')
-rw-r--r--chrome/browser/local_discovery/privet_notifications.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/local_discovery/privet_notifications.cc b/chrome/browser/local_discovery/privet_notifications.cc
index 5a009cc..705ccde 100644
--- a/chrome/browser/local_discovery/privet_notifications.cc
+++ b/chrome/browser/local_discovery/privet_notifications.cc
@@ -225,8 +225,8 @@ void PrivetNotificationService::DeviceCacheFlushed() {
// static
bool PrivetNotificationService::IsEnabled() {
CommandLine* command_line = CommandLine::ForCurrentProcess();
- return !command_line->HasSwitch(switches::kDisableDeviceDiscovery) &&
- !command_line->HasSwitch(switches::kDisableDeviceDiscoveryNotifications);
+ return !command_line->HasSwitch(
+ switches::kDisableDeviceDiscoveryNotifications);
}
// static