OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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" |
(...skipping 20 matching lines...) Expand all Loading... |
31 #include "chrome/common/chrome_switches.h" | 31 #include "chrome/common/chrome_switches.h" |
32 #include "chrome/common/notification_service.h" | 32 #include "chrome/common/notification_service.h" |
33 #include "chrome/common/pref_names.h" | 33 #include "chrome/common/pref_names.h" |
34 #include "chrome/common/pref_service.h" | 34 #include "chrome/common/pref_service.h" |
35 #include "ipc/ipc_logging.h" | 35 #include "ipc/ipc_logging.h" |
36 | 36 |
37 #if defined(OS_WIN) | 37 #if defined(OS_WIN) |
38 #include "chrome/browser/automation/automation_provider_list.h" | 38 #include "chrome/browser/automation/automation_provider_list.h" |
39 #include "chrome/browser/printing/print_job_manager.h" | 39 #include "chrome/browser/printing/print_job_manager.h" |
40 #include "views/focus/view_storage.h" | 40 #include "views/focus/view_storage.h" |
41 #elif defined(OS_POSIX) | 41 #elif defined(OS_MACOSX) |
| 42 #include "chrome/browser/printing/print_job_manager.h" |
| 43 #elif defined(OS_LINUX) |
42 // TODO(port): Remove the temporary scaffolding as we port the above headers. | 44 // TODO(port): Remove the temporary scaffolding as we port the above headers. |
43 #include "chrome/common/temp_scaffolding_stubs.h" | 45 #include "chrome/common/temp_scaffolding_stubs.h" |
44 #endif | 46 #endif |
45 | 47 |
46 #if defined(IPC_MESSAGE_LOG_ENABLED) | 48 #if defined(IPC_MESSAGE_LOG_ENABLED) |
47 #include "chrome/common/plugin_messages.h" | 49 #include "chrome/common/plugin_messages.h" |
48 #include "chrome/common/render_messages.h" | 50 #include "chrome/common/render_messages.h" |
49 #endif | 51 #endif |
50 | 52 |
51 namespace { | 53 namespace { |
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 DCHECK(file_thread_->message_loop() == MessageLoop::current()); | 491 DCHECK(file_thread_->message_loop() == MessageLoop::current()); |
490 bool result = false; | 492 bool result = false; |
491 | 493 |
492 FilePath inspector_dir; | 494 FilePath inspector_dir; |
493 if (PathService::Get(chrome::DIR_INSPECTOR, &inspector_dir)) { | 495 if (PathService::Get(chrome::DIR_INSPECTOR, &inspector_dir)) { |
494 result = file_util::PathExists(inspector_dir); | 496 result = file_util::PathExists(inspector_dir); |
495 } | 497 } |
496 | 498 |
497 have_inspector_files_ = result; | 499 have_inspector_files_ = result; |
498 } | 500 } |
OLD | NEW |