diff options
author | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-19 04:42:16 +0000 |
---|---|---|
committer | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-19 04:42:16 +0000 |
commit | e4bece42eb898c7ea69000404d7459f879435495 (patch) | |
tree | 87bd283305b13bf93a278a795af4b2675689fc4e | |
parent | 70bb82dc4c60deab31f4fc6b4a268dda23c1c263 (diff) | |
download | chromium_src-e4bece42eb898c7ea69000404d7459f879435495.zip chromium_src-e4bece42eb898c7ea69000404d7459f879435495.tar.gz chromium_src-e4bece42eb898c7ea69000404d7459f879435495.tar.bz2 |
Revert 39421 - 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
TBR=jar@chromium.org
Review URL: http://codereview.chromium.org/651012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39423 0039d316-1c4b-4281-b951-d872f2087c98
-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 fff2f2a..4ce5273 100644 --- a/chrome/browser/metrics/metrics_log.cc +++ b/chrome/browser/metrics/metrics_log.cc @@ -64,7 +64,6 @@ 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); } @@ -510,6 +509,7 @@ 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( |