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

Issue 866983003: GetLoginsRequest: Use ScopedVector to express ownership of forms (Closed)

Created:
5 years, 11 months ago by vabr (Chromium)
Modified:
5 years, 10 months ago
CC:
chromium-reviews, gcasto+watchlist_chromium.org, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@324291_scopedvector
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

GetLoginsRequest: Use ScopedVector to express ownership of forms This is a clean-up, it follows up on https://codereview.chromium.org/825773003/. BUG=451018 Committed: https://crrev.com/64e9247a37f5b2c1cbf287d1a5c89d7fdb3571fe Cr-Commit-Position: refs/heads/master@{#315341}

Patch Set 1 #

Patch Set 2 : Rebased #

Patch Set 3 : All on Linux compiles #

Patch Set 4 : Attempt to make Mac and Win compile #

Patch Set 5 : More Win & Mac compilation fixes #

Patch Set 6 : Fix use-after-free #

Patch Set 7 : More Mac compilation fixes #

Patch Set 8 : Just rebased #

Patch Set 9 : PromptUserToChooseCredentials takes ScopedVector as well #

Patch Set 10 : More use-after-free mitigation #

Patch Set 11 : Now without typos! #

Total comments: 2

Patch Set 12 : Minor edits #

Patch Set 13 : Rebased #

Total comments: 34

Patch Set 14 : Just rebased #

Patch Set 15 : Easy comments addressed #

Patch Set 16 : OnGetPasswordStoreResults(ScopedVector) #

Patch Set 17 : Minor edits + Mac compilation fix #

Patch Set 18 : MaCompile! #

Patch Set 19 : Typos, typos #

Patch Set 20 : Fix Mac unittest #

Total comments: 42

Patch Set 21 : Just rebased #

Patch Set 22 : Comments addressed #

Patch Set 23 : Old MacDonald had farm, com-pile-com-pile-ooo #

Patch Set 24 : Just rebased on mkwst's changes #

Total comments: 18

Patch Set 25 : Further review comments #

Patch Set 26 : Just rebased #

Patch Set 27 : Rebased once more, on https://codereview.chromium.org/896803003 #

Patch Set 28 : Fixed aforementioned rebase #

Patch Set 29 : Second fix of the rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+740 lines, -823 lines) Patch
M chrome/browser/password_manager/chrome_password_manager_client.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/password_manager/chrome_password_manager_client.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -9 lines 0 comments Download
M chrome/browser/password_manager/password_store_mac.h View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/password_manager/password_store_mac.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +10 lines, -10 lines 0 comments Download
M chrome/browser/password_manager/password_store_mac_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 29 chunks +219 lines, -155 lines 0 comments Download
M chrome/browser/password_manager/password_store_win_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 13 chunks +30 lines, -46 lines 0 comments Download
M chrome/browser/password_manager/password_store_x.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/password_manager/password_store_x.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +14 lines, -12 lines 0 comments Download
M chrome/browser/password_manager/password_store_x_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 5 chunks +20 lines, -19 lines 0 comments Download
M chrome/browser/profiles/profile_manager_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/sync/test/integration/passwords_helper.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/sync/test/integration/passwords_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 6 chunks +46 lines, -63 lines 0 comments Download
M chrome/browser/sync/test/integration/performance/passwords_sync_perf_test.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +5 lines, -7 lines 0 comments Download
M chrome/browser/ui/passwords/password_manager_presenter.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/passwords/password_manager_presenter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +4 lines, -9 lines 0 comments Download
M components/password_manager/content/browser/credential_manager_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 5 chunks +58 lines, -64 lines 0 comments Download
M components/password_manager/content/browser/credential_manager_dispatcher_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +3 lines, -10 lines 0 comments Download
M components/password_manager/content/browser/credential_manager_password_form_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M components/password_manager/content/browser/credential_manager_password_form_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -2 lines 0 comments Download
M components/password_manager/core/browser/mock_password_store.h View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M components/password_manager/core/browser/password_form_data.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +5 lines, -7 lines 0 comments Download
M components/password_manager/core/browser/password_form_data.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +4 lines, -16 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +3 lines, -2 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 6 chunks +62 lines, -63 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 12 chunks +46 lines, -56 lines 0 comments Download
M components/password_manager/core/browser/password_manager_client.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -4 lines 0 comments Download
M components/password_manager/core/browser/password_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 33 chunks +42 lines, -78 lines 0 comments Download
M components/password_manager/core/browser/password_store.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 6 chunks +42 lines, -52 lines 0 comments Download
M components/password_manager/core/browser/password_store.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 7 chunks +26 lines, -43 lines 0 comments Download
M components/password_manager/core/browser/password_store_consumer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +3 lines, -4 lines 0 comments Download
M components/password_manager/core/browser/password_store_default.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -2 lines 0 comments Download
M components/password_manager/core/browser/password_store_default.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +7 lines, -14 lines 0 comments Download
M components/password_manager/core/browser/password_store_default_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 7 chunks +20 lines, -18 lines 0 comments Download
M components/password_manager/core/browser/password_store_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +17 lines, -19 lines 0 comments Download
M components/password_manager/core/browser/stub_password_manager_client.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M components/password_manager/core/browser/stub_password_manager_client.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -7 lines 0 comments Download
M components/password_manager/core/browser/test_password_store.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +3 lines, -5 lines 0 comments Download
M components/password_manager/core/browser/test_password_store.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 3 chunks +11 lines, -3 lines 0 comments Download

Messages

