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

Issue 1908523002: bluetooth: Make IsGattServicesDiscoveryComplete virtual (Closed)

Created:
4 years, 8 months ago by ortuno
Modified:
4 years, 8 months ago
Reviewers:
scheib
CC:
chromium-reviews, darin-cc_chromium.org, jam, jochen+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, ortuno+watch_chromium.org, Peter Beverloo, scheib+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@my-origin
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Make IsGattServicesDiscoveryComplete virtual Also makes SetServicesDiscoveryComplete virtual. This way we can have different implementations of these functions. Also modifies mock adapters to specify what this now virtual functions return. BUG=599472 Committed: https://crrev.com/3a9e2d9a44fa1de031a5ad7e905e4ca4dbdfb826 Cr-Commit-Position: refs/heads/master@{#388563}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address scheib's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -28 lines) Patch
M content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc View 1 3 chunks +21 lines, -26 lines 0 comments Download
M device/bluetooth/bluetooth_device.h View 1 chunk +2 lines, -2 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_device.h View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
ortuno
scheib: PTAL
4 years, 8 months ago (2016-04-20 15:14:08 UTC) #2
scheib
LGTM with a code ordering change request: https://codereview.chromium.org/1908523002/diff/1/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc File content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc (right): https://codereview.chromium.org/1908523002/diff/1/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc#newcode459 content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc:459: if (services.size() ...
4 years, 8 months ago (2016-04-20 17:50:35 UTC) #3
ortuno
Thanks! https://codereview.chromium.org/1908523002/diff/1/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc File content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc (right): https://codereview.chromium.org/1908523002/diff/1/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc#newcode459 content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc:459: if (services.size() > 0) { On 2016/04/20 at ...
4 years, 8 months ago (2016-04-20 18:03:19 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1908523002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1908523002/20001
4 years, 8 months ago (2016-04-20 18:03:41 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-20 20:08:32 UTC) #8
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:25:56 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3a9e2d9a44fa1de031a5ad7e905e4ca4dbdfb826
Cr-Commit-Position: refs/heads/master@{#388563}

Powered by Google App Engine
This is Rietveld 408576698