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

Side by Side Diff: chrome/browser/browser_process_impl.cc

Issue 7618048: Move the core download files to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/browser_process_impl.h" 5 #include "chrome/browser/browser_process_impl.h"
6 6
7 #include <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/file_util.h" 12 #include "base/file_util.h"
13 #include "base/path_service.h" 13 #include "base/path_service.h"
14 #include "base/synchronization/waitable_event.h" 14 #include "base/synchronization/waitable_event.h"
15 #include "base/task.h" 15 #include "base/task.h"
16 #include "base/threading/thread.h" 16 #include "base/threading/thread.h"
17 #include "base/threading/thread_restrictions.h" 17 #include "base/threading/thread_restrictions.h"
18 #include "chrome/browser/automation/automation_provider_list.h" 18 #include "chrome/browser/automation/automation_provider_list.h"
19 #include "chrome/browser/background/background_mode_manager.h" 19 #include "chrome/browser/background/background_mode_manager.h"
20 #include "chrome/browser/browser_main.h" 20 #include "chrome/browser/browser_main.h"
21 #include "chrome/browser/browser_process_sub_thread.h" 21 #include "chrome/browser/browser_process_sub_thread.h"
22 #include "chrome/browser/browser_trial.h" 22 #include "chrome/browser/browser_trial.h"
23 #include "chrome/browser/component_updater/component_updater_configurator.h" 23 #include "chrome/browser/component_updater/component_updater_configurator.h"
24 #include "chrome/browser/component_updater/component_updater_service.h" 24 #include "chrome/browser/component_updater/component_updater_service.h"
25 #include "chrome/browser/debugger/devtools_protocol_handler.h" 25 #include "chrome/browser/debugger/devtools_protocol_handler.h"
26 #include "chrome/browser/debugger/remote_debugging_server.h" 26 #include "chrome/browser/debugger/remote_debugging_server.h"
27 #include "chrome/browser/download/download_file_manager.h"
28 #include "chrome/browser/extensions/extension_event_router_forwarder.h" 27 #include "chrome/browser/extensions/extension_event_router_forwarder.h"
29 #include "chrome/browser/extensions/extension_tab_id_map.h" 28 #include "chrome/browser/extensions/extension_tab_id_map.h"
30 #include "chrome/browser/extensions/user_script_listener.h" 29 #include "chrome/browser/extensions/user_script_listener.h"
31 #include "chrome/browser/first_run/upgrade_util.h" 30 #include "chrome/browser/first_run/upgrade_util.h"
32 #include "chrome/browser/google/google_url_tracker.h" 31 #include "chrome/browser/google/google_url_tracker.h"
33 #include "chrome/browser/icon_manager.h" 32 #include "chrome/browser/icon_manager.h"
34 #include "chrome/browser/intranet_redirect_detector.h" 33 #include "chrome/browser/intranet_redirect_detector.h"
35 #include "chrome/browser/io_thread.h" 34 #include "chrome/browser/io_thread.h"
36 #include "chrome/browser/metrics/metrics_service.h" 35 #include "chrome/browser/metrics/metrics_service.h"
37 #include "chrome/browser/metrics/thread_watcher.h" 36 #include "chrome/browser/metrics/thread_watcher.h"
(...skipping 27 matching lines...) Expand all
65 #include "chrome/common/extensions/extension_resource.h" 64 #include "chrome/common/extensions/extension_resource.h"
66 #include "chrome/common/json_pref_store.h" 65 #include "chrome/common/json_pref_store.h"
67 #include "chrome/common/pref_names.h" 66 #include "chrome/common/pref_names.h"
68 #include "chrome/common/switch_utils.h" 67 #include "chrome/common/switch_utils.h"
69 #include "chrome/common/url_constants.h" 68 #include "chrome/common/url_constants.h"
70 #include "chrome/installer/util/google_update_constants.h" 69 #include "chrome/installer/util/google_update_constants.h"
71 #include "content/browser/browser_child_process_host.h" 70 #include "content/browser/browser_child_process_host.h"
72 #include "content/browser/browser_thread.h" 71 #include "content/browser/browser_thread.h"
73 #include "content/browser/child_process_security_policy.h" 72 #include "content/browser/child_process_security_policy.h"
74 #include "content/browser/debugger/devtools_manager.h" 73 #include "content/browser/debugger/devtools_manager.h"
74 #include "content/browser/download/download_file_manager.h"
75 #include "content/browser/download/mhtml_generation_manager.h" 75 #include "content/browser/download/mhtml_generation_manager.h"
76 #include "content/browser/download/save_file_manager.h" 76 #include "content/browser/download/save_file_manager.h"
77 #include "content/browser/gpu/gpu_process_host_ui_shim.h" 77 #include "content/browser/gpu/gpu_process_host_ui_shim.h"
78 #include "content/browser/net/browser_online_state_observer.h" 78 #include "content/browser/net/browser_online_state_observer.h"
79 #include "content/browser/plugin_service.h" 79 #include "content/browser/plugin_service.h"
80 #include "content/browser/renderer_host/render_process_host.h" 80 #include "content/browser/renderer_host/render_process_host.h"
81 #include "content/browser/renderer_host/resource_dispatcher_host.h" 81 #include "content/browser/renderer_host/resource_dispatcher_host.h"
82 #include "content/common/notification_service.h" 82 #include "content/common/notification_service.h"
83 #include "content/common/url_fetcher.h" 83 #include "content/common/url_fetcher.h"
84 #include "ipc/ipc_logging.h" 84 #include "ipc/ipc_logging.h"
(...skipping 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after
1118 } 1118 }
1119 1119
1120 void BrowserProcessImpl::OnAutoupdateTimer() { 1120 void BrowserProcessImpl::OnAutoupdateTimer() {
1121 if (CanAutorestartForUpdate()) { 1121 if (CanAutorestartForUpdate()) {
1122 DLOG(WARNING) << "Detected update. Restarting browser."; 1122 DLOG(WARNING) << "Detected update. Restarting browser.";
1123 RestartPersistentInstance(); 1123 RestartPersistentInstance();
1124 } 1124 }
1125 } 1125 }
1126 1126
1127 #endif // (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) 1127 #endif // (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698