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

Issue 1991063002: Implement the gattserverdisconnected event. (Closed)

Created:
4 years, 7 months ago by Jeffrey Yasskin
Modified:
4 years, 7 months ago
Reviewers:
palmer, scheib
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, Aaron Boodman, Peter Beverloo, darin (slow to review), viettrungluu+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, haraken, blink-reviews, dglazkov+blink, scheib+watch_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, ortuno+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, ben+mojo_chromium.org, blink-reviews-api_chromium.org, jochen+watch_chromium.org, qsr+mojo_chromium.org, ortuno
Base URL:
https://chromium.googlesource.com/chromium/src.git@rename-web-bluetooth-device
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 8

Patch Set 2 : Fix Vincent's comments, especially disconnecting by writing to a characteristic. #

Patch Set 3 : Skip the new tests on Mac, where getCharacteristic isn't implemented yet. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+296 lines, -7 lines) Patch
M content/browser/bluetooth/web_bluetooth_service_impl.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M content/renderer/bluetooth/web_bluetooth_impl.h View 3 chunks +8 lines, -0 lines 0 comments Download
M content/renderer/bluetooth/web_bluetooth_impl.cc View 4 chunks +16 lines, -0 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h View 1 1 chunk +18 lines, -0 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc View 1 3 chunks +50 lines, -0 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_device.h View 1 chunk +3 lines, -0 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_device.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/connect/connect-disconnected-connect.html View 1 1 chunk +31 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/disconnect/disconnect-fires-event.html View 1 chunk +21 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/gattserverdisconnected-event/disconnected.html View 1 1 chunk +25 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/gattserverdisconnected-event/disconnected_gc.html View 1 1 chunk +25 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/bluetooth/gattserverdisconnected-event/one-event-per-disconnection.html View 1 1 chunk +34 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/resources/bluetooth/bluetooth-helpers.js View 1 2 chunks +13 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h View 3 chunks +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp View 1 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.cpp View 2 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h View 2 chunks +3 lines, -1 line 0 comments Download
A third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothDevice.h View 1 1 chunk +19 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
Jeffrey Yasskin
Vincent, please look at most of the CL. Chris, please look at the mojom: https://codereview.chromium.org/1991063002/diff/1/third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom
4 years, 7 months ago (2016-05-19 00:32:27 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/1991063002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1991063002/1
4 years, 7 months ago (2016-05-19 00:33:16 UTC) #4
scheib
https://codereview.chromium.org/1991063002/diff/1/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h File content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h (right): https://codereview.chromium.org/1991063002/diff/1/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h#newcode197 content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h:197: // - Request Disconnection Service - Getting characteristics will ...
4 years, 7 months ago (2016-05-19 01:26:57 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/230470)
4 years, 7 months ago (2016-05-19 02:42:01 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1991063002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1991063002/40001
4 years, 7 months ago (2016-05-19 17:46:53 UTC) #9
Jeffrey Yasskin
https://codereview.chromium.org/1991063002/diff/1/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h File content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h (right): https://codereview.chromium.org/1991063002/diff/1/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h#newcode197 content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h:197: // - Request Disconnection Service - Getting characteristics will ...
4 years, 7 months ago (2016-05-19 17:47:07 UTC) #10
scheib
LGTM
4 years, 7 months ago (2016-05-19 17:59:16 UTC) #11
palmer
lgtm
4 years, 7 months ago (2016-05-19 18:29:43 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1991063002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1991063002/40001
4 years, 7 months ago (2016-05-19 18:32:23 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-19 19:26:49 UTC) #16
commit-bot: I haz the power
4 years, 7 months ago (2016-05-19 19:28:30 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/91780826cccdef51542ac29eff5be5afa53f44ea
Cr-Commit-Position: refs/heads/master@{#394833}

Powered by Google App Engine
This is Rietveld 408576698