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

Issue 2310683002: Remove most ScopedVector usage from c/b/extensions. (Closed)

Created:
4 years, 3 months ago by lazyboy
Modified:
4 years, 3 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, sync-reviews_chromium.org, miu+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove most ScopedVector usage from c/b/extensions. Replace them with vector<unique_ptr<T>>. After this CL there will be only 3 places where ScopedVector would still be around. Since those (language_settings_private_delegate.cc, web_navigation_apitest.cc and chrome_content_browser_client_extensions_part.cc) are non-trivial, I will try to remove ScopedVector from them in subsequent CLs. BUG=556939 Test=None, internal only change. Committed: https://crrev.com/4aeef2005e69892c90c3adec9607f4ef378fd533 Cr-Commit-Position: refs/heads/master@{#417042}

Patch Set 1 #

Patch Set 2 : cleaned up #

Total comments: 8

Patch Set 3 : address comments #

Patch Set 4 : fix webstore_api #

Total comments: 4

Patch Set 5 : remove scoped_vector includes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+246 lines, -231 lines) Patch
M chrome/browser/chromeos/customization/customization_document_unittest.cc View 1 chunk +6 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc View 1 chunk +6 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/developer_private/developer_private_api_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/gcd_private/privet_v3_session.h View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/api/gcd_private/privet_v3_session.cc View 1 2 3 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.cc View 1 2 3 chunks +8 lines, -13 lines 0 comments Download
M chrome/browser/extensions/api/signed_in_devices/id_mapping_helper_unittest.cc View 1 3 chunks +16 lines, -25 lines 0 comments Download
M chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.h View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.cc View 1 6 chunks +9 lines, -13 lines 0 comments Download
M chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api_unittest.cc View 4 chunks +14 lines, -18 lines 0 comments Download
M chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager.h View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager.cc View 4 chunks +12 lines, -16 lines 0 comments Download
M chrome/browser/extensions/api/storage/setting_sync_data.h View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/api/storage/settings_sync_unittest.cc View 6 chunks +10 lines, -13 lines 0 comments Download
M chrome/browser/extensions/api/storage/syncable_settings_storage.cc View 5 chunks +9 lines, -9 lines 0 comments Download
M chrome/browser/extensions/api/tab_capture/offscreen_tab.h View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/api/tab_capture/offscreen_tab.cc View 1 2 2 chunks +15 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/tab_capture/tab_capture_registry.h View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc View 1 2 3 5 chunks +19 lines, -17 lines 0 comments Download
M chrome/browser/extensions/api/webstore_private/webstore_private_api.cc View 1 2 3 3 chunks +10 lines, -9 lines 0 comments Download
M chrome/browser/extensions/extension_management.h View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extension_management.cc View 3 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_service.h View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 chunk +8 lines, -6 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 2 chunks +10 lines, -6 lines 0 comments Download
M chrome/browser/extensions/external_policy_loader_unittest.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/external_provider_impl.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/external_provider_impl.cc View 5 chunks +19 lines, -12 lines 0 comments Download
M chrome/browser/extensions/window_open_apitest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M components/sync/device_info/device_count_metrics_provider_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/sync/device_info/device_info_service.h View 1 chunk +2 lines, -1 line 0 comments Download
M components/sync/device_info/device_info_service.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M components/sync/device_info/device_info_service_unittest.cc View 1 2 3 4 8 chunks +8 lines, -7 lines 0 comments Download
M components/sync/device_info/device_info_sync_service.h View 1 2 3 4 2 chunks +1 line, -2 lines 0 comments Download
M components/sync/device_info/device_info_sync_service.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M components/sync/device_info/device_info_tracker.h View 1 2 3 4 2 chunks +1 line, -2 lines 0 comments Download
M extensions/browser/external_provider_interface.h View 1 chunk +4 lines, -2 lines 0 comments Download
M extensions/browser/management_policy.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M extensions/browser/management_policy.cc View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 31 (20 generated)
lazyboy
Antony, can you take a look? I'll add other OWNERS once you're happy with the ...
4 years, 3 months ago (2016-09-02 23:14:18 UTC) #2
asargent_no_longer_on_chrome
CL description nit: the 3 paths you mention in items 1-3 of the description do ...
4 years, 3 months ago (2016-09-06 22:12:40 UTC) #7
lazyboy
re: 3 places mentioned in CL: those are places this CL is not touching, I've ...
4 years, 3 months ago (2016-09-06 23:49:38 UTC) #9
asargent_no_longer_on_chrome
lgtm
4 years, 3 months ago (2016-09-06 23:55:22 UTC) #10
lazyboy
+stanisc@chromium.org for components/sync/* +xiyuan@chromium.org for customization_document_unittest.cc
4 years, 3 months ago (2016-09-07 04:14:35 UTC) #18
xiyuan
customization_document_unittest.cc lgtm
4 years, 3 months ago (2016-09-07 16:11:24 UTC) #21
pavely
components/sync/* lgtm % couple of comments. https://codereview.chromium.org/2310683002/diff/60001/components/sync/device_info/device_info_sync_service.h File components/sync/device_info/device_info_sync_service.h (right): https://codereview.chromium.org/2310683002/diff/60001/components/sync/device_info/device_info_sync_service.h#newcode15 components/sync/device_info/device_info_sync_service.h:15: #include "base/memory/scoped_vector.h" Could ...
4 years, 3 months ago (2016-09-07 17:03:59 UTC) #23
lazyboy
https://codereview.chromium.org/2310683002/diff/60001/components/sync/device_info/device_info_sync_service.h File components/sync/device_info/device_info_sync_service.h (right): https://codereview.chromium.org/2310683002/diff/60001/components/sync/device_info/device_info_sync_service.h#newcode15 components/sync/device_info/device_info_sync_service.h:15: #include "base/memory/scoped_vector.h" On 2016/09/07 17:03:59, pavely wrote: > Could ...
4 years, 3 months ago (2016-09-07 19:45:03 UTC) #24
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/2310683002/80001
4 years, 3 months ago (2016-09-07 19:50:41 UTC) #27
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 3 months ago (2016-09-07 21:30:00 UTC) #29
commit-bot: I haz the power
4 years, 3 months ago (2016-09-07 21:31:48 UTC) #31
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4aeef2005e69892c90c3adec9607f4ef378fd533
Cr-Commit-Position: refs/heads/master@{#417042}

Powered by Google App Engine
This is Rietveld 408576698