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

Issue 1865613002: bluetooth: Move read value to mojo (Closed)

Created:
4 years, 8 months ago by ortuno
Modified:
4 years, 8 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, dglazkov+blink, haraken, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, ortuno+watch_chromium.org, qsr+mojo_chromium.org, scheib+watch_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@bluetooth-separate-tests-notifications
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Move read value to mojo readValue now uses WebBluetoothService. Also renable the characteristicvaluechanged event. BUG=508771 Committed: https://crrev.com/12e91f07ed210722934545562246c9ffb55cf91c Cr-Commit-Position: refs/heads/master@{#387736}

Patch Set 1 #

Patch Set 2 : Merge #

Patch Set 3 : Merge #

Total comments: 8

Patch Set 4 : Address jyasskin's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -197 lines) Patch
M content/browser/bluetooth/bluetooth_dispatcher_host.h View 1 2 2 chunks +0 lines, -13 lines 0 comments Download
M content/browser/bluetooth/bluetooth_dispatcher_host.cc View 1 2 4 chunks +0 lines, -99 lines 0 comments Download
M content/browser/bluetooth/web_bluetooth_service_impl.h View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download
M content/browser/bluetooth/web_bluetooth_service_impl.cc View 1 2 3 2 chunks +54 lines, -0 lines 0 comments Download
M content/common/bluetooth/bluetooth_messages.h View 2 chunks +0 lines, -19 lines 0 comments Download
M content/renderer/bluetooth/bluetooth_dispatcher.h View 3 chunks +0 lines, -12 lines 0 comments Download
M content/renderer/bluetooth/bluetooth_dispatcher.cc View 1 2 3 chunks +0 lines, -38 lines 0 comments Download
M content/renderer/bluetooth/web_bluetooth_impl.h View 1 2 3 4 chunks +10 lines, -1 line 0 comments Download
M content/renderer/bluetooth/web_bluetooth_impl.cc View 1 2 3 chunks +30 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/bluetooth/characteristicvaluechanged.html View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom View 1 2 1 chunk +10 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 20 (8 generated)
ortuno
jyasskin: PTAL
4 years, 8 months ago (2016-04-13 22:48:46 UTC) #3
Jeffrey Yasskin
lgtm https://codereview.chromium.org/1865613002/diff/40001/content/browser/bluetooth/web_bluetooth_service_impl.cc File content/browser/bluetooth/web_bluetooth_service_impl.cc (right): https://codereview.chromium.org/1865613002/diff/40001/content/browser/bluetooth/web_bluetooth_service_impl.cc#newcode301 content/browser/bluetooth/web_bluetooth_service_impl.cc:301: mojo::Array<uint8_t>::From(value)); Do the by-value and move thing again ...
4 years, 8 months ago (2016-04-15 20:59:35 UTC) #4
Jeffrey Yasskin
https://codereview.chromium.org/1865613002/diff/40001/content/renderer/bluetooth/web_bluetooth_impl.cc File content/renderer/bluetooth/web_bluetooth_impl.cc (right): https://codereview.chromium.org/1865613002/diff/40001/content/renderer/bluetooth/web_bluetooth_impl.cc#newcode133 content/renderer/bluetooth/web_bluetooth_impl.cc:133: base::ThreadTaskRunnerHandle::Get()->PostTask( On 2016/04/15 20:59:35, Jeffrey Yasskin wrote: > Actually, ...
4 years, 8 months ago (2016-04-15 21:01:55 UTC) #5
ortuno
Thanks! https://codereview.chromium.org/1865613002/diff/40001/content/browser/bluetooth/web_bluetooth_service_impl.cc File content/browser/bluetooth/web_bluetooth_service_impl.cc (right): https://codereview.chromium.org/1865613002/diff/40001/content/browser/bluetooth/web_bluetooth_service_impl.cc#newcode301 content/browser/bluetooth/web_bluetooth_service_impl.cc:301: mojo::Array<uint8_t>::From(value)); On 2016/04/15 at 20:59:35, Jeffrey Yasskin wrote: ...
4 years, 8 months ago (2016-04-15 21:34:07 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1865613002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1865613002/60001
4 years, 8 months ago (2016-04-15 21:35:42 UTC) #8
Jeffrey Yasskin
https://codereview.chromium.org/1865613002/diff/40001/content/browser/bluetooth/web_bluetooth_service_impl.cc File content/browser/bluetooth/web_bluetooth_service_impl.cc (right): https://codereview.chromium.org/1865613002/diff/40001/content/browser/bluetooth/web_bluetooth_service_impl.cc#newcode301 content/browser/bluetooth/web_bluetooth_service_impl.cc:301: mojo::Array<uint8_t>::From(value)); On 2016/04/15 21:34:07, ortuno wrote: > On 2016/04/15 ...
4 years, 8 months ago (2016-04-15 21:38:52 UTC) #9
ortuno
tsepez: PTAL at content/common/bluetooth_messages.h and bluetooth/web_bluetooth.mojom
4 years, 8 months ago (2016-04-15 22:19:03 UTC) #11
Tom Sepez
Messages / Mojo LGTM.
4 years, 8 months ago (2016-04-15 22:35:07 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-15 22:50:25 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1865613002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1865613002/60001
4 years, 8 months ago (2016-04-15 22:51:25 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-15 22:57:55 UTC) #18
commit-bot: I haz the power
4 years, 8 months ago (2016-04-15 22:59:04 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/12e91f07ed210722934545562246c9ffb55cf91c
Cr-Commit-Position: refs/heads/master@{#387736}

Powered by Google App Engine
This is Rietveld 408576698