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

Issue 2754043002: Introduce FormFetcher::Clone (Closed)

Created:
3 years, 9 months ago by vabr (Chromium)
Modified:
3 years, 9 months ago
Reviewers:
vasilii
CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce FormFetcher::Clone This allows to clone FormFetcher instances without repeated calls to the PasswordStore. See https://docs.google.com/document/d/12CH_SV1gIJKaEIGTs7gWBiXrCMlBa3o32OyC2LRtPAo/edit#heading=h.jz2q52kebs7k for more details. BUG=621355 Review-Url: https://codereview.chromium.org/2754043002 Cr-Commit-Position: refs/heads/master@{#457554} Committed: https://chromium.googlesource.com/chromium/src/+/316bf80fdc4c14a6738b9ead44718a30f8cf4f4d

Patch Set 1 #

Patch Set 2 : Fix compilation #

Total comments: 2

Patch Set 3 : Forbid cloning while waiting. #

Patch Set 4 : Update tests #

Patch Set 5 : Fix stats test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -0 lines) Patch
M components/password_manager/core/browser/fake_form_fetcher.h View 1 chunk +3 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/fake_form_fetcher.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/form_fetcher.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/form_fetcher_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/password_manager/core/browser/form_fetcher_impl.cc View 1 2 3 4 3 chunks +35 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/form_fetcher_impl_unittest.cc View 1 2 3 4 1 chunk +64 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (19 generated)
vabr (Chromium)
Hi Vasilii, Could you PTAL? This is one of more smaller steps, as explained in ...
3 years, 9 months ago (2017-03-16 12:02:55 UTC) #8
vasilii
https://codereview.chromium.org/2754043002/diff/20001/components/password_manager/core/browser/form_fetcher_impl_unittest.cc File components/password_manager/core/browser/form_fetcher_impl_unittest.cc (right): https://codereview.chromium.org/2754043002/diff/20001/components/password_manager/core/browser/form_fetcher_impl_unittest.cc#newcode528 components/password_manager/core/browser/form_fetcher_impl_unittest.cc:528: EXPECT_EQ(FormFetcher::State::WAITING, clone->GetState()); I think having an object in the ...
3 years, 9 months ago (2017-03-16 14:16:43 UTC) #11
vabr (Chromium)
Thanks, Vasilii. I addressed your comment, PTAL again. Cheers, Vaclav https://codereview.chromium.org/2754043002/diff/20001/components/password_manager/core/browser/form_fetcher_impl_unittest.cc File components/password_manager/core/browser/form_fetcher_impl_unittest.cc (right): https://codereview.chromium.org/2754043002/diff/20001/components/password_manager/core/browser/form_fetcher_impl_unittest.cc#newcode528 ...
3 years, 9 months ago (2017-03-16 14:49:08 UTC) #14
vasilii
lgtm
3 years, 9 months ago (2017-03-16 15:41:08 UTC) #17
vabr (Chromium)
Thanks! There was a minor issue with the site-statistics test (it used to call Clone() ...
3 years, 9 months ago (2017-03-16 19:38:38 UTC) #18
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/2754043002/80001
3 years, 9 months ago (2017-03-16 19:39:30 UTC) #21
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/2754043002/80001
3 years, 9 months ago (2017-03-16 21:03:19 UTC) #24
commit-bot: I haz the power
3 years, 9 months ago (2017-03-16 21:13:47 UTC) #27
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/316bf80fdc4c14a6738b9ead4471...

Powered by Google App Engine
This is Rietveld 408576698