Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(1572)

Issue 2754273003: Introduce restricted PasswordFormManager::GrabFetcher (Closed)

Created:
1 year, 1 month ago by vabr (Chromium)
Modified:
1 year, 1 month ago
Reviewers:
dvadym
CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce restricted PasswordFormManager::GrabFetcher This CL introduces a version of PasswordFormManager::GrabFetcher where the attached FormFetcher must be the same which was already associated to the PasswordFormManager. The CL also uses that new method to get rid of the redundant CredentialManagerPasswordFormManager::form_fetcher_ in favour of PasswordFormManager::owned_form_fetcher_. While ultimately the restriction on GrabFetcher will be lifted in https://codereview.chromium.org/2758773002/, the restricted form of GrabFetcher is a pre-requisite for ensuring the correct lifetime of the owned FormFetcher in CredentialManagerPasswordFormManager in https://codereview.chromium.org/2760653002/, which itself is a pre-requisite of the unrestricted version of GrabFetcher. See https://docs.google.com/document/d/12CH_SV1gIJKaEIGTs7gWBiXrCMlBa3o32OyC2LRtPAo/edit#heading=h.jz2q52kebs7k for more details. BUG=621355 Review-Url: https://codereview.chromium.org/2754273003 Cr-Commit-Position: refs/heads/master@{#458157} Committed: https://chromium.googlesource.com/chromium/src/+/1506f35e2a82f1b50ba2aa51e61c60891dc8cbcc

Patch Set 1 #

Patch Set 2 : Introduce restricted PasswordFormManager::GrabFetcher #

Patch Set 3 : Fix compilation #

Patch Set 4 : Remove redundant CredentialManagerPasswordFormManager::form_fetcher_ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -9 lines) Patch
M components/password_manager/core/browser/credential_manager_password_form_manager.h View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
M components/password_manager/core/browser/credential_manager_password_form_manager.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager.h View 2 chunks +6 lines, -1 line 0 comments Download
M components/password_manager/core/browser/password_form_manager.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager_unittest.cc View 1 2 2 chunks +19 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 20 (16 generated)
vabr (Chromium)
Hi Vadym, Could you please have a look? Thanks! Vaclav
1 year, 1 month ago (2017-03-20 05:59:16 UTC) #14
dvadym
LGTM
1 year, 1 month ago (2017-03-20 10:43:13 UTC) #15
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/2754273003/80001
1 year, 1 month ago (2017-03-20 18:15:31 UTC) #17
commit-bot: I haz the power
1 year, 1 month ago (2017-03-20 20:09:17 UTC) #20
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/1506f35e2a82f1b50ba2aa51e61c...

Powered by Google App Engine
This is Rietveld 408576698