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

Unified Diff: chrome/browser/download/notification/download_notification_manager.cc

Issue 1303193002: [Download Notification] Disable download notification by default on ChromeOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/notification/download_notification_manager.cc
diff --git a/chrome/browser/download/notification/download_notification_manager.cc b/chrome/browser/download/notification/download_notification_manager.cc
index c948568c53d5e3a1b6922d55bf32ead7ea01c87f..04a30a3d4d9b530c165862bbc19b14bf925713d0 100644
--- a/chrome/browser/download/notification/download_notification_manager.cc
+++ b/chrome/browser/download/notification/download_notification_manager.cc
@@ -25,11 +25,8 @@
///////////////////////////////////////////////////////////////////////////////
bool DownloadNotificationManager::IsEnabled() {
-#if defined(OS_CHROMEOS)
- bool enable_download_notification = true;
-#else
+ // Disabled by default.
bool enable_download_notification = false;
-#endif
std::string arg = base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
switches::kEnableDownloadNotification);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698