summaryrefslogtreecommitdiffstats
path: root/chrome/browser/metrics
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-28 16:05:51 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-28 16:05:51 +0000
commit271b24f17b7851542f550d4f25348bd3c5eb80e8 (patch)
tree2bb80a5f28a4fb01f1f2536b4541010e8a9fa3c1 /chrome/browser/metrics
parent4dbb0722b3adb8f20d6b44b7480296ae96953ff6 (diff)
downloadchromium_src-271b24f17b7851542f550d4f25348bd3c5eb80e8.zip
chromium_src-271b24f17b7851542f550d4f25348bd3c5eb80e8.tar.gz
chromium_src-271b24f17b7851542f550d4f25348bd3c5eb80e8.tar.bz2
Enable Client ID generation on Linux/OS X. Enables UMA logging.
BUG=15418 Review URL: http://codereview.chromium.org/149758 Patch from Chris Masone <cmasone@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21846 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/metrics')
-rw-r--r--chrome/browser/metrics/metrics_service.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/chrome/browser/metrics/metrics_service.cc b/chrome/browser/metrics/metrics_service.cc
index f36e0aa..c610cdf 100644
--- a/chrome/browser/metrics/metrics_service.cc
+++ b/chrome/browser/metrics/metrics_service.cc
@@ -766,14 +766,9 @@ std::string MetricsService::GenerateClientID() {
DCHECK(result == kGUIDSize);
return WideToUTF8(guid_string.substr(1, guid_string.length() - 2));
-#elif defined(LINUX2)
+#else
uint64 sixteen_bytes[2] = { base::RandUint64(), base::RandUint64() };
return RandomBytesToGUIDString(sixteen_bytes);
-#else
- // TODO(cmasone): enable the above for all OS_POSIX platforms once the
- // first-run dialog text is all up to date.
- NOTIMPLEMENTED();
- return std::string();
#endif
}