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

Issue 2799353002: Restore BLUETOOTH_LOG and convert bluetooth_adapter_bluez to use it (Closed)

Created:
3 years, 8 months ago by stevenjb
Modified:
3 years, 8 months ago
Reviewers:
rkc, scheib
CC:
chromium-reviews, srahim+watch_chromium.org, ortuno+watch_chromium.org, arv+watch_chromium.org, scheib+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Restore BLUETOOTH_LOG and convert bluetooth_adapter_bluez to use it In https://codereview.chromium.org/2659843004 we removed BLUETOOTH_LOG because it was unused. We have yet to replace it with anything (as near as i can tell) and I need to start tracking events so that I can debug the Settings UI. For now the events will appear in chrome://device-log because it is easy, however it would be very easy to use the results in the bluetooth-internals page, e.g.: device_event_log::GetAsString(OLDEST_FIRST, "json", "bluetooth", ...); Note: We already use device_event_log in device/usb and device/hid. BUG=none CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2799353002 Cr-Commit-Position: refs/heads/master@{#463072} Committed: https://chromium.googlesource.com/chromium/src/+/61c37ed899d755505e5243d8d87e5aa98d78328b

Patch Set 1 #

Patch Set 2 : Add README.md + fixes #

Patch Set 3 : . #

Total comments: 1

Patch Set 4 : Additional logging #

Patch Set 5 : Rebase #

Patch Set 6 : Fix BUILD.gn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+288 lines, -183 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/device_log_ui/device_log_ui.css View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/device_log_ui/device_log_ui.html View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/device_log_ui.cc View 1 chunk +2 lines, -0 lines 0 comments Download
A components/device_event_log/README.md View 1 2 3 1 chunk +49 lines, -0 lines 0 comments Download
M components/device_event_log/device_event_log.h View 1 3 chunks +16 lines, -10 lines 0 comments Download
M components/device_event_log/device_event_log_impl.cc View 1 2 4 chunks +21 lines, -17 lines 0 comments Download
M device/bluetooth/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_adapter_bluez.cc View 1 2 3 48 chunks +103 lines, -83 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_device_bluez.cc View 1 2 3 30 chunks +88 lines, -72 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (14 generated)
stevenjb
3 years, 8 months ago (2017-04-06 23:32:43 UTC) #3
scheib
LGTM, but: When looking at LOG -> DEVICE_LOG changes I thought "does DEVICE_LOG pass through ...
3 years, 8 months ago (2017-04-07 00:19:29 UTC) #4
stevenjb
On 2017/04/07 00:19:29, scheib wrote: > LGTM, but: > > When looking at LOG -> ...
3 years, 8 months ago (2017-04-07 17:57:26 UTC) #5
stevenjb
PTAL
3 years, 8 months ago (2017-04-07 17:57:35 UTC) #6
rkc
Any particular reason why we are only converting bluetooth_adapter to use this? If we want ...
3 years, 8 months ago (2017-04-07 20:16:41 UTC) #7
stevenjb
In general I add / convert logging as needed, but I went ahead and converted ...
3 years, 8 months ago (2017-04-07 21:00:25 UTC) #8
rkc
lgtm
3 years, 8 months ago (2017-04-07 21:04:26 UTC) #9
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/2799353002/100001
3 years, 8 months ago (2017-04-07 23:25:23 UTC) #20
commit-bot: I haz the power
3 years, 8 months ago (2017-04-08 00:29:45 UTC) #23
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/61c37ed899d755505e5243d8d87e...

Powered by Google App Engine
This is Rietveld 408576698