Lines Matching refs:base
19 #include <base/files/file_path.h>
20 #include <base/files/file_util.h>
21 #include <base/logging.h>
22 #include <base/strings/string_number_conversions.h>
23 #include <base/strings/string_util.h>
124 bool HardwareChromeOS::IsOOBEComplete(base::Time* out_time_of_oobe) const {
138 *out_time_of_oobe = base::Time::FromTimeT(statbuf.st_mtime);
149 base::TrimWhitespaceASCII(return_value, base::TRIM_ALL, &return_value);
159 return HwidOverride::Read(base::FilePath("/"));
184 base::FilePath marker_path = base::FilePath(kPowerwashSafeDirectory).Append(
189 base::TrimWhitespaceASCII(contents, base::TRIM_TRAILING, &contents);
190 if (!base::StringToInt(contents, &powerwash_count))
210 bool result = base::DeleteFile(base::FilePath(kPowerwashMarkerFile), false);
223 bool HardwareChromeOS::GetNonVolatileDirectory(base::FilePath* path) const {
224 *path = base::FilePath(constants::kNonVolatileDirectory);
228 bool HardwareChromeOS::GetPowerwashSafeDirectory(base::FilePath* path) const {
229 *path = base::FilePath(kPowerwashSafeDirectory);
242 store.Load(base::FilePath(root_prefix + kConfigFilePath));
244 if (store.Load(base::FilePath(root_prefix + kStatefulPartition +
248 store.Load(base::FilePath(root_prefix + kConfigFilePath));