summaryrefslogtreecommitdiffstats
path: root/chrome/browser/metrics
diff options
context:
space:
mode:
authordhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-14 20:34:59 +0000
committerdhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-14 20:34:59 +0000
commit3469e7e544aeea3a5cee8aee9a8891a29c61a17d (patch)
tree4d9d1056f06f90f724ba702e94aa2b4d47da7fa6 /chrome/browser/metrics
parent94e9666e60bf1d5e3559bfe216845a2cb054b204 (diff)
downloadchromium_src-3469e7e544aeea3a5cee8aee9a8891a29c61a17d.zip
chromium_src-3469e7e544aeea3a5cee8aee9a8891a29c61a17d.tar.gz
chromium_src-3469e7e544aeea3a5cee8aee9a8891a29c61a17d.tar.bz2
Moving GUID generation from base to chrome/browser/guid*
Moves GUID generation into chrome/browser/guid*. GUID generation is used only within chrome/browser. So am moving it there. BUG=58813 TEST=GUIDTest.GUIDGeneratesAllZeroes, GUIDTest.GUIDGeneratesCorrectly, GUIDTest.GUIDCorrectlyFormatted, MetricsServiceTest.ClientIdCorrectlyFormatted Review URL: http://codereview.chromium.org/3800003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62639 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/metrics')
-rw-r--r--chrome/browser/metrics/metrics_service.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/metrics/metrics_service.cc b/chrome/browser/metrics/metrics_service.cc
index 2687eba..37b79b7 100644
--- a/chrome/browser/metrics/metrics_service.cc
+++ b/chrome/browser/metrics/metrics_service.cc
@@ -162,7 +162,6 @@
#include "base/command_line.h"
#include "base/md5.h"
#include "base/metrics/histogram.h"
-#include "base/rand_util.h"
#include "base/string_number_conversions.h"
#include "base/thread.h"
#include "base/utf_string_conversions.h"
@@ -170,6 +169,7 @@
#include "chrome/browser/bookmarks/bookmark_model.h"
#include "chrome/browser/browser_list.h"
#include "chrome/browser/browser_process.h"
+#include "chrome/browser/guid.h"
#include "chrome/browser/load_notification_details.h"
#include "chrome/browser/memory_details.h"
#include "chrome/browser/metrics/histogram_synchronizer.h"
@@ -808,7 +808,7 @@ void MetricsService::OnInitTaskComplete(
}
std::string MetricsService::GenerateClientID() {
- return base::GenerateGUID();
+ return guid::GenerateGUID();
}
//------------------------------------------------------------------------------