summaryrefslogtreecommitdiffstats
path: root/chromeos/system
diff options
context:
space:
mode:
Diffstat (limited to 'chromeos/system')
-rw-r--r--chromeos/system/name_value_pairs_parser.cc2
-rw-r--r--chromeos/system/statistics_provider.cc4
2 files changed, 3 insertions, 3 deletions
diff --git a/chromeos/system/name_value_pairs_parser.cc b/chromeos/system/name_value_pairs_parser.cc
index 211cce7..0c779eb 100644
--- a/chromeos/system/name_value_pairs_parser.cc
+++ b/chromeos/system/name_value_pairs_parser.cc
@@ -126,7 +126,7 @@ bool NameValuePairsParser::GetNameValuePairsFromFile(
return ParseNameValuePairs(contents, eq, delim);
} else {
if (base::SysInfo::IsRunningOnChromeOS())
- LOG(WARNING) << "Unable to read statistics file: " << file_path.value();
+ VLOG(1) << "Statistics file not present: " << file_path.value();
return false;
}
}
diff --git a/chromeos/system/statistics_provider.cc b/chromeos/system/statistics_provider.cc
index 3adc090..a829c35 100644
--- a/chromeos/system/statistics_provider.cc
+++ b/chromeos/system/statistics_provider.cc
@@ -41,8 +41,8 @@ const char kUnknownHardwareClass[] = "unknown";
const char kSerialNumber[] = "sn";
// File to get machine hardware info from, and key/value delimiters of
-// the file.
-// /tmp/machine-info is generated by platform/init/chromeos_startup.
+// the file. machine-info is generated only for OOBE and enterprise enrollment
+// and may not be present. See login-manager/init/machine-info.conf.
const char kMachineHardwareInfoFile[] = "/tmp/machine-info";
const char kMachineHardwareInfoEq[] = "=";
const char kMachineHardwareInfoDelim[] = " \n";