Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(479)

Issue 3800001: Factoring GUID generation from metrics to base (Closed)

Created:
10 years, 2 months ago by dhollowa
Modified:
9 years, 7 months ago
Reviewers:
Mark Mentovai, brettw
CC:
chromium-reviews, ben+cc_chromium.org, Paweł Hajdan Jr., brettw-cc_chromium.org, pam+watch_chromium.org
Visibility:
Public.

Description

Factoring GUID generation from metrics to base Factors GUID generation into base/rand_util. The Autofill feature is in need of this utility so am factoring GUID generation out of metrics and moving to the commons. BUG=58813 TEST=RandUtilTest.GUIDGeneratesAllZeroes, RandUtilTest.GUIDGeneratesCorrectly, RandUtilTest.GUIDCorrectlyFormatted, MetricsServiceTest.ClientIdCorrectlyFormatted Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=62480

Patch Set 1 #

Patch Set 2 : Changed #ifdef(<platform>) to plaform files. #

Patch Set 3 : Missing includes on Win. #

Total comments: 2

Patch Set 4 : Adding unit tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -62 lines) Patch
M base/rand_util.h View 2 chunks +5 lines, -0 lines 0 comments Download
M base/rand_util_posix.cc View 2 chunks +17 lines, -0 lines 0 comments Download
M base/rand_util_unittest.cc View 1 2 3 1 chunk +47 lines, -0 lines 0 comments Download
M base/rand_util_win.cc View 2 2 chunks +20 lines, -0 lines 0 comments Download
M chrome/browser/metrics/metrics_service.h View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/metrics/metrics_service.cc View 1 3 chunks +2 lines, -39 lines 0 comments Download
M chrome/browser/metrics/metrics_service_unittest.cc View 2 chunks +5 lines, -17 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
dhollowa
10 years, 2 months ago (2010-10-13 20:12:36 UTC) #1
Mark Mentovai
LGTM http://codereview.chromium.org/3800001/diff/1007/5003 File base/rand_util_unittest.cc (right): http://codereview.chromium.org/3800001/diff/1007/5003#newcode70 base/rand_util_unittest.cc:70: } I’d also add a test that calls ...
10 years, 2 months ago (2010-10-13 20:18:32 UTC) #2
dhollowa
http://codereview.chromium.org/3800001/diff/1007/5003 File base/rand_util_unittest.cc (right): http://codereview.chromium.org/3800001/diff/1007/5003#newcode70 base/rand_util_unittest.cc:70: } On 2010/10/13 20:18:33, Mark Mentovai wrote: > I’d ...
10 years, 2 months ago (2010-10-13 20:52:12 UTC) #3
Mark Mentovai
LGTM
10 years, 2 months ago (2010-10-13 20:55:41 UTC) #4
brettw
Why did this need to get added to base? It's not used by anything but ...
10 years, 2 months ago (2010-10-14 00:16:55 UTC) #5
dhollowa
On 2010/10/14 00:16:55, brettw wrote: > Why did this need to get added to base? ...
10 years, 2 months ago (2010-10-14 00:50:11 UTC) #6
brettw
On Wed, Oct 13, 2010 at 5:50 PM, <dhollowa@chromium.org> wrote: > On 2010/10/14 00:16:55, brettw ...
10 years, 2 months ago (2010-10-14 00:51:29 UTC) #7
dhollowa
On 2010/10/14 00:51:29, brettw wrote: > On Wed, Oct 13, 2010 at 5:50 PM, <mailto:dhollowa@chromium.org> ...
10 years, 2 months ago (2010-10-14 00:54:57 UTC) #8
dhollowa
10 years, 2 months ago (2010-10-14 04:32:28 UTC) #9

Powered by Google App Engine
This is Rietveld 408576698