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

Issue 2403773002: Remove stl_util's STLDeleteContainerPointers from autofill. (Closed)

Created:
4 years, 2 months ago by Avi (use Gerrit)
Modified:
4 years, 2 months ago
CC:
chromium-reviews, rouslan+autofill_chromium.org, browser-components-watch_chromium.org, jdonnelly+autofillwatch_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org, sync-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove stl_util's STLDeleteContainerPointers and ScopedVector from autofill, do more general ownership cleanup, and fix random typos. BUG=555865, 554289 Committed: https://crrev.com/1ce1e60022566d580ddcf30dcb1f03d0426731a2 Cr-Commit-Position: refs/heads/master@{#426232}

Patch Set 1 #

Patch Set 2 : r2 #

Patch Set 3 : mobile #

Patch Set 4 : missed a few #

Patch Set 5 : frecency is a thing #

Patch Set 6 : rebase #

Total comments: 9

Patch Set 7 : vabr #

Total comments: 4

Patch Set 8 : rebase #

Patch Set 9 : bauerb + rebase/fix #

Total comments: 14

Patch Set 10 : pkasting #

Patch Set 11 : pkasting #

Patch Set 12 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+854 lines, -817 lines) Patch
M android_webview/browser/aw_form_database_service.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M android_webview/browser/aw_form_database_service.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/autofill/form_structure_browsertest.cc View 1 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/password_manager/password_store_win.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/password_manager/password_store_win_unittest.cc View 1 2 3 3 chunks +10 lines, -4 lines 0 comments Download
M chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/signin/mutable_profile_oauth2_token_service_delegate.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/sync/test/integration/autofill_helper.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/test/integration/autofill_helper.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/core/browser/autocomplete_history_manager.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M components/autofill/core/browser/autocomplete_history_manager.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M components/autofill/core/browser/autofill-inl.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_assistant.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/core/browser/autofill_assistant.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M components/autofill/core/browser/autofill_assistant_unittest.cc View 1 2 3 4 5 6 7 8 6 chunks +12 lines, -9 lines 0 comments Download
M components/autofill/core/browser/autofill_manager.h View 1 4 chunks +5 lines, -4 lines 0 comments Download
M components/autofill/core/browser/autofill_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 8 chunks +15 lines, -12 lines 0 comments Download
M components/autofill/core/browser/autofill_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 23 chunks +105 lines, -91 lines 0 comments Download
M components/autofill/core/browser/autofill_merge_unittest.cc View 1 3 chunks +10 lines, -7 lines 0 comments Download
M components/autofill/core/browser/autofill_metrics_unittest.cc View 1 2 3 4 5 6 7 15 chunks +92 lines, -83 lines 0 comments Download
M components/autofill/core/browser/form_structure_unittest.cc View 1 22 chunks +57 lines, -44 lines 0 comments Download
M components/autofill/core/browser/personal_data_manager.h View 1 2 3 4 7 chunks +16 lines, -15 lines 0 comments Download
M components/autofill/core/browser/personal_data_manager.cc View 1 2 3 4 5 34 chunks +72 lines, -65 lines 0 comments Download
M components/autofill/core/browser/personal_data_manager_unittest.cc View 1 2 3 4 5 6 6 chunks +54 lines, -46 lines 0 comments Download
M components/autofill/core/browser/test_personal_data_manager.h View 1 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/core/browser/test_personal_data_manager.cc View 1 3 chunks +5 lines, -5 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_profile_syncable_service.h View 1 4 chunks +6 lines, -6 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc View 1 11 chunks +28 lines, -26 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc View 1 33 chunks +77 lines, -72 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_table.h View 4 chunks +12 lines, -13 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_table.cc View 12 chunks +18 lines, -14 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_table_unittest.cc View 25 chunks +23 lines, -33 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc View 1 1 chunk +9 lines, -9 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_wallet_syncable_service.cc View 1 2 3 4 5 6 3 chunks +8 lines, -8 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_webdata_backend_impl.h View 1 chunk +0 lines, -5 lines 0 comments Download
M components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc View 1 2 3 4 5 5 chunks +16 lines, -46 lines 0 comments Download
M components/autofill/core/browser/webdata/web_data_service_unittest.cc View 1 2 3 19 chunks +31 lines, -31 lines 0 comments Download
M components/browser_sync/profile_sync_service_autofill_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 14 chunks +84 lines, -49 lines 0 comments Download
M components/browsing_data/core/counters/autofill_counter.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M components/browsing_data/core/counters/autofill_counter.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +18 lines, -24 lines 0 comments Download
M components/search_engines/template_url_service.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M components/search_engines/template_url_service.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M components/webdata/common/web_data_request_manager.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M components/webdata/common/web_data_request_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +5 lines, -10 lines 0 comments Download
M components/webdata/common/web_data_results.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +12 lines, -43 lines 0 comments Download
M components/webdata/common/web_data_service_consumer.h View 1 2 3 4 5 6 7 8 9 2 chunks +8 lines, -5 lines 0 comments Download

