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

Issue 933823003: bluetooth: Modify DCHECK to conditionals in several BluetoothAdapterChromeOS methods. (Closed)

Created:
5 years, 10 months ago by scheib
Modified:
5 years, 10 months ago
Reviewers:
armansito
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Modify DCHECK to conditionals in several BluetoothAdapterChromeOS methods. Initial patch in https://codereview.chromium.org/848613003 used DCHECK in too many methods that should function even when the adapter is not present. BUG=452705 Committed: https://crrev.com/8b2a039c029653d4be508f6acce4cb162c68aea0 Cr-Commit-Position: refs/heads/master@{#317332}

Patch Set 1 #

Patch Set 2 : #

Total comments: 13

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+555 lines, -515 lines) Patch
M device/bluetooth/bluetooth_adapter_chromeos.h View 1 2 3 4 chunks +15 lines, -1 line 0 comments Download
M device/bluetooth/bluetooth_adapter_chromeos.cc View 1 2 3 13 chunks +38 lines, -31 lines 0 comments Download
M device/bluetooth/bluetooth_chromeos_unittest.cc View 1 2 3 92 chunks +502 lines, -483 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
scheib
5 years, 10 months ago (2015-02-17 19:36:34 UTC) #2
scheib
In BluetoothAdapterChromeOS::ProcessQueuedDiscoveryRequests I believe the correct thing there is to not have any conditional on ...
5 years, 10 months ago (2015-02-17 19:38:03 UTC) #3
armansito
On 2015/02/17 19:38:03, scheib wrote: > In BluetoothAdapterChromeOS::ProcessQueuedDiscoveryRequests I believe the > correct thing there ...
5 years, 10 months ago (2015-02-17 21:10:29 UTC) #4
scheib
Thanks, armansito PTAL at the expectations I've come up with for methods in the tests. ...
5 years, 10 months ago (2015-02-19 01:13:57 UTC) #6
armansito
https://codereview.chromium.org/933823003/diff/40001/device/bluetooth/bluetooth_adapter_chromeos.cc File device/bluetooth/bluetooth_adapter_chromeos.cc (right): https://codereview.chromium.org/933823003/diff/40001/device/bluetooth/bluetooth_adapter_chromeos.cc#newcode484 device/bluetooth/bluetooth_adapter_chromeos.cc:484: return; Since we don't really do anything, here I ...
5 years, 10 months ago (2015-02-19 01:44:47 UTC) #7
scheib
PTAL https://codereview.chromium.org/933823003/diff/40001/device/bluetooth/bluetooth_adapter_chromeos.cc File device/bluetooth/bluetooth_adapter_chromeos.cc (right): https://codereview.chromium.org/933823003/diff/40001/device/bluetooth/bluetooth_adapter_chromeos.cc#newcode484 device/bluetooth/bluetooth_adapter_chromeos.cc:484: return; On 2015/02/19 01:44:47, armansito wrote: > Since ...
5 years, 10 months ago (2015-02-19 21:34:15 UTC) #8
armansito
lgtm with some final comments. https://codereview.chromium.org/933823003/diff/40001/device/bluetooth/bluetooth_adapter_chromeos.h File device/bluetooth/bluetooth_adapter_chromeos.h (right): https://codereview.chromium.org/933823003/diff/40001/device/bluetooth/bluetooth_adapter_chromeos.h#newcode156 device/bluetooth/bluetooth_adapter_chromeos.h:156: friend class BluetoothChromeOSTest_Shutdown_Test; On ...
5 years, 10 months ago (2015-02-19 21:40:49 UTC) #9
scheib
PTAL https://codereview.chromium.org/933823003/diff/60001/device/bluetooth/bluetooth_adapter_chromeos.cc File device/bluetooth/bluetooth_adapter_chromeos.cc (right): https://codereview.chromium.org/933823003/diff/60001/device/bluetooth/bluetooth_adapter_chromeos.cc#newcode1218 device/bluetooth/bluetooth_adapter_chromeos.cc:1218: // the queue. On 2015/02/19 21:40:49, armansito wrote: ...
5 years, 10 months ago (2015-02-20 00:41:17 UTC) #11
armansito
lgtm
5 years, 10 months ago (2015-02-20 02:17:52 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/933823003/80001
5 years, 10 months ago (2015-02-20 16:23:44 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 10 months ago (2015-02-20 16:26:54 UTC) #15
commit-bot: I haz the power
5 years, 10 months ago (2015-02-20 16:27:24 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8b2a039c029653d4be508f6acce4cb162c68aea0
Cr-Commit-Position: refs/heads/master@{#317332}

Powered by Google App Engine
This is Rietveld 408576698