| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 #include "chrome/browser/ui/browser_dialogs.h" | 74 #include "chrome/browser/ui/browser_dialogs.h" |
| 75 #include "chrome/browser/ui/browser_finder.h" | 75 #include "chrome/browser/ui/browser_finder.h" |
| 76 #include "chrome/browser/update_client/chrome_update_query_params_delegate.h" | 76 #include "chrome/browser/update_client/chrome_update_query_params_delegate.h" |
| 77 #include "chrome/common/channel_info.h" | 77 #include "chrome/common/channel_info.h" |
| 78 #include "chrome/common/chrome_constants.h" | 78 #include "chrome/common/chrome_constants.h" |
| 79 #include "chrome/common/chrome_features.h" | 79 #include "chrome/common/chrome_features.h" |
| 80 #include "chrome/common/chrome_paths.h" | 80 #include "chrome/common/chrome_paths.h" |
| 81 #include "chrome/common/chrome_switches.h" | 81 #include "chrome/common/chrome_switches.h" |
| 82 #include "chrome/common/crash_keys.h" | 82 #include "chrome/common/crash_keys.h" |
| 83 #include "chrome/common/extensions/chrome_extensions_client.h" | 83 #include "chrome/common/extensions/chrome_extensions_client.h" |
| 84 #include "chrome/common/extensions/extension_process_policy.h" | |
| 85 #include "chrome/common/features.h" | 84 #include "chrome/common/features.h" |
| 86 #include "chrome/common/pref_names.h" | 85 #include "chrome/common/pref_names.h" |
| 87 #include "chrome/common/switch_utils.h" | 86 #include "chrome/common/switch_utils.h" |
| 88 #include "chrome/common/url_constants.h" | 87 #include "chrome/common/url_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" |
| (...skipping 1332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1427 } | 1426 } |
| 1428 | 1427 |
| 1429 void BrowserProcessImpl::OnAutoupdateTimer() { | 1428 void BrowserProcessImpl::OnAutoupdateTimer() { |
| 1430 if (CanAutorestartForUpdate()) { | 1429 if (CanAutorestartForUpdate()) { |
| 1431 DLOG(WARNING) << "Detected update. Restarting browser."; | 1430 DLOG(WARNING) << "Detected update. Restarting browser."; |
| 1432 RestartBackgroundInstance(); | 1431 RestartBackgroundInstance(); |
| 1433 } | 1432 } |
| 1434 } | 1433 } |
| 1435 | 1434 |
| 1436 #endif // (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) | 1435 #endif // (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) |
| OLD | NEW |