Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: chromeos/chromeos_paths.cc

Issue 1736493002: Update VPD cache file location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chromeos/system/statistics_provider.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | chromeos/system/statistics_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698