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

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

Issue 6249010: Cleanup: de-inline a bunch of classes, rename and move "PluginInstaller" to "... (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) 2011 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 "base/callback.h" 8 #include "base/callback.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/path_service.h" 11 #include "base/path_service.h"
(...skipping 15 matching lines...) Expand all
27 #include "chrome/browser/download/download_status_updater.h" 27 #include "chrome/browser/download/download_status_updater.h"
28 #include "chrome/browser/download/download_util.h" 28 #include "chrome/browser/download/download_util.h"
29 #include "chrome/browser/extensions/extension_service.h" 29 #include "chrome/browser/extensions/extension_service.h"
30 #include "chrome/browser/history/download_create_info.h" 30 #include "chrome/browser/history/download_create_info.h"
31 #include "chrome/browser/net/chrome_url_request_context.h" 31 #include "chrome/browser/net/chrome_url_request_context.h"
32 #include "chrome/browser/platform_util.h" 32 #include "chrome/browser/platform_util.h"
33 #include "chrome/browser/profiles/profile.h" 33 #include "chrome/browser/profiles/profile.h"
34 #include "chrome/browser/renderer_host/render_process_host.h" 34 #include "chrome/browser/renderer_host/render_process_host.h"
35 #include "chrome/browser/renderer_host/render_view_host.h" 35 #include "chrome/browser/renderer_host/render_view_host.h"
36 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" 36 #include "chrome/browser/renderer_host/resource_dispatcher_host.h"
37 #include "chrome/browser/tab_contents/infobar_delegate.h"
38 #include "chrome/browser/tab_contents/tab_contents.h" 37 #include "chrome/browser/tab_contents/tab_contents.h"
39 #include "chrome/browser/tab_contents/tab_util.h" 38 #include "chrome/browser/tab_contents/tab_util.h"
40 #include "chrome/browser/ui/browser.h" 39 #include "chrome/browser/ui/browser.h"
41 #include "chrome/common/chrome_paths.h" 40 #include "chrome/common/chrome_paths.h"
42 #include "chrome/common/notification_type.h" 41 #include "chrome/common/notification_type.h"
43 #include "googleurl/src/gurl.h" 42 #include "googleurl/src/gurl.h"
44 #include "grit/generated_resources.h" 43 #include "grit/generated_resources.h"
45 #include "grit/theme_resources.h" 44 #include "grit/theme_resources.h"
46 #include "net/base/mime_util.h" 45 #include "net/base/mime_util.h"
47 #include "net/base/net_util.h" 46 #include "net/base/net_util.h"
(...skipping 1062 matching lines...) Expand 10 before | Expand all | Expand 10 after
1110 observed_download_manager_->RemoveObserver(this); 1109 observed_download_manager_->RemoveObserver(this);
1111 } 1110 }
1112 1111
1113 void DownloadManager::OtherDownloadManagerObserver::ModelChanged() { 1112 void DownloadManager::OtherDownloadManagerObserver::ModelChanged() {
1114 observing_download_manager_->NotifyModelChanged(); 1113 observing_download_manager_->NotifyModelChanged();
1115 } 1114 }
1116 1115
1117 void DownloadManager::OtherDownloadManagerObserver::ManagerGoingDown() { 1116 void DownloadManager::OtherDownloadManagerObserver::ManagerGoingDown() {
1118 observed_download_manager_ = NULL; 1117 observed_download_manager_ = NULL;
1119 } 1118 }
OLDNEW
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.cc ('k') | chrome/browser/download/download_request_infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698