| 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/files/file_util.h" | 7 #include "base/files/file_util.h" |
| 8 #include "base/lazy_instance.h" | 8 #include "base/lazy_instance.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/mac/bundle_locations.h" | |
| 11 #include "base/path_service.h" | 10 #include "base/path_service.h" |
| 12 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
| 13 #include "base/sys_info.h" | 12 #include "base/sys_info.h" |
| 14 #include "base/threading/thread_restrictions.h" | 13 #include "base/threading/thread_restrictions.h" |
| 15 #include "base/version.h" | 14 #include "base/version.h" |
| 16 #include "build/build_config.h" | 15 #include "build/build_config.h" |
| 17 #include "chrome/common/chrome_constants.h" | 16 #include "chrome/common/chrome_constants.h" |
| 18 #include "chrome/common/chrome_paths_internal.h" | 17 #include "chrome/common/chrome_paths_internal.h" |
| 19 #include "chrome/common/features.h" | 18 #include "chrome/common/features.h" |
| 20 #include "media/cdm/cdm_paths.h" | 19 #include "media/cdm/cdm_paths.h" |
| 21 #include "ppapi/features/features.h" | 20 #include "ppapi/features/features.h" |
| 22 | 21 |
| 23 #if defined(OS_ANDROID) | 22 #if defined(OS_ANDROID) |
| 24 #include "base/android/path_utils.h" | 23 #include "base/android/path_utils.h" |
| 25 #include "base/base_paths_android.h" | 24 #include "base/base_paths_android.h" |
| 26 // ui/base must only be used on Android. See BUILD.gn for dependency info. | 25 // ui/base must only be used on Android. See BUILD.gn for dependency info. |
| 27 #include "ui/base/ui_base_paths.h" // nogncheck | 26 #include "ui/base/ui_base_paths.h" // nogncheck |
| 28 #endif | 27 #endif |
| 29 | 28 |
| 30 #if defined(OS_MACOSX) | 29 #if defined(OS_MACOSX) |
| 30 #include "base/mac/bundle_locations.h" |
| 31 #include "base/mac/foundation_util.h" | 31 #include "base/mac/foundation_util.h" |
| 32 #endif | 32 #endif |
| 33 | 33 |
| 34 #if defined(OS_WIN) | 34 #if defined(OS_WIN) |
| 35 #include "base/win/registry.h" | 35 #include "base/win/registry.h" |
| 36 #endif | 36 #endif |
| 37 | 37 |
| 38 #include "widevine_cdm_version.h" // In SHARED_INTERMEDIATE_DIR. | 38 #include "widevine_cdm_version.h" // In SHARED_INTERMEDIATE_DIR. |
| 39 | 39 |
| 40 namespace { | 40 namespace { |
| (...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 600 | 600 |
| 601 void SetInvalidSpecifiedUserDataDir(const base::FilePath& user_data_dir) { | 601 void SetInvalidSpecifiedUserDataDir(const base::FilePath& user_data_dir) { |
| 602 g_invalid_specified_user_data_dir.Get() = user_data_dir; | 602 g_invalid_specified_user_data_dir.Get() = user_data_dir; |
| 603 } | 603 } |
| 604 | 604 |
| 605 const base::FilePath& GetInvalidSpecifiedUserDataDir() { | 605 const base::FilePath& GetInvalidSpecifiedUserDataDir() { |
| 606 return g_invalid_specified_user_data_dir.Get(); | 606 return g_invalid_specified_user_data_dir.Get(); |
| 607 } | 607 } |
| 608 | 608 |
| 609 } // namespace chrome | 609 } // namespace chrome |
| OLD | NEW |