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

Issue 699843003: bluetooth: Impl uses new WebBluetoothDevice in content/browser. (Closed)

Created:
6 years, 1 month ago by scheib
Modified:
5 years, 8 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, scheib+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkcr
Project:
chromium
Visibility:
Public.

Description

bluetooth: Impl uses new WebBluetoothDevice in content/browser. Across 5 patches due to content/blink repository split: Create a blink::WebBluetoothDevice interface and migrate the blink::WebBluetooth::requestDevice interface to use it. Also, Move the mock implementation from content/child to content/browser. http://crrev.com/718503002 Define new requestDevice and WebBluetoothDevice. http://crrev.com/699843003 Impl uses new WebBluetoothDevice in content/browser. http://crrev.com/715613005 Request and receive WebBluetoothDevice from embedder. http://crrev.com/712153002 Remove old WebBluetoothImpl::requestDevice impl. http://crrev.com/713043005 Remove old WebBluetooth::requestDevice signature. BUG=421668 Committed: https://crrev.com/566d082ea134d42ecf0b697ed966c0c2634e2687 Cr-Commit-Position: refs/heads/master@{#305837}

Patch Set 1 : #

Total comments: 22

Patch Set 2 : Addressing comments from 12 - 14 #

Total comments: 10

Patch Set 3 : nasko comments addressed @ 16 #

