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 "app/clipboard/clipboard.h" | 7 #include "app/clipboard/clipboard.h" |
8 #include "app/l10n_util.h" | 8 #include "app/l10n_util.h" |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
11 #include "base/path_service.h" | 11 #include "base/path_service.h" |
12 #include "base/thread.h" | 12 #include "base/thread.h" |
13 #include "base/waitable_event.h" | 13 #include "base/waitable_event.h" |
| 14 #include "chrome/browser/appcache/chrome_appcache_service.h" |
14 #include "chrome/browser/browser_main.h" | 15 #include "chrome/browser/browser_main.h" |
15 #include "chrome/browser/browser_process_sub_thread.h" | 16 #include "chrome/browser/browser_process_sub_thread.h" |
16 #include "chrome/browser/browser_trial.h" | 17 #include "chrome/browser/browser_trial.h" |
17 #include "chrome/browser/child_process_host.h" | 18 #include "chrome/browser/child_process_host.h" |
18 #include "chrome/browser/chrome_thread.h" | 19 #include "chrome/browser/chrome_thread.h" |
19 #include "chrome/browser/debugger/debugger_wrapper.h" | 20 #include "chrome/browser/debugger/debugger_wrapper.h" |
20 #include "chrome/browser/debugger/devtools_manager.h" | 21 #include "chrome/browser/debugger/devtools_manager.h" |
21 #include "chrome/browser/download/download_file.h" | 22 #include "chrome/browser/download/download_file.h" |
22 #include "chrome/browser/download/save_file_manager.h" | 23 #include "chrome/browser/download/save_file_manager.h" |
23 #include "chrome/browser/google_url_tracker.h" | 24 #include "chrome/browser/google_url_tracker.h" |
24 #include "chrome/browser/icon_manager.h" | 25 #include "chrome/browser/icon_manager.h" |
25 #include "chrome/browser/in_process_webkit/dom_storage_context.h" | 26 #include "chrome/browser/in_process_webkit/dom_storage_context.h" |
26 #include "chrome/browser/intranet_redirect_detector.h" | 27 #include "chrome/browser/intranet_redirect_detector.h" |
27 #include "chrome/browser/io_thread.h" | 28 #include "chrome/browser/io_thread.h" |
28 #include "chrome/browser/metrics/metrics_service.h" | 29 #include "chrome/browser/metrics/metrics_service.h" |
29 #include "chrome/browser/net/dns_global.h" | 30 #include "chrome/browser/net/dns_global.h" |
30 #include "chrome/browser/net/sdch_dictionary_fetcher.h" | 31 #include "chrome/browser/net/sdch_dictionary_fetcher.h" |
31 #include "chrome/browser/net/sqlite_persistent_cookie_store.h" | 32 #include "chrome/browser/net/sqlite_persistent_cookie_store.h" |
32 #include "chrome/browser/notifications/notification_ui_manager.h" | 33 #include "chrome/browser/notifications/notification_ui_manager.h" |
33 #include "chrome/browser/plugin_service.h" | 34 #include "chrome/browser/plugin_service.h" |
34 #include "chrome/browser/pref_service.h" | 35 #include "chrome/browser/pref_service.h" |
35 #include "chrome/browser/printing/print_job_manager.h" | 36 #include "chrome/browser/printing/print_job_manager.h" |
36 #include "chrome/browser/profile_manager.h" | 37 #include "chrome/browser/profile_manager.h" |
37 #include "chrome/browser/renderer_host/render_process_host.h" | 38 #include "chrome/browser/renderer_host/render_process_host.h" |
38 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" | 39 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" |
39 #include "chrome/browser/safe_browsing/safe_browsing_service.h" | 40 #include "chrome/browser/safe_browsing/safe_browsing_service.h" |
40 #include "chrome/common/appcache/chrome_appcache_service.h" | |
41 #include "chrome/common/chrome_constants.h" | 41 #include "chrome/common/chrome_constants.h" |
42 #include "chrome/common/chrome_paths.h" | 42 #include "chrome/common/chrome_paths.h" |
43 #include "chrome/common/chrome_switches.h" | 43 #include "chrome/common/chrome_switches.h" |
44 #include "chrome/common/notification_service.h" | 44 #include "chrome/common/notification_service.h" |
45 #include "chrome/common/pref_names.h" | 45 #include "chrome/common/pref_names.h" |
46 #include "chrome/common/url_constants.h" | 46 #include "chrome/common/url_constants.h" |
47 #include "ipc/ipc_logging.h" | 47 #include "ipc/ipc_logging.h" |
48 #include "webkit/database/database_tracker.h" | 48 #include "webkit/database/database_tracker.h" |
49 | 49 |
50 #if defined(OS_WIN) | 50 #if defined(OS_WIN) |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 DCHECK(file_thread_->message_loop() == MessageLoop::current()); | 480 DCHECK(file_thread_->message_loop() == MessageLoop::current()); |
481 bool result = false; | 481 bool result = false; |
482 | 482 |
483 FilePath inspector_dir; | 483 FilePath inspector_dir; |
484 if (PathService::Get(chrome::DIR_INSPECTOR, &inspector_dir)) { | 484 if (PathService::Get(chrome::DIR_INSPECTOR, &inspector_dir)) { |
485 result = file_util::PathExists(inspector_dir); | 485 result = file_util::PathExists(inspector_dir); |
486 } | 486 } |
487 | 487 |
488 have_inspector_files_ = result; | 488 have_inspector_files_ = result; |
489 } | 489 } |
OLD | NEW |