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

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

Issue 1365963004: Don't compile download notification code on !CrOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: images and strings Created 5 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
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 64ad9a77ca4b344f016f03b7639ad723ab3e158f..41e75a893d584ca2ef3c5ef0598565a3333d8159 100644
--- a/chrome/browser/download/notification/download_notification_manager.cc
+++ b/chrome/browser/download/notification/download_notification_manager.cc
@@ -24,12 +24,7 @@
///////////////////////////////////////////////////////////////////////////////
bool DownloadNotificationManager::IsEnabled() {
-#if defined(OS_CHROMEOS)
bool enable_download_notification = true;
-#else
- bool enable_download_notification = false;
-#endif
-
std::string arg = base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
switches::kEnableDownloadNotification);
if (!arg.empty()) {

Powered by Google App Engine
This is Rietveld 408576698