diff options
author | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-19 04:22:25 +0000 |
---|---|---|
committer | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-19 04:22:25 +0000 |
commit | 70bb82dc4c60deab31f4fc6b4a268dda23c1c263 (patch) | |
tree | 47719ff9775b0e2f7b886912cd28f2bf980a93b8 /chrome | |
parent | 03386c8b9905f49ca05be04404d6692fdc8b7dbe (diff) | |
download | chromium_src-70bb82dc4c60deab31f4fc6b4a268dda23c1c263.zip chromium_src-70bb82dc4c60deab31f4fc6b4a268dda23c1c263.tar.gz chromium_src-70bb82dc4c60deab31f4fc6b4a268dda23c1c263.tar.bz2 |
Switch to putting appversion at top level of XML
This change puts appversion at the same level as buildtime, and
so it is avalable (now) for use in histogram versioning, as well
as stability versioning (or user metrics versioning).
r=huanr
Review URL: http://codereview.chromium.org/646056
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39421 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/metrics/metrics_log.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/metrics/metrics_log.cc b/chrome/browser/metrics/metrics_log.cc index 4ce5273..fff2f2a 100644 --- a/chrome/browser/metrics/metrics_log.cc +++ b/chrome/browser/metrics/metrics_log.cc @@ -64,6 +64,7 @@ MetricsLog::MetricsLog(const std::string& client_id, int session_id) StartElement("log"); WriteAttribute("clientid", client_id_); WriteInt64Attribute("buildtime", GetBuildTime()); + WriteAttribute("appversion", GetVersionString()); DCHECK_GE(result, 0); } @@ -509,7 +510,6 @@ void MetricsLog::WriteInstallElement() { OPEN_ELEMENT_FOR_SCOPE("install"); WriteAttribute("installdate", GetInstallDate()); WriteIntAttribute("buildid", 0); // We're using appversion instead. - WriteAttribute("appversion", GetVersionString()); } void MetricsLog::RecordEnvironment( |