diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-17 03:31:50 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-17 03:31:50 +0000 |
commit | ccea03c373e1efb8bd3d72212be656300e38ff1f (patch) | |
tree | a744a151a87b464fc466c487256e6411755e425a /chrome/browser/download | |
parent | a5c9e03360604459cebcaaab6401c19ae245c8a3 (diff) | |
download | chromium_src-ccea03c373e1efb8bd3d72212be656300e38ff1f.zip chromium_src-ccea03c373e1efb8bd3d72212be656300e38ff1f.tar.gz chromium_src-ccea03c373e1efb8bd3d72212be656300e38ff1f.tar.bz2 |
Cleanup: Remove unneeded includes of notification_service.h.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/5875005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69507 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download')
-rw-r--r-- | chrome/browser/download/download_manager.cc | 4 | ||||
-rw-r--r-- | chrome/browser/download/download_request_limiter.cc | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/download/download_manager.cc b/chrome/browser/download/download_manager.cc index 6d4bdd3..d61d848 100644 --- a/chrome/browser/download/download_manager.cc +++ b/chrome/browser/download/download_manager.cc @@ -40,7 +40,6 @@ #include "chrome/browser/tab_contents/tab_util.h" #include "chrome/browser/ui/browser.h" #include "chrome/common/chrome_paths.h" -#include "chrome/common/notification_service.h" #include "chrome/common/notification_type.h" #include "chrome/common/pref_names.h" #include "googleurl/src/gurl.h" @@ -179,7 +178,6 @@ void DownloadManager::GetCurrentDownloads( if (original_profile != profile_) original_profile->GetDownloadManager()->GetCurrentDownloads(dir_path, result); - } void DownloadManager::SearchDownloads(const string16& query, @@ -282,7 +280,7 @@ void DownloadManager::StartDownload(DownloadCreateInfo* info) { // Determine the proper path for a download, by either one of the following: // 1) using the default download directory. // 2) prompting the user. - if (info->prompt_user_for_save_location && !last_download_path_.empty()){ + if (info->prompt_user_for_save_location && !last_download_path_.empty()) { info->suggested_path = last_download_path_; } else { info->suggested_path = download_prefs_->download_path(); diff --git a/chrome/browser/download/download_request_limiter.cc b/chrome/browser/download/download_request_limiter.cc index 89d7697..fae07c9 100644 --- a/chrome/browser/download/download_request_limiter.cc +++ b/chrome/browser/download/download_request_limiter.cc @@ -12,7 +12,7 @@ #include "chrome/browser/tab_contents/tab_contents_delegate.h" #include "chrome/browser/tab_contents/tab_util.h" #include "chrome/browser/tab_contents/tab_contents.h" -#include "chrome/common/notification_service.h" +#include "chrome/common/notification_source.h" // TabDownloadState ------------------------------------------------------------ |