diff options
author | dhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-14 20:34:59 +0000 |
---|---|---|
committer | dhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-14 20:34:59 +0000 |
commit | 3469e7e544aeea3a5cee8aee9a8891a29c61a17d (patch) | |
tree | 4d9d1056f06f90f724ba702e94aa2b4d47da7fa6 /base/rand_util.h | |
parent | 94e9666e60bf1d5e3559bfe216845a2cb054b204 (diff) | |
download | chromium_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 'base/rand_util.h')
-rw-r--r-- | base/rand_util.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/base/rand_util.h b/base/rand_util.h index d298134..699fc7f 100644 --- a/base/rand_util.h +++ b/base/rand_util.h @@ -6,8 +6,6 @@ #define BASE_RAND_UTIL_H_ #pragma once -#include <string> - #include "base/basictypes.h" namespace base { @@ -28,9 +26,6 @@ uint64 RandGenerator(uint64 max); // Returns a random double in range [0, 1). Thread-safe. double RandDouble(); -// Generate a 128-bit random GUID of the form: "%08X-%04X-%04X-%04X-%012llX". -std::string GenerateGUID(); - } // namespace base #endif // BASE_RAND_UTIL_H_ |