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

Side by Side Diff: chrome/browser/download/download_manager.cc

Issue 6122006: Cleanup: Remove unneeded includes of pref_names.h (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/download/download_manager.h" 5 #include "chrome/browser/download/download_manager.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/resource_bundle.h" 8 #include "app/resource_bundle.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 23 matching lines...) Expand all
34 #include "chrome/browser/profiles/profile.h" 34 #include "chrome/browser/profiles/profile.h"
35 #include "chrome/browser/renderer_host/render_process_host.h" 35 #include "chrome/browser/renderer_host/render_process_host.h"
36 #include "chrome/browser/renderer_host/render_view_host.h" 36 #include "chrome/browser/renderer_host/render_view_host.h"
37 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" 37 #include "chrome/browser/renderer_host/resource_dispatcher_host.h"
38 #include "chrome/browser/tab_contents/infobar_delegate.h" 38 #include "chrome/browser/tab_contents/infobar_delegate.h"
39 #include "chrome/browser/tab_contents/tab_contents.h" 39 #include "chrome/browser/tab_contents/tab_contents.h"
40 #include "chrome/browser/tab_contents/tab_util.h" 40 #include "chrome/browser/tab_contents/tab_util.h"
41 #include "chrome/browser/ui/browser.h" 41 #include "chrome/browser/ui/browser.h"
42 #include "chrome/common/chrome_paths.h" 42 #include "chrome/common/chrome_paths.h"
43 #include "chrome/common/notification_type.h" 43 #include "chrome/common/notification_type.h"
44 #include "chrome/common/pref_names.h"
45 #include "googleurl/src/gurl.h" 44 #include "googleurl/src/gurl.h"
46 #include "grit/generated_resources.h" 45 #include "grit/generated_resources.h"
47 #include "grit/theme_resources.h" 46 #include "grit/theme_resources.h"
48 #include "net/base/mime_util.h" 47 #include "net/base/mime_util.h"
49 #include "net/base/net_util.h" 48 #include "net/base/net_util.h"
50 49
51 DownloadManager::DownloadManager(DownloadStatusUpdater* status_updater) 50 DownloadManager::DownloadManager(DownloadStatusUpdater* status_updater)
52 : shutdown_needed_(false), 51 : shutdown_needed_(false),
53 profile_(NULL), 52 profile_(NULL),
54 file_manager_(NULL), 53 file_manager_(NULL),
(...skipping 1047 matching lines...) Expand 10 before | Expand all | Expand 10 after
1102 observed_download_manager_->RemoveObserver(this); 1101 observed_download_manager_->RemoveObserver(this);
1103 } 1102 }
1104 1103
1105 void DownloadManager::OtherDownloadManagerObserver::ModelChanged() { 1104 void DownloadManager::OtherDownloadManagerObserver::ModelChanged() {
1106 observing_download_manager_->NotifyModelChanged(); 1105 observing_download_manager_->NotifyModelChanged();
1107 } 1106 }
1108 1107
1109 void DownloadManager::OtherDownloadManagerObserver::ManagerGoingDown() { 1108 void DownloadManager::OtherDownloadManagerObserver::ManagerGoingDown() {
1110 observed_download_manager_ = NULL; 1109 observed_download_manager_ = NULL;
1111 } 1110 }
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/new_tab_page_sync_handler.cc ('k') | chrome/browser/extensions/extension_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698