| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 "chromeos/chromeos_paths.h" | 5 #include "chromeos/chromeos_paths.h" |
| 6 | 6 |
| 7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "base/files/file_util.h" | 8 #include "base/files/file_util.h" |
| 9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
| 10 #include "base/sys_info.h" | 10 #include "base/sys_info.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 const base::FilePath::CharType kOwnerKeyFileName[] = | 26 const base::FilePath::CharType kOwnerKeyFileName[] = |
| 27 FILE_PATH_LITERAL("/var/lib/whitelist/owner.key"); | 27 FILE_PATH_LITERAL("/var/lib/whitelist/owner.key"); |
| 28 | 28 |
| 29 const base::FilePath::CharType kInstallAttributesFileName[] = | 29 const base::FilePath::CharType kInstallAttributesFileName[] = |
| 30 FILE_PATH_LITERAL("/run/lockbox/install_attributes.pb"); | 30 FILE_PATH_LITERAL("/run/lockbox/install_attributes.pb"); |
| 31 | 31 |
| 32 const base::FilePath::CharType kMachineHardwareInfoFileName[] = | 32 const base::FilePath::CharType kMachineHardwareInfoFileName[] = |
| 33 FILE_PATH_LITERAL("/tmp/machine-info"); | 33 FILE_PATH_LITERAL("/tmp/machine-info"); |
| 34 | 34 |
| 35 const base::FilePath::CharType kVpdFileName[] = | 35 const base::FilePath::CharType kVpdFileName[] = FILE_PATH_LITERAL( |
| 36 FILE_PATH_LITERAL("/var/log/vpd_2.0.txt"); | 36 "/mnt/stateful_partition/unencrypted/cache/vpd/filtered.txt"); |
| 37 | 37 |
| 38 const base::FilePath::CharType kUptimeFileName[] = | 38 const base::FilePath::CharType kUptimeFileName[] = |
| 39 FILE_PATH_LITERAL("/proc/uptime"); | 39 FILE_PATH_LITERAL("/proc/uptime"); |
| 40 | 40 |
| 41 const base::FilePath::CharType kUpdateRebootNeededUptimeFile[] = | 41 const base::FilePath::CharType kUpdateRebootNeededUptimeFile[] = |
| 42 FILE_PATH_LITERAL("/run/chrome/update_reboot_needed_uptime"); | 42 FILE_PATH_LITERAL("/run/chrome/update_reboot_needed_uptime"); |
| 43 | 43 |
| 44 const base::FilePath::CharType kDeviceLocalAccountExtensionDir[] = | 44 const base::FilePath::CharType kDeviceLocalAccountExtensionDir[] = |
| 45 FILE_PATH_LITERAL("/var/cache/device_local_account_extensions"); | 45 FILE_PATH_LITERAL("/var/cache/device_local_account_extensions"); |
| 46 | 46 |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 parent.AppendASCII("stub_device_local_account_component_policy")); | 156 parent.AppendASCII("stub_device_local_account_component_policy")); |
| 157 PathService::Override( | 157 PathService::Override( |
| 158 DIR_DEVICE_EXTENSION_LOCAL_CACHE, | 158 DIR_DEVICE_EXTENSION_LOCAL_CACHE, |
| 159 parent.AppendASCII("stub_device_local_extension_cache")); | 159 parent.AppendASCII("stub_device_local_extension_cache")); |
| 160 PathService::Override( | 160 PathService::Override( |
| 161 DIR_SIGNIN_PROFILE_COMPONENT_POLICY, | 161 DIR_SIGNIN_PROFILE_COMPONENT_POLICY, |
| 162 parent.AppendASCII("stub_signin_profile_component_policy")); | 162 parent.AppendASCII("stub_signin_profile_component_policy")); |
| 163 } | 163 } |
| 164 | 164 |
| 165 } // namespace chromeos | 165 } // namespace chromeos |
| OLD | NEW |