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

Issue 1885073003: bluetooth: Create bluetooth_metrics_hash tool. (Closed)

Created:
4 years, 8 months ago by scheib
Modified:
4 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, ortuno+watch_chromium.org, scheib+watch_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Create bluetooth_metrics_hash tool. This tool generates hashes using the same mechanism as content/browser/bluetooth/bluetooth_metrics when reporting UMA. It is intended to use in adding data to histograms.xml. Committed: https://crrev.com/a764c35855b9595f80c36ee48fd9cfa2c9b1a724 Cr-Commit-Position: refs/heads/master@{#389593} Committed: https://crrev.com/35dc9206f08365ed00d433d332bc19224af51530 Cr-Commit-Position: refs/heads/master@{#389921}

Patch Set 1 : #

Patch Set 2 : GN fix -- ios doesn't compile #

Total comments: 6

Patch Set 3 : addressed jyasskin's comments #

Total comments: 2

Patch Set 4 : attempting host_toolchain #

Patch Set 5 : Only build on target; don't build on ios or android #

Total comments: 2

Patch Set 6 : try with type fix in base/hash.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -15 lines) Patch
M BUILD.gn View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/bluetooth/bluetooth_metrics.cc View 1 2 1 chunk +13 lines, -5 lines 0 comments Download
A + content/browser/bluetooth/tools/BUILD.gn View 1 2 4 1 chunk +10 lines, -10 lines 0 comments Download
A content/browser/bluetooth/tools/bluetooth_metrics_hash.cc View 1 2 1 chunk +47 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 35 (15 generated)
scheib
PTAL. Note, the hash logic is duplicated instead of depending on content because that would ...
4 years, 8 months ago (2016-04-14 00:44:49 UTC) #5
Jeffrey Yasskin
LGTM https://codereview.chromium.org/1885073003/diff/120001/content/browser/bluetooth/tools/BUILD.gn File content/browser/bluetooth/tools/BUILD.gn (right): https://codereview.chromium.org/1885073003/diff/120001/content/browser/bluetooth/tools/BUILD.gn#newcode1 content/browser/bluetooth/tools/BUILD.gn:1: # Copyright (c) 2016 The WebRTC project authors. ...
4 years, 8 months ago (2016-04-15 21:23:58 UTC) #8
scheib
Thanks https://codereview.chromium.org/1885073003/diff/120001/content/browser/bluetooth/tools/BUILD.gn File content/browser/bluetooth/tools/BUILD.gn (right): https://codereview.chromium.org/1885073003/diff/120001/content/browser/bluetooth/tools/BUILD.gn#newcode1 content/browser/bluetooth/tools/BUILD.gn:1: # Copyright (c) 2016 The WebRTC project authors. ...
4 years, 8 months ago (2016-04-15 22:45:22 UTC) #9
scheib
OWNERS please: dpranke: root BUILD.gn holte: histograms.xml
4 years, 8 months ago (2016-04-15 22:46:15 UTC) #11
Dirk Pranke
https://codereview.chromium.org/1885073003/diff/140001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/1885073003/diff/140001/BUILD.gn#newcode612 BUILD.gn:612: "//content/browser/bluetooth/tools:bluetooth_metrics_hash", this'll result in building an android executable on ...
4 years, 8 months ago (2016-04-15 22:57:10 UTC) #12
scheib
https://codereview.chromium.org/1885073003/diff/140001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/1885073003/diff/140001/BUILD.gn#newcode612 BUILD.gn:612: "//content/browser/bluetooth/tools:bluetooth_metrics_hash", On 2016/04/15 22:57:10, Dirk Pranke wrote: > this'll ...
4 years, 8 months ago (2016-04-15 23:04:43 UTC) #13
Dirk Pranke
On 2016/04/15 23:04:43, scheib wrote: > https://codereview.chromium.org/1885073003/diff/140001/BUILD.gn > File BUILD.gn (right): > > https://codereview.chromium.org/1885073003/diff/140001/BUILD.gn#newcode612 > ...
4 years, 8 months ago (2016-04-15 23:22:39 UTC) #14
scheib
On 2016/04/15 23:22:39, Dirk Pranke wrote: > On 2016/04/15 23:04:43, scheib wrote: > > https://codereview.chromium.org/1885073003/diff/140001/BUILD.gn ...
4 years, 8 months ago (2016-04-16 00:28:26 UTC) #15
Steven Holte
histograms.xml lgtm
4 years, 8 months ago (2016-04-16 01:09:14 UTC) #16
Dirk Pranke
Okay, it turns out that GN is actually telling you exactly what is wrong, we ...
4 years, 8 months ago (2016-04-23 00:53:00 UTC) #17
scheib
Thanks, dpranke, I've moved back to just limiting the build to desktops. dpranke, I'll still ...
4 years, 8 months ago (2016-04-23 15:39:11 UTC) #18
Dirk Pranke
lgtm. https://codereview.chromium.org/1885073003/diff/180001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/1885073003/diff/180001/BUILD.gn#newcode623 BUILD.gn:623: if (!is_android && !is_ios) { nit: you might ...
4 years, 8 months ago (2016-04-24 20:23:03 UTC) #19
scheib
Thanks https://codereview.chromium.org/1885073003/diff/180001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/1885073003/diff/180001/BUILD.gn#newcode623 BUILD.gn:623: if (!is_android && !is_ios) { On 2016/04/24 20:23:03, ...
4 years, 8 months ago (2016-04-25 19:18:27 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1885073003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1885073003/180001
4 years, 8 months ago (2016-04-25 19:19:10 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:180001)
4 years, 8 months ago (2016-04-25 22:45:09 UTC) #24
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/a764c35855b9595f80c36ee48fd9cfa2c9b1a724 Cr-Commit-Position: refs/heads/master@{#389593}
4 years, 8 months ago (2016-04-25 22:46:40 UTC) #26
Charlie Reis
On 2016/04/25 22:46:40, commit-bot: I haz the power wrote: > Patchset 5 (id:??) landed as ...
4 years, 8 months ago (2016-04-25 23:25:32 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1885073003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1885073003/200001
4 years, 7 months ago (2016-04-26 20:45:40 UTC) #31
commit-bot: I haz the power
Committed patchset #6 (id:200001)
4 years, 7 months ago (2016-04-26 22:35:55 UTC) #33
commit-bot: I haz the power
4 years, 7 months ago (2016-04-26 22:37:26 UTC) #35
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/35dc9206f08365ed00d433d332bc19224af51530
Cr-Commit-Position: refs/heads/master@{#389921}

Powered by Google App Engine
This is Rietveld 408576698