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

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

Issue 5874002: Create a ResourceMessageFilter to filter resource related IPCs. This gets ri... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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 16 matching lines...) Expand all
27 #include "chrome/browser/download/download_prefs.h" 27 #include "chrome/browser/download/download_prefs.h"
28 #include "chrome/browser/download/download_status_updater.h" 28 #include "chrome/browser/download/download_status_updater.h"
29 #include "chrome/browser/download/download_util.h" 29 #include "chrome/browser/download/download_util.h"
30 #include "chrome/browser/extensions/extension_service.h" 30 #include "chrome/browser/extensions/extension_service.h"
31 #include "chrome/browser/history/download_create_info.h" 31 #include "chrome/browser/history/download_create_info.h"
32 #include "chrome/browser/net/chrome_url_request_context.h" 32 #include "chrome/browser/net/chrome_url_request_context.h"
33 #include "chrome/browser/platform_util.h" 33 #include "chrome/browser/platform_util.h"
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/tab_contents/infobar_delegate.h" 38 #include "chrome/browser/tab_contents/infobar_delegate.h"
38 #include "chrome/browser/tab_contents/tab_contents.h" 39 #include "chrome/browser/tab_contents/tab_contents.h"
39 #include "chrome/browser/tab_contents/tab_util.h" 40 #include "chrome/browser/tab_contents/tab_util.h"
40 #include "chrome/browser/ui/browser.h" 41 #include "chrome/browser/ui/browser.h"
41 #include "chrome/common/chrome_paths.h" 42 #include "chrome/common/chrome_paths.h"
42 #include "chrome/common/notification_service.h" 43 #include "chrome/common/notification_service.h"
43 #include "chrome/common/notification_type.h" 44 #include "chrome/common/notification_type.h"
44 #include "chrome/common/pref_names.h" 45 #include "chrome/common/pref_names.h"
45 #include "googleurl/src/gurl.h" 46 #include "googleurl/src/gurl.h"
46 #include "grit/generated_resources.h" 47 #include "grit/generated_resources.h"
(...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 observed_download_manager_->RemoveObserver(this); 1034 observed_download_manager_->RemoveObserver(this);
1034 } 1035 }
1035 1036
1036 void DownloadManager::OtherDownloadManagerObserver::ModelChanged() { 1037 void DownloadManager::OtherDownloadManagerObserver::ModelChanged() {
1037 observing_download_manager_->NotifyModelChanged(); 1038 observing_download_manager_->NotifyModelChanged();
1038 } 1039 }
1039 1040
1040 void DownloadManager::OtherDownloadManagerObserver::ManagerGoingDown() { 1041 void DownloadManager::OtherDownloadManagerObserver::ManagerGoingDown() {
1041 observed_download_manager_ = NULL; 1042 observed_download_manager_ = NULL;
1042 } 1043 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698