Patch Set 4 : fix compile failure on android. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+582 lines, -82 lines) Patch
A + content/browser/bluetooth/OWNERS View 1 chunk +0 lines, -1 line 0 comments Download
A content/browser/bluetooth/bluetooth_dispatcher_host.h View 1 2 1 chunk +44 lines, -0 lines 0 comments Download
A content/browser/bluetooth/bluetooth_dispatcher_host.cc View 1 2 1 chunk +73 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 4 chunks +7 lines, -2 lines 0 comments Download
M content/child/blink_platform_impl.h View 3 chunks +5 lines, -0 lines 0 comments Download
M content/child/blink_platform_impl.cc View 3 chunks +7 lines, -0 lines 0 comments Download
A + content/child/bluetooth/OWNERS View 1 chunk +0 lines, -1 line 0 comments Download
A content/child/bluetooth/bluetooth_dispatcher.h View 1 2 1 chunk +84 lines, -0 lines 0 comments Download
A content/child/bluetooth/bluetooth_dispatcher.cc View 1 2 3 1 chunk +145 lines, -0 lines 2 comments Download
A + content/child/bluetooth/bluetooth_message_filter.h View 3 chunks +7 lines, -7 lines 0 comments Download
A + content/child/bluetooth/bluetooth_message_filter.cc View 2 chunks +9 lines, -9 lines 0 comments Download
M content/child/bluetooth/web_bluetooth_impl.h View 1 2 1 chunk +22 lines, -9 lines 0 comments Download
M content/child/bluetooth/web_bluetooth_impl.cc View 1 2 1 chunk +24 lines, -38 lines 0 comments Download
M content/child/child_thread.h View 2 chunks +3 lines, -0 lines 0 comments Download
M content/child/child_thread.cc View 3 chunks +4 lines, -0 lines 0 comments Download
A + content/common/bluetooth/OWNERS View 1 chunk +2 lines, -0 lines 0 comments Download
A content/common/bluetooth/bluetooth_error.h View 1 1 chunk +16 lines, -0 lines 0 comments Download
A content/common/bluetooth/bluetooth_messages.h View 1 1 chunk +119 lines, -0 lines 0 comments Download
M content/common/content_message_generator.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/content_browser.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_child.gypi View 1 chunk +4 lines, -0 lines 0 comments Download
M content/content_common.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.h View 4 chunks +0 lines, -6 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.cc View 3 chunks +1 line, -9 lines 0 comments Download
M ipc/ipc_message_start.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 28 (13 generated)
scheib
6 years, 1 month ago (2014-11-22 22:27:09 UTC) #8
scheib
nasko@chromium.org: PTAL
6 years ago (2014-11-24 16:19:45 UTC) #10
Jeffrey Yasskin
https://codereview.chromium.org/699843003/diff/120001/content/browser/bluetooth/bluetooth_dispatcher_host.cc File content/browser/bluetooth/bluetooth_dispatcher_host.cc (right): https://codereview.chromium.org/699843003/diff/120001/content/browser/bluetooth/bluetooth_dispatcher_host.cc#newcode61 content/browser/bluetooth/bluetooth_dispatcher_host.cc:61: } else if (name == "ResolveRequestDevice_Empty" || // TODO ...
6 years ago (2014-11-24 23:30:12 UTC) #12
nasko
Started looking at the CL, but it will take a bit more time. Sending some ...
6 years ago (2014-11-25 00:57:23 UTC) #13
Jeffrey Yasskin
https://codereview.chromium.org/699843003/diff/120001/content/browser/bluetooth/bluetooth_dispatcher_host.cc File content/browser/bluetooth/bluetooth_dispatcher_host.cc (right): https://codereview.chromium.org/699843003/diff/120001/content/browser/bluetooth/bluetooth_dispatcher_host.cc#newcode37 content/browser/bluetooth/bluetooth_dispatcher_host.cc:37: return; On 2014/11/25 00:57:23, nasko wrote: > No need ...
6 years ago (2014-11-25 01:08:08 UTC) #14
scheib
Thanks, PTAL https://codereview.chromium.org/699843003/diff/120001/content/browser/bluetooth/bluetooth_dispatcher_host.cc File content/browser/bluetooth/bluetooth_dispatcher_host.cc (right): https://codereview.chromium.org/699843003/diff/120001/content/browser/bluetooth/bluetooth_dispatcher_host.cc#newcode37 content/browser/bluetooth/bluetooth_dispatcher_host.cc:37: return; On 2014/11/25 01:08:07, Jeffrey Yasskin wrote: ...
6 years ago (2014-11-25 16:11:06 UTC) #15
nasko
LGTM with a few nits to be fixed. https://codereview.chromium.org/699843003/diff/120001/content/browser/bluetooth/bluetooth_dispatcher_host.cc File content/browser/bluetooth/bluetooth_dispatcher_host.cc (right): https://codereview.chromium.org/699843003/diff/120001/content/browser/bluetooth/bluetooth_dispatcher_host.cc#newcode37 content/browser/bluetooth/bluetooth_dispatcher_host.cc:37: return; ...
6 years ago (2014-11-25 23:27:01 UTC) #16
scheib
Thanks https://codereview.chromium.org/699843003/diff/140001/content/browser/bluetooth/bluetooth_dispatcher_host.cc File content/browser/bluetooth/bluetooth_dispatcher_host.cc (right): https://codereview.chromium.org/699843003/diff/140001/content/browser/bluetooth/bluetooth_dispatcher_host.cc#newcode65 content/browser/bluetooth/bluetooth_dispatcher_host.cc:65: } else if (name == "ResolveRequestDevice_Empty" || // ...
6 years ago (2014-11-26 00:46:35 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/699843003/160001
6 years ago (2014-11-26 16:47:00 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/37583)
6 years ago (2014-11-26 16:59:15 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/699843003/180001
6 years ago (2014-11-26 17:23:00 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:180001)
6 years ago (2014-11-26 18:21:27 UTC) #24
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/566d082ea134d42ecf0b697ed966c0c2634e2687 Cr-Commit-Position: refs/heads/master@{#305837}
6 years ago (2014-11-26 18:22:34 UTC) #25
ortuno
https://codereview.chromium.org/699843003/diff/180001/content/child/bluetooth/bluetooth_dispatcher.cc File content/child/bluetooth/bluetooth_dispatcher.cc (right): https://codereview.chromium.org/699843003/diff/180001/content/child/bluetooth/bluetooth_dispatcher.cc#newcode69 content/child/bluetooth/bluetooth_dispatcher.cc:69: if (WorkerTaskRunner::Instance()->CurrentWorkerId()) Why isn't the function "CurrentWorkerId()", defined above, ...
5 years, 8 months ago (2015-04-01 19:45:30 UTC) #27
scheib
5 years, 8 months ago (2015-04-01 19:47:25 UTC) #28
Message was sent while issue was closed.
https://codereview.chromium.org/699843003/diff/180001/content/child/bluetooth...
File content/child/bluetooth/bluetooth_dispatcher.cc (right):

https://codereview.chromium.org/699843003/diff/180001/content/child/bluetooth...
content/child/bluetooth/bluetooth_dispatcher.cc:69: if
(WorkerTaskRunner::Instance()->CurrentWorkerId())
On 2015/04/01 19:45:30, ortuno wrote:
> Why isn't the function "CurrentWorkerId()", defined above, used here?

Oversight, this could be cleaned up.

Powered by Google App Engine
This is Rietveld 408576698