| OLD | NEW |
| 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 <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 #include "chrome/common/chrome_constants.h" | 78 #include "chrome/common/chrome_constants.h" |
| 79 #include "chrome/common/chrome_paths.h" | 79 #include "chrome/common/chrome_paths.h" |
| 80 #include "chrome/common/chrome_switches.h" | 80 #include "chrome/common/chrome_switches.h" |
| 81 #include "chrome/common/crash_keys.h" | 81 #include "chrome/common/crash_keys.h" |
| 82 #include "chrome/common/extensions/chrome_extensions_client.h" | 82 #include "chrome/common/extensions/chrome_extensions_client.h" |
| 83 #include "chrome/common/extensions/extension_process_policy.h" | 83 #include "chrome/common/extensions/extension_process_policy.h" |
| 84 #include "chrome/common/features.h" | 84 #include "chrome/common/features.h" |
| 85 #include "chrome/common/pref_names.h" | 85 #include "chrome/common/pref_names.h" |
| 86 #include "chrome/common/switch_utils.h" | 86 #include "chrome/common/switch_utils.h" |
| 87 #include "chrome/common/url_constants.h" | 87 #include "chrome/common/url_constants.h" |
| 88 #include "chrome/installer/util/google_update_constants.h" | |
| 89 #include "chrome/installer/util/google_update_settings.h" | 88 #include "chrome/installer/util/google_update_settings.h" |
| 90 #include "components/component_updater/component_updater_service.h" | 89 #include "components/component_updater/component_updater_service.h" |
| 91 #include "components/gcm_driver/gcm_driver.h" | 90 #include "components/gcm_driver/gcm_driver.h" |
| 92 #include "components/metrics/metrics_pref_names.h" | 91 #include "components/metrics/metrics_pref_names.h" |
| 93 #include "components/metrics/metrics_service.h" | 92 #include "components/metrics/metrics_service.h" |
| 94 #include "components/metrics_services_manager/metrics_services_manager.h" | 93 #include "components/metrics_services_manager/metrics_services_manager.h" |
| 95 #include "components/net_log/chrome_net_log.h" | 94 #include "components/net_log/chrome_net_log.h" |
| 96 #include "components/network_time/network_time_tracker.h" | 95 #include "components/network_time/network_time_tracker.h" |
| 97 #include "components/physical_web/data_source/physical_web_data_source.h" | 96 #include "components/physical_web/data_source/physical_web_data_source.h" |
| 98 #include "components/policy/core/browser/browser_policy_connector.h" | 97 #include "components/policy/core/browser/browser_policy_connector.h" |
| (...skipping 1314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1413 } | 1412 } |
| 1414 | 1413 |
| 1415 void BrowserProcessImpl::OnAutoupdateTimer() { | 1414 void BrowserProcessImpl::OnAutoupdateTimer() { |
| 1416 if (CanAutorestartForUpdate()) { | 1415 if (CanAutorestartForUpdate()) { |
| 1417 DLOG(WARNING) << "Detected update. Restarting browser."; | 1416 DLOG(WARNING) << "Detected update. Restarting browser."; |
| 1418 RestartBackgroundInstance(); | 1417 RestartBackgroundInstance(); |
| 1419 } | 1418 } |
| 1420 } | 1419 } |
| 1421 | 1420 |
| 1422 #endif // (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) | 1421 #endif // (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) |
| OLD | NEW |