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

Issue 1265323004: bluetooth: Move histogram related code to its own file (Closed)

Created:
5 years, 4 months ago by ortuno
Modified:
5 years, 4 months ago
Reviewers:
Jeffrey Yasskin, scheib
CC:
chromium-reviews, darin-cc_chromium.org, jam, scheib+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@bluetooth-uma-get-primary-service
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Move histogram related code to its own file Histograms' code was starting to become a significant portion of bluetooth_dispatcher_host. This change moves it to its own class. BUG=499636 Committed: https://crrev.com/400d345c0459b97f17f827316494924591f5eae9 Cr-Commit-Position: refs/heads/master@{#343423}

Patch Set 1 : #

Patch Set 2 : Add static comment #

Total comments: 10

Patch Set 3 : Remove class, small fixes, remove logging for errors that return a similar message #

Total comments: 7

Patch Set 4 : git udiff #

Total comments: 2

Patch Set 5 : Address scheib's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+281 lines, -177 lines) Patch
M content/browser/bluetooth/bluetooth_dispatcher_host.cc View 1 2 3 13 chunks +8 lines, -177 lines 0 comments Download
A content/browser/bluetooth/bluetooth_metrics.h View 1 2 3 4 1 chunk +135 lines, -0 lines 0 comments Download
A content/browser/bluetooth/bluetooth_metrics.cc View 1 2 1 chunk +136 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 chunk +2 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 24 (12 generated)
ortuno
@jyasskin: PTAL
5 years, 4 months ago (2015-08-12 23:29:52 UTC) #10
Jeffrey Yasskin
https://codereview.chromium.org/1265323004/diff/180001/content/browser/bluetooth/bluetooth_metrics.h File content/browser/bluetooth/bluetooth_metrics.h (right): https://codereview.chromium.org/1265323004/diff/180001/content/browser/bluetooth/bluetooth_metrics.h#newcode8 content/browser/bluetooth/bluetooth_metrics.h:8: #include <map> <map> and <set> aren't used in this ...
5 years, 4 months ago (2015-08-13 21:08:39 UTC) #11
ortuno
Thanks! https://codereview.chromium.org/1265323004/diff/180001/content/browser/bluetooth/bluetooth_metrics.h File content/browser/bluetooth/bluetooth_metrics.h (right): https://codereview.chromium.org/1265323004/diff/180001/content/browser/bluetooth/bluetooth_metrics.h#newcode8 content/browser/bluetooth/bluetooth_metrics.h:8: #include <map> On 2015/08/13 at 21:08:38, Jeffrey Yasskin ...
5 years, 4 months ago (2015-08-13 23:04:24 UTC) #12
Jeffrey Yasskin
lgtm https://codereview.chromium.org/1265323004/diff/200001/content/browser/bluetooth/bluetooth_dispatcher_host.cc File content/browser/bluetooth/bluetooth_dispatcher_host.cc (right): https://codereview.chromium.org/1265323004/diff/200001/content/browser/bluetooth/bluetooth_dispatcher_host.cc#newcode32 content/browser/bluetooth/bluetooth_dispatcher_host.cc:32: using UMAWebBluetoothFunction = content::UMAWebBluetoothFunction; Now that these aren't ...
5 years, 4 months ago (2015-08-13 23:20:03 UTC) #13
ortuno
Thanks! https://codereview.chromium.org/1265323004/diff/200001/content/browser/bluetooth/bluetooth_dispatcher_host.cc File content/browser/bluetooth/bluetooth_dispatcher_host.cc (right): https://codereview.chromium.org/1265323004/diff/200001/content/browser/bluetooth/bluetooth_dispatcher_host.cc#newcode32 content/browser/bluetooth/bluetooth_dispatcher_host.cc:32: using UMAWebBluetoothFunction = content::UMAWebBluetoothFunction; On 2015/08/13 at 23:20:03, ...
5 years, 4 months ago (2015-08-14 16:07:37 UTC) #14
ortuno
@scheib: PTAL
5 years, 4 months ago (2015-08-14 16:07:51 UTC) #16
Jeffrey Yasskin
https://codereview.chromium.org/1265323004/diff/200001/content/browser/bluetooth/bluetooth_dispatcher_host.cc File content/browser/bluetooth/bluetooth_dispatcher_host.cc (right): https://codereview.chromium.org/1265323004/diff/200001/content/browser/bluetooth/bluetooth_dispatcher_host.cc#newcode135 content/browser/bluetooth/bluetooth_dispatcher_host.cc:135: namespace content { On 2015/08/14 16:07:37, ortuno wrote: > ...
5 years, 4 months ago (2015-08-14 16:23:34 UTC) #17
scheib
LGTM, comment suggestion: https://codereview.chromium.org/1265323004/diff/220001/content/browser/bluetooth/bluetooth_metrics.h File content/browser/bluetooth/bluetooth_metrics.h (right): https://codereview.chromium.org/1265323004/diff/220001/content/browser/bluetooth/bluetooth_metrics.h#newcode21 content/browser/bluetooth/bluetooth_metrics.h:21: // General General what? // Enumeration ...
5 years, 4 months ago (2015-08-14 16:25:03 UTC) #18
ortuno
https://codereview.chromium.org/1265323004/diff/220001/content/browser/bluetooth/bluetooth_metrics.h File content/browser/bluetooth/bluetooth_metrics.h (right): https://codereview.chromium.org/1265323004/diff/220001/content/browser/bluetooth/bluetooth_metrics.h#newcode21 content/browser/bluetooth/bluetooth_metrics.h:21: // General On 2015/08/14 at 16:25:03, scheib wrote: > ...
5 years, 4 months ago (2015-08-14 16:31:08 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1265323004/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1265323004/240001
5 years, 4 months ago (2015-08-14 16:31:21 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:240001)
5 years, 4 months ago (2015-08-14 17:45:26 UTC) #23
commit-bot: I haz the power
5 years, 4 months ago (2015-08-14 17:46:07 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/400d345c0459b97f17f827316494924591f5eae9
Cr-Commit-Position: refs/heads/master@{#343423}

Powered by Google App Engine
This is Rietveld 408576698