| 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 13 matching lines...) Expand all Loading... |
| 24 #include "chrome/browser/debugger/devtools_manager.h" | 24 #include "chrome/browser/debugger/devtools_manager.h" |
| 25 #include "chrome/browser/download/download_file.h" | 25 #include "chrome/browser/download/download_file.h" |
| 26 #include "chrome/browser/download/save_file_manager.h" | 26 #include "chrome/browser/download/save_file_manager.h" |
| 27 #include "chrome/browser/first_run.h" | 27 #include "chrome/browser/first_run.h" |
| 28 #include "chrome/browser/google_url_tracker.h" | 28 #include "chrome/browser/google_url_tracker.h" |
| 29 #include "chrome/browser/icon_manager.h" | 29 #include "chrome/browser/icon_manager.h" |
| 30 #include "chrome/browser/in_process_webkit/dom_storage_context.h" | 30 #include "chrome/browser/in_process_webkit/dom_storage_context.h" |
| 31 #include "chrome/browser/intranet_redirect_detector.h" | 31 #include "chrome/browser/intranet_redirect_detector.h" |
| 32 #include "chrome/browser/io_thread.h" | 32 #include "chrome/browser/io_thread.h" |
| 33 #include "chrome/browser/metrics/metrics_service.h" | 33 #include "chrome/browser/metrics/metrics_service.h" |
| 34 #include "chrome/browser/net/dns_global.h" | 34 #include "chrome/browser/net/predictor_api.h" |
| 35 #include "chrome/browser/net/sdch_dictionary_fetcher.h" | 35 #include "chrome/browser/net/sdch_dictionary_fetcher.h" |
| 36 #include "chrome/browser/net/sqlite_persistent_cookie_store.h" | 36 #include "chrome/browser/net/sqlite_persistent_cookie_store.h" |
| 37 #include "chrome/browser/notifications/notification_ui_manager.h" | 37 #include "chrome/browser/notifications/notification_ui_manager.h" |
| 38 #include "chrome/browser/plugin_service.h" | 38 #include "chrome/browser/plugin_service.h" |
| 39 #include "chrome/browser/pref_service.h" | 39 #include "chrome/browser/pref_service.h" |
| 40 #include "chrome/browser/printing/print_job_manager.h" | 40 #include "chrome/browser/printing/print_job_manager.h" |
| 41 #include "chrome/browser/profile_manager.h" | 41 #include "chrome/browser/profile_manager.h" |
| 42 #include "chrome/browser/renderer_host/render_process_host.h" | 42 #include "chrome/browser/renderer_host/render_process_host.h" |
| 43 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" | 43 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" |
| 44 #include "chrome/browser/safe_browsing/safe_browsing_service.h" | 44 #include "chrome/browser/safe_browsing/safe_browsing_service.h" |
| (...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 587 } | 587 } |
| 588 | 588 |
| 589 void BrowserProcessImpl::OnAutoupdateTimer() { | 589 void BrowserProcessImpl::OnAutoupdateTimer() { |
| 590 if (CanAutorestartForUpdate()) { | 590 if (CanAutorestartForUpdate()) { |
| 591 DLOG(WARNING) << "Detected update. Restarting browser."; | 591 DLOG(WARNING) << "Detected update. Restarting browser."; |
| 592 RestartPersistentInstance(); | 592 RestartPersistentInstance(); |
| 593 } | 593 } |
| 594 } | 594 } |
| 595 | 595 |
| 596 #endif // (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) | 596 #endif // (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) |
| OLD | NEW |