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

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

Issue 449643002: Componentize component_updater: Move over a bunch of files to the component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <algorithm> 7 #include <algorithm>
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 10 matching lines...) Expand all
21 #include "base/prefs/pref_registry_simple.h" 21 #include "base/prefs/pref_registry_simple.h"
22 #include "base/prefs/pref_service.h" 22 #include "base/prefs/pref_service.h"
23 #include "base/synchronization/waitable_event.h" 23 #include "base/synchronization/waitable_event.h"
24 #include "base/threading/thread.h" 24 #include "base/threading/thread.h"
25 #include "base/threading/thread_restrictions.h" 25 #include "base/threading/thread_restrictions.h"
26 #include "base/time/default_tick_clock.h" 26 #include "base/time/default_tick_clock.h"
27 #include "chrome/browser/background/background_mode_manager.h" 27 #include "chrome/browser/background/background_mode_manager.h"
28 #include "chrome/browser/chrome_browser_main.h" 28 #include "chrome/browser/chrome_browser_main.h"
29 #include "chrome/browser/chrome_content_browser_client.h" 29 #include "chrome/browser/chrome_content_browser_client.h"
30 #include "chrome/browser/chrome_notification_types.h" 30 #include "chrome/browser/chrome_notification_types.h"
31 #include "chrome/browser/component_updater/component_updater_configurator.h" 31 #include "chrome/browser/component_updater/chrome_component_updater_configurator .h"
32 #include "chrome/browser/component_updater/component_updater_service.h"
33 #include "chrome/browser/component_updater/pnacl/pnacl_component_installer.h" 32 #include "chrome/browser/component_updater/pnacl/pnacl_component_installer.h"
34 #include "chrome/browser/defaults.h" 33 #include "chrome/browser/defaults.h"
35 #include "chrome/browser/devtools/remote_debugging_server.h" 34 #include "chrome/browser/devtools/remote_debugging_server.h"
36 #include "chrome/browser/download/download_request_limiter.h" 35 #include "chrome/browser/download/download_request_limiter.h"
37 #include "chrome/browser/download/download_status_updater.h" 36 #include "chrome/browser/download/download_status_updater.h"
38 #include "chrome/browser/first_run/upgrade_util.h" 37 #include "chrome/browser/first_run/upgrade_util.h"
39 #include "chrome/browser/gpu/gl_string_manager.h" 38 #include "chrome/browser/gpu/gl_string_manager.h"
40 #include "chrome/browser/gpu/gpu_mode_manager.h" 39 #include "chrome/browser/gpu/gpu_mode_manager.h"
41 #include "chrome/browser/icon_manager.h" 40 #include "chrome/browser/icon_manager.h"
42 #include "chrome/browser/idle.h" 41 #include "chrome/browser/idle.h"
(...skipping 25 matching lines...) Expand all
68 #include "chrome/browser/web_resource/promo_resource_service.h" 67 #include "chrome/browser/web_resource/promo_resource_service.h"
69 #include "chrome/common/chrome_constants.h" 68 #include "chrome/common/chrome_constants.h"
70 #include "chrome/common/chrome_paths.h" 69 #include "chrome/common/chrome_paths.h"
71 #include "chrome/common/chrome_switches.h" 70 #include "chrome/common/chrome_switches.h"
72 #include "chrome/common/extensions/chrome_extensions_client.h" 71 #include "chrome/common/extensions/chrome_extensions_client.h"
73 #include "chrome/common/pref_names.h" 72 #include "chrome/common/pref_names.h"
74 #include "chrome/common/switch_utils.h" 73 #include "chrome/common/switch_utils.h"
75 #include "chrome/common/url_constants.h" 74 #include "chrome/common/url_constants.h"
76 #include "chrome/installer/util/google_update_constants.h" 75 #include "chrome/installer/util/google_update_constants.h"
77 #include "chrome/installer/util/google_update_settings.h" 76 #include "chrome/installer/util/google_update_settings.h"
77 #include "components/component_updater/component_updater_service.h"
78 #include "components/gcm_driver/gcm_driver.h" 78 #include "components/gcm_driver/gcm_driver.h"
79 #include "components/metrics/metrics_service.h" 79 #include "components/metrics/metrics_service.h"
80 #include "components/network_time/network_time_tracker.h" 80 #include "components/network_time/network_time_tracker.h"
81 #include "components/omaha_query_params/omaha_query_params.h" 81 #include "components/omaha_query_params/omaha_query_params.h"
82 #include "components/policy/core/common/policy_service.h" 82 #include "components/policy/core/common/policy_service.h"
83 #include "components/signin/core/common/profile_management_switches.h" 83 #include "components/signin/core/common/profile_management_switches.h"
84 #include "components/translate/core/browser/translate_download_manager.h" 84 #include "components/translate/core/browser/translate_download_manager.h"
85 #include "content/public/browser/browser_thread.h" 85 #include "content/public/browser/browser_thread.h"
86 #include "content/public/browser/child_process_security_policy.h" 86 #include "content/public/browser/child_process_security_policy.h"
87 #include "content/public/browser/notification_details.h" 87 #include "content/public/browser/notification_details.h"
(...skipping 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after
1205 } 1205 }
1206 1206
1207 void BrowserProcessImpl::OnAutoupdateTimer() { 1207 void BrowserProcessImpl::OnAutoupdateTimer() {
1208 if (CanAutorestartForUpdate()) { 1208 if (CanAutorestartForUpdate()) {
1209 DLOG(WARNING) << "Detected update. Restarting browser."; 1209 DLOG(WARNING) << "Detected update. Restarting browser.";
1210 RestartBackgroundInstance(); 1210 RestartBackgroundInstance();
1211 } 1211 }
1212 } 1212 }
1213 1213
1214 #endif // (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) 1214 #endif // (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
OLDNEW
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698