Discard crash data during first run of a new version.
Avoid confusion associated with uploading crash data from an old version
during the first run of a new version.
Carlos: Please confirm that you're fine with discarding metrics about
installer and Render in Sbox.
Evan: Please confirm that I got all the usage/crash stats.
r=cpu,evanm,mal
Review URL: http://codereview.chromium.org/28017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10211 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/metrics/metrics_log.cc b/chrome/browser/metrics/metrics_log.cc
index 27cb88e5..a504b113 100644
--- a/chrome/browser/metrics/metrics_log.cc
+++ b/chrome/browser/metrics/metrics_log.cc
@@ -280,7 +280,8 @@
DCHECK_GE(result, 0);
}
-std::string MetricsLog::GetVersionString() const {
+// static
+std::string MetricsLog::GetVersionString() {
scoped_ptr<FileVersionInfo> version_info(
FileVersionInfo::CreateFileVersionInfoForCurrentModule());
if (version_info.get()) {