OLD | NEW |
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/browser_process_impl.h" | 5 #include "chrome/browser/browser_process_impl.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 | 8 |
9 #include "app/clipboard/clipboard.h" | 9 #include "app/clipboard/clipboard.h" |
10 #include "app/l10n_util.h" | 10 #include "app/l10n_util.h" |
(...skipping 19 matching lines...) Loading... |
30 #include "chrome/browser/icon_manager.h" | 30 #include "chrome/browser/icon_manager.h" |
31 #include "chrome/browser/in_process_webkit/dom_storage_context.h" | 31 #include "chrome/browser/in_process_webkit/dom_storage_context.h" |
32 #include "chrome/browser/intranet_redirect_detector.h" | 32 #include "chrome/browser/intranet_redirect_detector.h" |
33 #include "chrome/browser/io_thread.h" | 33 #include "chrome/browser/io_thread.h" |
34 #include "chrome/browser/metrics/metrics_service.h" | 34 #include "chrome/browser/metrics/metrics_service.h" |
35 #include "chrome/browser/net/predictor_api.h" | 35 #include "chrome/browser/net/predictor_api.h" |
36 #include "chrome/browser/net/sdch_dictionary_fetcher.h" | 36 #include "chrome/browser/net/sdch_dictionary_fetcher.h" |
37 #include "chrome/browser/net/sqlite_persistent_cookie_store.h" | 37 #include "chrome/browser/net/sqlite_persistent_cookie_store.h" |
38 #include "chrome/browser/notifications/notification_ui_manager.h" | 38 #include "chrome/browser/notifications/notification_ui_manager.h" |
39 #include "chrome/browser/plugin_service.h" | 39 #include "chrome/browser/plugin_service.h" |
40 #include "chrome/browser/pref_service.h" | 40 #include "chrome/browser/prefs/pref_service.h" |
41 #include "chrome/browser/printing/print_job_manager.h" | 41 #include "chrome/browser/printing/print_job_manager.h" |
42 #include "chrome/browser/profile_manager.h" | 42 #include "chrome/browser/profile_manager.h" |
43 #include "chrome/browser/renderer_host/render_process_host.h" | 43 #include "chrome/browser/renderer_host/render_process_host.h" |
44 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" | 44 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" |
45 #include "chrome/browser/safe_browsing/safe_browsing_service.h" | 45 #include "chrome/browser/safe_browsing/safe_browsing_service.h" |
46 #include "chrome/browser/sidebar/sidebar_manager.h" | 46 #include "chrome/browser/sidebar/sidebar_manager.h" |
47 #include "chrome/browser/tab_closeable_state_watcher.h" | 47 #include "chrome/browser/tab_closeable_state_watcher.h" |
48 #include "chrome/common/chrome_constants.h" | 48 #include "chrome/common/chrome_constants.h" |
49 #include "chrome/common/chrome_paths.h" | 49 #include "chrome/common/chrome_paths.h" |
50 #include "chrome/common/chrome_switches.h" | 50 #include "chrome/common/chrome_switches.h" |
(...skipping 724 matching lines...) Loading... |
775 } | 775 } |
776 | 776 |
777 void BrowserProcessImpl::OnAutoupdateTimer() { | 777 void BrowserProcessImpl::OnAutoupdateTimer() { |
778 if (CanAutorestartForUpdate()) { | 778 if (CanAutorestartForUpdate()) { |
779 DLOG(WARNING) << "Detected update. Restarting browser."; | 779 DLOG(WARNING) << "Detected update. Restarting browser."; |
780 RestartPersistentInstance(); | 780 RestartPersistentInstance(); |
781 } | 781 } |
782 } | 782 } |
783 | 783 |
784 #endif // (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) | 784 #endif // (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) |
OLD | NEW |