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

Unified Diff: chrome/browser/local_discovery/privet_notifications.cc

Issue 460183002: Removed --disable-device-discovery switch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mon 08/11/2014 18:23:33.89 Created 6 years, 4 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/ui/webui/chrome_web_ui_controller_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/local_discovery/privet_notifications.cc
diff --git a/chrome/browser/local_discovery/privet_notifications.cc b/chrome/browser/local_discovery/privet_notifications.cc
index 5a009cc0b0a6fcbe48f0cad1a875c52c23377225..705ccde1942c4cb3944ddad724daeb8bdd08f553 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698