Chromium Code Reviews

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

Issue 3340007: Revert "FBTF: Move the TabRestoreService::Observer into its own file." (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/path_service.h" 12 #include "base/path_service.h"
13 #include "base/rand_util.h" 13 #include "base/rand_util.h"
14 #include "base/stl_util-inl.h"
15 #include "base/sys_string_conversions.h" 14 #include "base/sys_string_conversions.h"
16 #include "base/task.h" 15 #include "base/task.h"
17 #include "base/utf_string_conversions.h" 16 #include "base/utf_string_conversions.h"
18 #include "build/build_config.h" 17 #include "build/build_config.h"
19 #include "chrome/browser/browser.h" 18 #include "chrome/browser/browser.h"
20 #include "chrome/browser/browser_list.h" 19 #include "chrome/browser/browser_list.h"
21 #include "chrome/browser/browser_process.h" 20 #include "chrome/browser/browser_process.h"
22 #include "chrome/browser/chrome_thread.h" 21 #include "chrome/browser/chrome_thread.h"
23 #include "chrome/browser/download/download_file_manager.h" 22 #include "chrome/browser/download/download_file_manager.h"
24 #include "chrome/browser/download/download_history.h" 23 #include "chrome/browser/download/download_history.h"
(...skipping 1033 matching lines...)
1058 observed_download_manager_->RemoveObserver(this); 1057 observed_download_manager_->RemoveObserver(this);
1059 } 1058 }
1060 1059
1061 void DownloadManager::OtherDownloadManagerObserver::ModelChanged() { 1060 void DownloadManager::OtherDownloadManagerObserver::ModelChanged() {
1062 observing_download_manager_->NotifyModelChanged(); 1061 observing_download_manager_->NotifyModelChanged();
1063 } 1062 }
1064 1063
1065 void DownloadManager::OtherDownloadManagerObserver::ManagerGoingDown() { 1064 void DownloadManager::OtherDownloadManagerObserver::ManagerGoingDown() {
1066 observed_download_manager_ = NULL; 1065 observed_download_manager_ = NULL;
1067 } 1066 }
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/new_tab_ui.cc ('k') | chrome/browser/extensions/execute_code_in_tab_function.cc » ('j') | no next file with comments »

Powered by Google App Engine