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

Issue 1235243005: Refactor the BluetoothDispatcherHost to store requestDevice sessions (Closed)

Created:
5 years, 5 months ago by Jeffrey Yasskin
Modified:
5 years, 5 months ago
CC:
asvitkine+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, scheib+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@error-enum-cleanup
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor the BluetoothDispatcherHost to store requestDevice sessions in a member map, instead of in bound callback parameters. This gives us a place to store the dialog where we can update it incrementally as new devices are discovered. BUG=500989 Committed: https://crrev.com/ba252308adb747c82eb89d88687bc72fc313c5f2 Cr-Commit-Position: refs/heads/master@{#339362}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Add a comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -22 lines) Patch
M content/browser/bad_message.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/bluetooth/bluetooth_dispatcher_host.h View 4 chunks +8 lines, -6 lines 0 comments Download
M content/browser/bluetooth/bluetooth_dispatcher_host.cc View 1 6 chunks +29 lines, -16 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 28 (9 generated)
Jeffrey Yasskin
PTAL (I won't get back to this until Thursday, so no rush.) Nick for bad_messages.h ...
5 years, 5 months ago (2015-07-15 06:52:50 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1235243005/1
5 years, 5 months ago (2015-07-15 07:44:42 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/73503) ios_dbg_simulator_ninja on ...
5 years, 5 months ago (2015-07-15 07:46:19 UTC) #6
Alexei Svitkine (slow)
https://codereview.chromium.org/1235243005/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1235243005/diff/1/tools/metrics/histograms/histograms.xml#newcode50920 tools/metrics/histograms/histograms.xml:50920: + <int value="93" label="BDH_DUPLICATE_REQUEST_DEVICE_ID"/> Given that this list has ...
5 years, 5 months ago (2015-07-15 13:22:58 UTC) #7
ncarter (slow)
On 2015/07/15 13:22:58, Alexei Svitkine wrote: > https://codereview.chromium.org/1235243005/diff/1/tools/metrics/histograms/histograms.xml > File tools/metrics/histograms/histograms.xml (right): > > https://codereview.chromium.org/1235243005/diff/1/tools/metrics/histograms/histograms.xml#newcode50920 ...
5 years, 5 months ago (2015-07-15 17:04:05 UTC) #8
scheib
Code LGTM, but a design Q: It will be possible to have multiple tabs open ...
5 years, 5 months ago (2015-07-15 17:12:31 UTC) #9
Alexei Svitkine (slow)
LGTM assuming the sparse change will come in a follow-up CL. Thanks!
5 years, 5 months ago (2015-07-15 17:23:21 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1235243005/1
5 years, 5 months ago (2015-07-15 17:27:09 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-07-15 20:15:43 UTC) #14
ortuno
https://codereview.chromium.org/1235243005/diff/1/content/browser/bluetooth/bluetooth_dispatcher_host.cc File content/browser/bluetooth/bluetooth_dispatcher_host.cc (right): https://codereview.chromium.org/1235243005/diff/1/content/browser/bluetooth/bluetooth_dispatcher_host.cc#newcode234 content/browser/bluetooth/bluetooth_dispatcher_host.cc:234: std::make_pair(thread_id, request_id), Would an iframe and it's parent use ...
5 years, 5 months ago (2015-07-15 22:39:12 UTC) #15
ortuno
5 years, 5 months ago (2015-07-15 22:39:14 UTC) #16
ortuno
https://codereview.chromium.org/1235243005/diff/1/content/browser/bluetooth/bluetooth_dispatcher_host.h File content/browser/bluetooth/bluetooth_dispatcher_host.h (right): https://codereview.chromium.org/1235243005/diff/1/content/browser/bluetooth/bluetooth_dispatcher_host.h#newcode54 content/browser/bluetooth/bluetooth_dispatcher_host.h:54: struct RequestDeviceSession; On 2015/07/15 at 22:39:12, ortuno wrote: > ...
5 years, 5 months ago (2015-07-15 23:10:18 UTC) #17
Jeffrey Yasskin
On 2015/07/15 17:12:31, scheib wrote: > Code LGTM, but a design Q: > > It ...
5 years, 5 months ago (2015-07-17 01:07:23 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1235243005/20001
5 years, 5 months ago (2015-07-17 01:10:36 UTC) #20
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-07-17 03:00:28 UTC) #22
ortuno
lgtm https://codereview.chromium.org/1235243005/diff/1/content/browser/bluetooth/bluetooth_dispatcher_host.h File content/browser/bluetooth/bluetooth_dispatcher_host.h (right): https://codereview.chromium.org/1235243005/diff/1/content/browser/bluetooth/bluetooth_dispatcher_host.h#newcode54 content/browser/bluetooth/bluetooth_dispatcher_host.h:54: struct RequestDeviceSession; On 2015/07/17 at 01:07:23, Jeffrey Yasskin ...
5 years, 5 months ago (2015-07-17 16:13:46 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1235243005/20001
5 years, 5 months ago (2015-07-18 00:10:35 UTC) #26
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 5 months ago (2015-07-18 00:14:55 UTC) #27
commit-bot: I haz the power
5 years, 5 months ago (2015-07-18 00:15:52 UTC) #28
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ba252308adb747c82eb89d88687bc72fc313c5f2
Cr-Commit-Position: refs/heads/master@{#339362}

Powered by Google App Engine
This is Rietveld 408576698