summaryrefslogtreecommitdiffstats
path: root/chromeos/system
diff options
context:
space:
mode:
authorstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-17 05:03:53 +0000
committerstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-17 05:03:53 +0000
commite68986669f5e8908bc94b7938ebdd572bf9094a7 (patch)
treecb52ff09f23d248919d7052531771cff52a09605 /chromeos/system
parentc980b7dfaaeae8511be4ea4ff5799787d10d019c (diff)
downloadchromium_src-e68986669f5e8908bc94b7938ebdd572bf9094a7.zip
chromium_src-e68986669f5e8908bc94b7938ebdd572bf9094a7.tar.gz
chromium_src-e68986669f5e8908bc94b7938ebdd572bf9094a7.tar.bz2
Clean up Chrome OS WARNING spam
BUG=393266 For log only change to profile_io_data.cc (reviewed by mattm) TBR=mmenke@chromium.org Review URL: https://codereview.chromium.org/385993004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283648 0039d316-1c4b-4281-b951-d872f2087c98
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";