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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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) 2011 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 "base/callback.h" 7 #include "base/callback.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/i18n/case_conversion.h" 9 #include "base/i18n/case_conversion.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 24 matching lines...) Expand all
35 #include "chrome/browser/ui/browser.h" 35 #include "chrome/browser/ui/browser.h"
36 #include "chrome/browser/ui/browser_list.h" 36 #include "chrome/browser/ui/browser_list.h"
37 #include "chrome/browser/ui/download/download_tab_helper.h" 37 #include "chrome/browser/ui/download/download_tab_helper.h"
38 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 38 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
39 #include "chrome/common/chrome_paths.h" 39 #include "chrome/common/chrome_paths.h"
40 #include "content/browser/browser_thread.h" 40 #include "content/browser/browser_thread.h"
41 #include "content/browser/renderer_host/render_process_host.h" 41 #include "content/browser/renderer_host/render_process_host.h"
42 #include "content/browser/renderer_host/render_view_host.h" 42 #include "content/browser/renderer_host/render_view_host.h"
43 #include "content/browser/renderer_host/resource_dispatcher_host.h" 43 #include "content/browser/renderer_host/resource_dispatcher_host.h"
44 #include "content/browser/tab_contents/tab_contents.h" 44 #include "content/browser/tab_contents/tab_contents.h"
45 #include "content/common/notification_type.h" 45 #include "content/common/content_notification_types.h"
46 #include "googleurl/src/gurl.h" 46 #include "googleurl/src/gurl.h"
47 #include "grit/generated_resources.h" 47 #include "grit/generated_resources.h"
48 #include "grit/theme_resources.h" 48 #include "grit/theme_resources.h"
49 #include "net/base/mime_util.h" 49 #include "net/base/mime_util.h"
50 #include "net/base/net_util.h" 50 #include "net/base/net_util.h"
51 #include "ui/base/l10n/l10n_util.h" 51 #include "ui/base/l10n/l10n_util.h"
52 #include "ui/base/resource/resource_bundle.h" 52 #include "ui/base/resource/resource_bundle.h"
53 53
54 DownloadManager::DownloadManager(DownloadStatusUpdater* status_updater) 54 DownloadManager::DownloadManager(DownloadStatusUpdater* status_updater)
55 : shutdown_needed_(false), 55 : shutdown_needed_(false),
(...skipping 1296 matching lines...) Expand 10 before | Expand all | Expand 10 after
1352 observed_download_manager_->RemoveObserver(this); 1352 observed_download_manager_->RemoveObserver(this);
1353 } 1353 }
1354 1354
1355 void DownloadManager::OtherDownloadManagerObserver::ModelChanged() { 1355 void DownloadManager::OtherDownloadManagerObserver::ModelChanged() {
1356 observing_download_manager_->NotifyModelChanged(); 1356 observing_download_manager_->NotifyModelChanged();
1357 } 1357 }
1358 1358
1359 void DownloadManager::OtherDownloadManagerObserver::ManagerGoingDown() { 1359 void DownloadManager::OtherDownloadManagerObserver::ManagerGoingDown() {
1360 observed_download_manager_ = NULL; 1360 observed_download_manager_ = NULL;
1361 } 1361 }
OLDNEW
« no previous file with comments | « chrome/browser/download/download_item.cc ('k') | chrome/browser/download/download_request_limiter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698