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

Issue 2606823002: Remove base::ScopedPtrHashMap from device/. (Closed)

Created:
3 years, 12 months ago by Avi (use Gerrit)
Modified:
3 years, 11 months ago
CC:
chromium-reviews, mac-reviews_chromium.org, ortuno+watch_chromium.org, scheib+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove base::ScopedPtrHashMap from device/. BUG=579229 Committed: https://crrev.com/15b1f5307b13a30002693aa1907819c447db4954 Cr-Commit-Position: refs/heads/master@{#440902}

Patch Set 1 #

Patch Set 2 : fix #

Patch Set 3 : more bluez #

Patch Set 4 : different try #

Patch Set 5 : win #

Patch Set 6 : one last fix #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -178 lines) Patch
M device/bluetooth/bluetooth_adapter.h View 2 chunks +6 lines, -7 lines 0 comments Download
M device/bluetooth/bluetooth_adapter.cc View 5 chunks +9 lines, -12 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_android.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_mac.mm View 4 chunks +5 lines, -6 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_mac_unittest.mm View 2 chunks +1 line, -5 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_win.cc View 2 chunks +15 lines, -26 lines 0 comments Download
M device/bluetooth/bluetooth_device.h View 1 2 3 4 5 chunks +10 lines, -5 lines 0 comments Download
M device/bluetooth/bluetooth_device.cc View 1 2 3 4 4 chunks +13 lines, -7 lines 0 comments Download
M device/bluetooth/bluetooth_device_android.cc View 1 1 chunk +8 lines, -8 lines 2 comments Download
M device/bluetooth/bluetooth_device_win.cc View 1 2 3 4 5 10 chunks +30 lines, -37 lines 2 comments Download
M device/bluetooth/bluetooth_low_energy_device_mac.mm View 4 chunks +10 lines, -11 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_characteristic_android.h View 2 chunks +3 lines, -3 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc View 3 chunks +6 lines, -7 lines 2 comments Download
M device/bluetooth/bluetooth_remote_gatt_service_android.h View 2 chunks +3 lines, -4 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_service_android.cc View 3 chunks +5 lines, -6 lines 2 comments Download
M device/bluetooth/bluez/bluetooth_adapter_bluez.cc View 1 2 7 chunks +16 lines, -22 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_device_bluez.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M device/bluetooth/bluez/bluetooth_device_bluez.cc View 1 2 3 5 chunks +7 lines, -7 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_remote_gatt_service_bluez.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 36 (29 generated)
Avi (use Gerrit)
To any reviewer in the office.
3 years, 11 months ago (2016-12-28 21:54:08 UTC) #26
Ken Rockot(use gerrit already)
Woohoo! LGTM
3 years, 11 months ago (2016-12-28 22:19:25 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2606823002/100001
3 years, 11 months ago (2016-12-28 22:22:49 UTC) #29
commit-bot: I haz the power
Committed patchset #6 (id:100001)
3 years, 11 months ago (2016-12-28 22:27:14 UTC) #32
Reilly Grant (use Gerrit)
I was too slow, still, some nits. https://codereview.chromium.org/2606823002/diff/100001/device/bluetooth/bluetooth_device_android.cc File device/bluetooth/bluetooth_device_android.cc (right): https://codereview.chromium.org/2606823002/diff/100001/device/bluetooth/bluetooth_device_android.cc#newcode249 device/bluetooth/bluetooth_device_android.cc:249: if (gatt_services_.find(instance_id_string) ...
3 years, 11 months ago (2016-12-28 22:48:02 UTC) #33
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/15b1f5307b13a30002693aa1907819c447db4954 Cr-Commit-Position: refs/heads/master@{#440902}
3 years, 11 months ago (2017-01-02 15:50:36 UTC) #35
Avi (use Gerrit)
3 years, 11 months ago (2017-01-02 19:42:26 UTC) #36
Message was sent while issue was closed.
https://codereview.chromium.org/2606823002/diff/100001/device/bluetooth/bluet...
File device/bluetooth/bluetooth_device_android.cc (right):

https://codereview.chromium.org/2606823002/diff/100001/device/bluetooth/bluet...
device/bluetooth/bluetooth_device_android.cc:249: if
(gatt_services_.find(instance_id_string) != gatt_services_.end())
On 2016/12/28 22:48:01, Reilly Grant wrote:
> if (base::ContainsKey(gatt_services_, instance_id_string))

Done.

https://codereview.chromium.org/2606823002/diff/100001/device/bluetooth/bluet...
File device/bluetooth/bluetooth_device_win.cc (right):

https://codereview.chromium.org/2606823002/diff/100001/device/bluetooth/bluet...
device/bluetooth/bluetooth_device_win.cc:242:
std::unique_ptr<BluetoothServiceRecordWin> service_record =
On 2016/12/28 22:48:01, Reilly Grant wrote:
> auto service_record = 

Done.

https://codereview.chromium.org/2606823002/diff/100001/device/bluetooth/bluet...
File device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc (right):

https://codereview.chromium.org/2606823002/diff/100001/device/bluetooth/bluet...
device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc:244:
DCHECK(descriptors_.find(instanceIdString) == descriptors_.end());
On 2016/12/28 22:48:01, Reilly Grant wrote:
> DCHECK(!base::ContainsKey(descriptors_, instanceIdString));

Done.

https://codereview.chromium.org/2606823002/diff/100001/device/bluetooth/bluet...
File device/bluetooth/bluetooth_remote_gatt_service_android.cc (right):

https://codereview.chromium.org/2606823002/diff/100001/device/bluetooth/bluet...
device/bluetooth/bluetooth_remote_gatt_service_android.cc:169:
DCHECK(characteristics_.find(instance_id_string) == characteristics_.end());
On 2016/12/28 22:48:01, Reilly Grant wrote:
> !base::ContainsKey

Done.

Powered by Google App Engine
This is Rietveld 408576698