| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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/l10n_util.h" | 8 #include "app/l10n_util.h" |
| 8 #include "base/clipboard.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/browser_trial.h" | 14 #include "chrome/browser/browser_trial.h" |
| 15 #include "chrome/browser/chrome_thread.h" | 15 #include "chrome/browser/chrome_thread.h" |
| 16 #include "chrome/browser/debugger/debugger_wrapper.h" | 16 #include "chrome/browser/debugger/debugger_wrapper.h" |
| 17 #include "chrome/browser/debugger/devtools_manager.h" | 17 #include "chrome/browser/debugger/devtools_manager.h" |
| 18 #include "chrome/browser/download/download_file.h" | 18 #include "chrome/browser/download/download_file.h" |
| (...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 492 DCHECK(file_thread_->message_loop() == MessageLoop::current()); | 492 DCHECK(file_thread_->message_loop() == MessageLoop::current()); |
| 493 bool result = false; | 493 bool result = false; |
| 494 | 494 |
| 495 FilePath inspector_dir; | 495 FilePath inspector_dir; |
| 496 if (PathService::Get(chrome::DIR_INSPECTOR, &inspector_dir)) { | 496 if (PathService::Get(chrome::DIR_INSPECTOR, &inspector_dir)) { |
| 497 result = file_util::PathExists(inspector_dir); | 497 result = file_util::PathExists(inspector_dir); |
| 498 } | 498 } |
| 499 | 499 |
| 500 have_inspector_files_ = result; | 500 have_inspector_files_ = result; |
| 501 } | 501 } |
| OLD | NEW |