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

Issue 2727013002: Add UKM API GetNewSourceID() (Closed)

Created:
3 years, 9 months ago by Zhen Wang
Modified:
3 years, 9 months ago
CC:
chromium-reviews, hamelphi
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UKM API GetNewSourceID() This CL adds a new UKM API GetNewSourceID(). So different subsystems can use the same API to get new source ID to avoid collision. BUG=678682 Review-Url: https://codereview.chromium.org/2727013002 Cr-Commit-Position: refs/heads/master@{#454168} Committed: https://chromium.googlesource.com/chromium/src/+/d433dd5d64e4b2ffc352906dbf72bdd6d2df1fe8

Patch Set 1 #

Total comments: 4

Patch Set 2 : fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -6 lines) Patch
M components/ukm/ukm_service.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M components/ukm/ukm_service.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M components/ukm/ukm_service_unittest.cc View 7 chunks +15 lines, -6 lines 0 comments Download

Messages

Total messages: 22 (13 generated)
Zhen Wang
I am adding this new UKM API so that the translate folks and page_load_metrics folks ...
3 years, 9 months ago (2017-03-01 22:44:24 UTC) #3
Bryan McQuade
LGTM, thanks! https://codereview.chromium.org/2727013002/diff/1/components/ukm/ukm_service.h File components/ukm/ukm_service.h (right): https://codereview.chromium.org/2727013002/diff/1/components/ukm/ukm_service.h#newcode52 components/ukm/ukm_service.h:52: // Get the new source ID. let's ...
3 years, 9 months ago (2017-03-01 22:46:35 UTC) #6
Zhen Wang
https://codereview.chromium.org/2727013002/diff/1/components/ukm/ukm_service.h File components/ukm/ukm_service.h (right): https://codereview.chromium.org/2727013002/diff/1/components/ukm/ukm_service.h#newcode52 components/ukm/ukm_service.h:52: // Get the new source ID. On 2017/03/01 22:46:35, ...
3 years, 9 months ago (2017-03-01 22:51:42 UTC) #7
rkaplow
lgtm
3 years, 9 months ago (2017-03-01 23:09:51 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2727013002/20001
3 years, 9 months ago (2017-03-01 23:10:52 UTC) #14
Bryan McQuade
On 2017/03/01 at 23:10:52, commit-bot wrote: > CQ is trying da patch. Follow status at ...
3 years, 9 months ago (2017-03-02 02:07:32 UTC) #16
Zhen Wang
Thanks Bryan! mac_chromium_rel_ng succeed. will commit now.
3 years, 9 months ago (2017-03-02 03:07:47 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2727013002/20001
3 years, 9 months ago (2017-03-02 03:08:34 UTC) #19
commit-bot: I haz the power
3 years, 9 months ago (2017-03-02 03:44:33 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/d433dd5d64e4b2ffc352906dbf72...

Powered by Google App Engine
This is Rietveld 408576698