OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/common/chrome_paths.h" | 5 #include "chrome/common/chrome_paths.h" |
6 | 6 |
7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/mac/bundle_locations.h" | 9 #include "base/mac/bundle_locations.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
11 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
12 #include "base/sys_info.h" | 12 #include "base/sys_info.h" |
13 #include "base/threading/thread_restrictions.h" | 13 #include "base/threading/thread_restrictions.h" |
| 14 #include "base/version.h" |
14 #include "chrome/common/chrome_constants.h" | 15 #include "chrome/common/chrome_constants.h" |
15 #include "chrome/common/chrome_paths_internal.h" | 16 #include "chrome/common/chrome_paths_internal.h" |
16 #include "chrome/common/widevine_cdm_constants.h" | 17 #include "chrome/common/widevine_cdm_constants.h" |
17 #include "ui/base/ui_base_paths.h" | 18 #include "ui/base/ui_base_paths.h" |
18 | 19 |
19 #if defined(OS_ANDROID) | 20 #if defined(OS_ANDROID) |
20 #include "base/android/path_utils.h" | 21 #include "base/android/path_utils.h" |
21 #endif | 22 #endif |
22 | 23 |
23 #if defined(OS_MACOSX) | 24 #if defined(OS_MACOSX) |
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
524 return true; | 525 return true; |
525 } | 526 } |
526 | 527 |
527 // This cannot be done as a static initializer sadly since Visual Studio will | 528 // This cannot be done as a static initializer sadly since Visual Studio will |
528 // eliminate this object file if there is no direct entry point into it. | 529 // eliminate this object file if there is no direct entry point into it. |
529 void RegisterPathProvider() { | 530 void RegisterPathProvider() { |
530 PathService::RegisterProvider(PathProvider, PATH_START, PATH_END); | 531 PathService::RegisterProvider(PathProvider, PATH_START, PATH_END); |
531 } | 532 } |
532 | 533 |
533 } // namespace chrome | 534 } // namespace chrome |
OLD | NEW |