Messages

Total messages: 77 (55 generated)
Avi (use Gerrit)
michaelbai: aw/ isherman: components/autofill, chrome/browser/autofill, chrome/browser/password_manager zea: components/browser_sync, chrome/browser/sync bauerb: components/browsing_data pkasting: components/search_engines, components/webdata, chrome/browser/ui/search_engines ...
4 years, 2 months ago (2016-10-13 18:06:03 UTC) #28
Nicolas Zea
sync lgtm
4 years, 2 months ago (2016-10-14 02:17:43 UTC) #29
vabr (Chromium)
Thanks for this great clean-up! components/autofill LGTM with some optional comments. Cheers, Vaclav https://codereview.chromium.org/2403773002/diff/100001/components/autofill/core/browser/autofill_manager.h File ...
4 years, 2 months ago (2016-10-14 07:24:43 UTC) #31
vabr (Chromium)
On 2016/10/14 07:24:43, vabr (Chromium) wrote: > Thanks for this great clean-up! > > components/autofill ...
4 years, 2 months ago (2016-10-14 07:26:15 UTC) #32
vabr (Chromium)
https://codereview.chromium.org/2403773002/diff/100001/components/autofill/core/browser/autofill_manager.h File components/autofill/core/browser/autofill_manager.h (left): https://codereview.chromium.org/2403773002/diff/100001/components/autofill/core/browser/autofill_manager.h#oldcode18 components/autofill/core/browser/autofill_manager.h:18: #include "base/memory/scoped_vector.h" On 2016/10/14 07:24:43, vabr (Chromium) wrote: > ...
4 years, 2 months ago (2016-10-14 07:27:25 UTC) #33
michaelbai
android_webview LGTM
4 years, 2 months ago (2016-10-14 17:09:36 UTC) #39
Avi (use Gerrit)
https://codereview.chromium.org/2403773002/diff/100001/components/autofill/core/browser/autofill_manager.h File components/autofill/core/browser/autofill_manager.h (left): https://codereview.chromium.org/2403773002/diff/100001/components/autofill/core/browser/autofill_manager.h#oldcode18 components/autofill/core/browser/autofill_manager.h:18: #include "base/memory/scoped_vector.h" On 2016/10/14 07:27:25, vabr (OOO until 17 ...
4 years, 2 months ago (2016-10-16 20:05:54 UTC) #41
Bernhard Bauer
https://codereview.chromium.org/2403773002/diff/120001/components/browsing_data/core/counters/autofill_counter.cc File components/browsing_data/core/counters/autofill_counter.cc (right): https://codereview.chromium.org/2403773002/diff/120001/components/browsing_data/core/counters/autofill_counter.cc#newcode103 components/browsing_data/core/counters/autofill_counter.cc:103: std::vector<std::unique_ptr<autofill::CreditCard>> credit_cards = std::move( Ugh, this is really not ...
4 years, 2 months ago (2016-10-17 14:53:18 UTC) #42
Avi (use Gerrit)
https://codereview.chromium.org/2403773002/diff/120001/components/browsing_data/core/counters/autofill_counter.cc File components/browsing_data/core/counters/autofill_counter.cc (right): https://codereview.chromium.org/2403773002/diff/120001/components/browsing_data/core/counters/autofill_counter.cc#newcode103 components/browsing_data/core/counters/autofill_counter.cc:103: std::vector<std::unique_ptr<autofill::CreditCard>> credit_cards = std::move( On 2016/10/17 14:53:18, Bernhard Bauer ...
4 years, 2 months ago (2016-10-17 15:04:10 UTC) #43
Bernhard Bauer
https://codereview.chromium.org/2403773002/diff/120001/components/browsing_data/core/counters/autofill_counter.cc File components/browsing_data/core/counters/autofill_counter.cc (right): https://codereview.chromium.org/2403773002/diff/120001/components/browsing_data/core/counters/autofill_counter.cc#newcode103 components/browsing_data/core/counters/autofill_counter.cc:103: std::vector<std::unique_ptr<autofill::CreditCard>> credit_cards = std::move( On 2016/10/17 15:04:10, Avi wrote: ...
4 years, 2 months ago (2016-10-17 16:27:59 UTC) #48
Avi (use Gerrit)
https://codereview.chromium.org/2403773002/diff/120001/components/browsing_data/core/counters/autofill_counter.cc File components/browsing_data/core/counters/autofill_counter.cc (right): https://codereview.chromium.org/2403773002/diff/120001/components/browsing_data/core/counters/autofill_counter.cc#newcode103 components/browsing_data/core/counters/autofill_counter.cc:103: std::vector<std::unique_ptr<autofill::CreditCard>> credit_cards = std::move( On 2016/10/17 16:27:59, Bernhard Bauer ...
4 years, 2 months ago (2016-10-17 16:50:33 UTC) #51
Bernhard Bauer
Thanks! LGTM.
4 years, 2 months ago (2016-10-17 16:54:26 UTC) #52
Peter Kasting
Only one substantial concern. https://codereview.chromium.org/2403773002/diff/160001/components/webdata/common/web_data_request_manager.cc File components/webdata/common/web_data_request_manager.cc (right): https://codereview.chromium.org/2403773002/diff/160001/components/webdata/common/web_data_request_manager.cc#newcode84 components/webdata/common/web_data_request_manager.cc:84: for (auto i = pending_requests_.begin(); ...
4 years, 2 months ago (2016-10-17 18:28:38 UTC) #55
Avi (use Gerrit)
https://codereview.chromium.org/2403773002/diff/160001/components/webdata/common/web_data_request_manager.cc File components/webdata/common/web_data_request_manager.cc (right): https://codereview.chromium.org/2403773002/diff/160001/components/webdata/common/web_data_request_manager.cc#newcode84 components/webdata/common/web_data_request_manager.cc:84: for (auto i = pending_requests_.begin(); i != pending_requests_.end(); ++i) ...
4 years, 2 months ago (2016-10-17 19:05:42 UTC) #57
Peter Kasting
LGTM https://codereview.chromium.org/2403773002/diff/160001/components/webdata/common/web_data_request_manager.cc File components/webdata/common/web_data_request_manager.cc (right): https://codereview.chromium.org/2403773002/diff/160001/components/webdata/common/web_data_request_manager.cc#newcode104 components/webdata/common/web_data_request_manager.cc:104: NOTREACHED() << "Canceling a nonexistent web data service ...
4 years, 2 months ago (2016-10-17 20:41:52 UTC) #59
Avi (use Gerrit)
On 2016/10/17 20:41:52, Peter Kasting wrote: > LGTM > > https://codereview.chromium.org/2403773002/diff/160001/components/webdata/common/web_data_request_manager.cc > File components/webdata/common/web_data_request_manager.cc (right): ...
4 years, 2 months ago (2016-10-17 20:55:12 UTC) #60
Andrew T Wilson (Slow)
browser/signin LGTM
4 years, 2 months ago (2016-10-19 05:00:49 UTC) #65
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/2403773002/200001
4 years, 2 months ago (2016-10-19 05:53:52 UTC) #68
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/89858)
4 years, 2 months ago (2016-10-19 06:08:00 UTC) #70
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/2403773002/220001
4 years, 2 months ago (2016-10-19 16:25:40 UTC) #73
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 2 months ago (2016-10-19 17:26:20 UTC) #75
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:09:47 UTC) #77
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/1ce1e60022566d580ddcf30dcb1f03d0426731a2
Cr-Commit-Position: refs/heads/master@{#426232}

Powered by Google App Engine
This is Rietveld 408576698