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

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

Issue 3043030: Move browser/first_run* into into a subdirectory. (Closed)
Patch Set: Created 10 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
OLDNEW
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"
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/file_util.h" 12 #include "base/file_util.h"
13 #include "base/path_service.h" 13 #include "base/path_service.h"
14 #include "base/thread.h" 14 #include "base/thread.h"
15 #include "base/waitable_event.h" 15 #include "base/waitable_event.h"
16 #include "chrome/browser/appcache/chrome_appcache_service.h" 16 #include "chrome/browser/appcache/chrome_appcache_service.h"
17 #include "chrome/browser/automation/automation_provider_list.h" 17 #include "chrome/browser/automation/automation_provider_list.h"
18 #include "chrome/browser/browser_child_process_host.h" 18 #include "chrome/browser/browser_child_process_host.h"
19 #include "chrome/browser/browser_list.h" 19 #include "chrome/browser/browser_list.h"
20 #include "chrome/browser/browser_main.h" 20 #include "chrome/browser/browser_main.h"
21 #include "chrome/browser/browser_process_sub_thread.h" 21 #include "chrome/browser/browser_process_sub_thread.h"
22 #include "chrome/browser/browser_trial.h" 22 #include "chrome/browser/browser_trial.h"
23 #include "chrome/browser/chrome_thread.h" 23 #include "chrome/browser/chrome_thread.h"
24 #include "chrome/browser/debugger/debugger_wrapper.h" 24 #include "chrome/browser/debugger/debugger_wrapper.h"
25 #include "chrome/browser/debugger/devtools_manager.h" 25 #include "chrome/browser/debugger/devtools_manager.h"
26 #include "chrome/browser/download/download_file_manager.h" 26 #include "chrome/browser/download/download_file_manager.h"
27 #include "chrome/browser/download/save_file_manager.h" 27 #include "chrome/browser/download/save_file_manager.h"
28 #include "chrome/browser/first_run.h" 28 #include "chrome/browser/first_run/first_run.h"
29 #include "chrome/browser/google_url_tracker.h" 29 #include "chrome/browser/google_url_tracker.h"
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"
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
762 } 762 }
763 763
764 void BrowserProcessImpl::OnAutoupdateTimer() { 764 void BrowserProcessImpl::OnAutoupdateTimer() {
765 if (CanAutorestartForUpdate()) { 765 if (CanAutorestartForUpdate()) {
766 DLOG(WARNING) << "Detected update. Restarting browser."; 766 DLOG(WARNING) << "Detected update. Restarting browser.";
767 RestartPersistentInstance(); 767 RestartPersistentInstance();
768 } 768 }
769 } 769 }
770 770
771 #endif // (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) 771 #endif // (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698