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

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

Issue 1704793002: Remove kDisableDownloadNotification and stop compiling shelf code on (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 10 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 da005bd10678df61d92929b75fa5d7951745cda8..3766f660a8ddfdf05667ab5631bcd1ce0fb06dcb 100644
--- a/chrome/browser/download/notification/download_notification_manager.cc
+++ b/chrome/browser/download/notification/download_notification_manager.cc
@@ -23,11 +23,6 @@
// DownloadNotificationManager implementation:
///////////////////////////////////////////////////////////////////////////////
-bool DownloadNotificationManager::IsEnabled() {
- return !base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableDownloadNotification);
-}
-
DownloadNotificationManager::DownloadNotificationManager(Profile* profile)
: main_profile_(profile),
items_deleter_(&manager_for_profile_) {

Powered by Google App Engine
This is Rietveld 408576698