Total messages: 33 (11 generated)
vabr (Chromium)
Hi Vasilii, Please have a look. Take your time, this is not urgent. Thanks! Vaclav ...
5 years, 10 months ago (2015-02-02 17:23:37 UTC) #2
vasilii
https://codereview.chromium.org/866983003/diff/200001/components/password_manager/core/browser/password_store_consumer.cc File components/password_manager/core/browser/password_store_consumer.cc (right): https://codereview.chromium.org/866983003/diff/200001/components/password_manager/core/browser/password_store_consumer.cc#newcode6 components/password_manager/core/browser/password_store_consumer.cc:6: #include "components/autofill/core/common/password_form.h" On 2015/02/02 17:23:37, vabr (Chromium) wrote: > ...
5 years, 10 months ago (2015-02-03 19:22:17 UTC) #3
vabr (Chromium)
Thanks, Vasilii! I addressed your comments. Could you please review again_ Thanks, Vaclav https://codereview.chromium.org/866983003/diff/240001/chrome/browser/password_manager/password_store_win_unittest.cc File ...
5 years, 10 months ago (2015-02-04 16:13:45 UTC) #4
vasilii
https://codereview.chromium.org/866983003/diff/380001/chrome/browser/password_manager/password_store_mac_unittest.cc File chrome/browser/password_manager/password_store_mac_unittest.cc (right): https://codereview.chromium.org/866983003/diff/380001/chrome/browser/password_manager/password_store_mac_unittest.cc#newcode58 chrome/browser/password_manager/password_store_mac_unittest.cc:58: void SaveACopyOfFirstForm(const std::vector<PasswordForm*>& result) { Turn it to the ...
5 years, 10 months ago (2015-02-05 19:23:27 UTC) #5
vabr (Chromium)
Thanks, Vasilii. Please have a look at how I addressed your further comments. Cheers, Vaclav ...
5 years, 10 months ago (2015-02-06 14:16:06 UTC) #6
vabr (Chromium)
Hi Nicolas. While Vasilii is reviewing the whole CL, could you please do an OWNERS ...
5 years, 10 months ago (2015-02-06 18:07:42 UTC) #8
vabr (Chromium)
Monica, Could you please do an OWNERS review of chrome/browser/profiles/profile_manager_browsertest.cc ? (Nicolas, sorry for mistakenly ...
5 years, 10 months ago (2015-02-06 18:11:05 UTC) #10
Nicolas Zea
sync LGTM, thanks for cleaning that up!
5 years, 10 months ago (2015-02-06 18:31:24 UTC) #11
vasilii
https://codereview.chromium.org/866983003/diff/380001/components/password_manager/core/browser/password_manager_unittest.cc File components/password_manager/core/browser/password_manager_unittest.cc (right): https://codereview.chromium.org/866983003/diff/380001/components/password_manager/core/browser/password_manager_unittest.cc#newcode919 components/password_manager/core/browser/password_manager_unittest.cc:919: .WillOnce(DoAll(WithArg<2>(InvokeConsumer(&result)), Return())); On 2015/02/06 14:16:05, vabr (Chromium) wrote: > ...
5 years, 10 months ago (2015-02-09 10:08:35 UTC) #12
vabr (Chromium)
Thanks, Vasilii! Please have yet another look, I addressed your further comments. Cheers, Vaclav https://codereview.chromium.org/866983003/diff/380001/components/password_manager/core/browser/password_manager_unittest.cc ...
5 years, 10 months ago (2015-02-09 11:36:06 UTC) #14
vasilii
lgtm
5 years, 10 months ago (2015-02-09 11:48:41 UTC) #15
vabr (Chromium)
Jochen, Would you mind rubber-stamping chrome/browser/profiles/profile_manager_browsertest.cc specifically instead of noms@, so that I can land ...
5 years, 10 months ago (2015-02-09 11:51:31 UTC) #17
jochen (gone - plz use gerrit)
chrome/browser/profiles/profile_manager_browsertest.cc lgtm
5 years, 10 months ago (2015-02-09 14:24:38 UTC) #19
vabr (Chromium)
Thanks all for your approvals. The post-approval patch sets were just rebasing. In particular, 27 ...
5 years, 10 months ago (2015-02-09 14:57:07 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/866983003/530001
5 years, 10 months ago (2015-02-09 14:58:44 UTC) #23
noms (inactive)
tardy profiles lgtm
5 years, 10 months ago (2015-02-09 15:14:00 UTC) #24
vabr (Chromium)
On 2015/02/09 15:14:00, Monica Dinculescu wrote: > tardy profiles lgtm Thank you! Vaclav
5 years, 10 months ago (2015-02-09 15:32:34 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/53558)
5 years, 10 months ago (2015-02-09 15:39:57 UTC) #27
vabr (Chromium)
I just added patch set 29. The diff of patch set 29 against 28 is ...
5 years, 10 months ago (2015-02-09 17:09:59 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/866983003/550001
5 years, 10 months ago (2015-02-09 17:20:48 UTC) #31
commit-bot: I haz the power
Committed patchset #29 (id:550001)
5 years, 10 months ago (2015-02-09 18:12:43 UTC) #32
commit-bot: I haz the power
5 years, 10 months ago (2015-02-09 18:13:27 UTC) #33
Message was sent while issue was closed.
Patchset 29 (id:??) landed as
https://crrev.com/64e9247a37f5b2c1cbf287d1a5c89d7fdb3571fe
Cr-Commit-Position: refs/heads/master@{#315341}

Powered by Google App Engine
This is Rietveld 408576698