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

Issue 2567903004: Replace ScopedVector/ScopedPtrHashMap with std::vector and std::unordered_map (Closed)

Created:
4 years ago by dougt
Modified:
3 years, 11 months ago
CC:
chromium-reviews, scheib+watch_chromium.org, ortuno+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace ScopedVector/ScopedPtrHashMap with std::vector and std::unordered_map BUG=639089

Patch Set 1 #

Total comments: 3

Patch Set 2 : Replace ScopedVector/ScopedPtrHashMap with std::vector and std::unordered_map #

Total comments: 81

Patch Set 3 : reillyg comments #

Patch Set 4 : Mac bustage #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+461 lines, -450 lines) Patch
M device/bluetooth/bluetooth_adapter.h View 1 1 chunk +6 lines, -6 lines 0 comments Download
M device/bluetooth/bluetooth_adapter.cc View 1 4 chunks +6 lines, -8 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_android.cc View 1 2 2 chunks +7 lines, -4 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_mac.mm View 1 2 4 chunks +17 lines, -7 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_mac_unittest.mm View 1 2 3 2 chunks +2 lines, -2 lines 1 comment Download
M device/bluetooth/bluetooth_adapter_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M device/bluetooth/bluetooth_adapter_win.h View 1 chunk +3 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_win.cc View 1 2 4 chunks +18 lines, -19 lines 0 comments Download
M device/bluetooth/bluetooth_adapter_win_unittest.cc View 1 2 5 chunks +23 lines, -25 lines 0 comments Download
M device/bluetooth/bluetooth_device.h View 1 4 chunks +15 lines, -14 lines 0 comments Download
M device/bluetooth/bluetooth_device.cc View 1 2 chunks +12 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_device_android.cc View 1 2 1 chunk +7 lines, -10 lines 0 comments Download
M device/bluetooth/bluetooth_device_unittest.cc View 1 5 chunks +5 lines, -5 lines 0 comments Download
M device/bluetooth/bluetooth_device_win.h View 1 2 chunks +6 lines, -4 lines 0 comments Download
M device/bluetooth/bluetooth_device_win.cc View 1 2 9 chunks +53 lines, -71 lines 0 comments Download
M device/bluetooth/bluetooth_device_win_unittest.cc View 1 2 2 chunks +7 lines, -6 lines 0 comments Download
M device/bluetooth/bluetooth_discovery_filter.h View 1 chunk +1 line, -1 line 0 comments Download
M device/bluetooth/bluetooth_discovery_filter.cc View 1 2 2 chunks +7 lines, -7 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_device_mac.mm View 1 2 4 chunks +22 lines, -13 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_win.h View 1 4 chunks +3 lines, -4 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_win.cc View 1 2 6 chunks +8 lines, -8 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_win_fake.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M device/bluetooth/bluetooth_low_energy_win_fake.cc View 1 2 6 chunks +12 lines, -16 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_characteristic_android.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_characteristic_android.cc View 1 2 3 chunks +7 lines, -8 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_service_android.h View 1 1 chunk +2 lines, -3 lines 0 comments Download
M device/bluetooth/bluetooth_remote_gatt_service_android.cc View 1 2 3 chunks +11 lines, -10 lines 0 comments Download
M device/bluetooth/bluetooth_task_manager_win.h View 1 2 9 chunks +42 lines, -29 lines 0 comments Download
M device/bluetooth/bluetooth_task_manager_win.cc View 1 2 20 chunks +54 lines, -71 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_adapter_bluez.cc View 1 5 chunks +28 lines, -20 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_bluez_unittest.cc View 3 chunks +4 lines, -6 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_device_bluez.h View 1 2 chunks +7 lines, -8 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_device_bluez.cc View 1 2 2 chunks +28 lines, -22 lines 0 comments Download
M device/bluetooth/bluez/bluetooth_gatt_bluez_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M device/bluetooth/test/bluetooth_test.h View 1 chunk +3 lines, -3 lines 0 comments Download
M device/bluetooth/test/bluetooth_test.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_adapter.h View 1 chunk +1 line, -1 line 0 comments Download
M device/bluetooth/test/mock_bluetooth_adapter.cc View 1 2 1 chunk +9 lines, -9 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_device.h View 1 chunk +1 line, -1 line 0 comments Download
M device/bluetooth/test/mock_bluetooth_device.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M device/bluetooth/test/mock_bluetooth_gatt_service.h View 1 chunk +2 lines, -1 line 0 comments Download
M device/bluetooth/test/mock_bluetooth_gatt_service.cc View 2 chunks +5 lines, -7 lines 0 comments Download

Messages

Total messages: 49 (42 generated)
scheib
arguments should be const & if by reference, or * if being modified. https://google.github.io/styleguide/cppguide.html#Function_Parameter_Ordering https://google.github.io/styleguide/cppguide.html#Reference_Arguments ...
4 years ago (2016-12-13 00:51:06 UTC) #2
dougt
windows and android coming up later.
4 years ago (2016-12-15 05:03:51 UTC) #9
Reilly Grant (use Gerrit)
https://codereview.chromium.org/2567903004/diff/100001/device/bluetooth/bluetooth_adapter_android.cc File device/bluetooth/bluetooth_adapter_android.cc (right): https://codereview.chromium.org/2567903004/diff/100001/device/bluetooth/bluetooth_adapter_android.cc#newcode226 device/bluetooth/bluetooth_adapter_android.cc:226: } I would make the loop below contingent on ...
4 years ago (2016-12-21 22:25:16 UTC) #35
dougt
https://codereview.chromium.org/2567903004/diff/100001/device/bluetooth/bluetooth_adapter_android.cc File device/bluetooth/bluetooth_adapter_android.cc (right): https://codereview.chromium.org/2567903004/diff/100001/device/bluetooth/bluetooth_adapter_android.cc#newcode226 device/bluetooth/bluetooth_adapter_android.cc:226: } On 2016/12/21 22:25:13, Reilly Grant wrote: > I ...
4 years ago (2016-12-22 01:18:04 UTC) #39
Reilly Grant (use Gerrit)
Your updates look good to me. I'll do another in depth review when we get ...
3 years, 12 months ago (2016-12-22 22:00:53 UTC) #47
Reilly Grant (use Gerrit)
Heads up, avi@ came by and removed ScopedPtrHashMap usage from this code.
3 years, 11 months ago (2016-12-28 22:56:49 UTC) #48
dougt
3 years, 11 months ago (2017-01-09 17:22:18 UTC) #49
On 2016/12/28 22:56:49, Reilly Grant wrote:
> Heads up, avi@ came by and removed ScopedPtrHashMap usage from this code.

Avi@ also cleaned up ScopedVector. Woohoo!

Powered by Google App Engine
This is Rietveld 408576698