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

Issue 23622013: Move password_form_conversion_utils out of //content into //autofill. (Closed)

Created:
7 years, 3 months ago by blundell
Modified:
7 years, 3 months ago
CC:
chromium-reviews, benquan, jam, browser-components-watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, Dane Wallinga, dyu1, Albert Bodenhamer, estade+watch_chromium.org, Ilya Sherman, rouslan+autofillwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@password_form_includes_removal
Visibility:
Public.

Description

Move password_form_conversion_utils out of //content into //autofill. This is a necessary step in moving PasswordForm from //content to //autofill. BUG=263121 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221229

Patch Set 1 #

Total comments: 5

Patch Set 2 : Add bug reference for components_browsertests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -202 lines) Patch
M chrome/chrome_tests.gypi View 1 1 chunk +3 lines, -0 lines 0 comments Download
M components/autofill.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M components/autofill/content/DEPS View 1 chunk +6 lines, -0 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.cc View 3 chunks +4 lines, -7 lines 0 comments Download
A + components/autofill/content/renderer/password_form_conversion_utils.h View 1 chunk +10 lines, -9 lines 0 comments Download
A + components/autofill/content/renderer/password_form_conversion_utils.cc View 2 chunks +4 lines, -3 lines 0 comments Download
A + components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc View 3 chunks +6 lines, -5 lines 0 comments Download
M components/autofill/content/renderer/password_generation_manager.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M content/content_renderer.gypi View 2 chunks +0 lines, -2 lines 0 comments Download
M content/content_tests.gypi View 1 chunk +0 lines, -1 line 0 comments Download
D content/public/renderer/password_form_conversion_utils.h View 1 chunk +0 lines, -28 lines 0 comments Download
D content/renderer/password_form_conversion_utils.cc View 1 chunk +0 lines, -53 lines 0 comments Download
D content/renderer/password_form_conversion_utils_browsertest.cc View 1 chunk +0 lines, -91 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
blundell
Jói, Before I send this CL out for full review, I'd appreciate your input on ...
7 years, 3 months ago (2013-08-30 14:03:23 UTC) #1
Jói
LGTM https://codereview.chromium.org/23622013/diff/1/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (right): https://codereview.chromium.org/23622013/diff/1/chrome/chrome_tests.gypi#newcode1168 chrome/chrome_tests.gypi:1168: # TODO(blundell): Is this the right place to ...
7 years, 3 months ago (2013-08-30 14:08:16 UTC) #2
blundell
Thanks, Jói! I'll create that bug and reference it in chrome_tests.gypi. jam: for //content isherman: ...
7 years, 3 months ago (2013-08-30 15:44:28 UTC) #3
jam
lgtm
7 years, 3 months ago (2013-08-30 16:30:48 UTC) #4
Ilya Sherman
Hmm, should this perhaps be moved into something //components/passwords instead? This isn't really directly related ...
7 years, 3 months ago (2013-08-30 21:52:13 UTC) #5
Ilya Sherman
https://codereview.chromium.org/23622013/diff/1/components/autofill/content/DEPS File components/autofill/content/DEPS (right): https://codereview.chromium.org/23622013/diff/1/components/autofill/content/DEPS#newcode9 components/autofill/content/DEPS:9: '.*_[a-z]*test\.cc': [ Could you narrow this rule to allow ...
7 years, 3 months ago (2013-08-30 21:55:47 UTC) #6
blundell
On 2013/08/30 21:52:13, Ilya Sherman wrote: > Hmm, should this perhaps be moved into something ...
7 years, 3 months ago (2013-09-02 10:51:56 UTC) #7
blundell
https://codereview.chromium.org/23622013/diff/1/components/autofill/content/DEPS File components/autofill/content/DEPS (right): https://codereview.chromium.org/23622013/diff/1/components/autofill/content/DEPS#newcode9 components/autofill/content/DEPS:9: '.*_[a-z]*test\.cc': [ This is the DEPS file for //components/autofill/content, ...
7 years, 3 months ago (2013-09-02 10:52:56 UTC) #8
Jói
> Jói, are you OK with adding a new component to hold PasswordForm and its ...
7 years, 3 months ago (2013-09-02 10:58:25 UTC) #9
blundell
On 2013/09/02 10:51:56, blundell wrote: > On 2013/08/30 21:52:13, Ilya Sherman wrote: > > Hmm, ...
7 years, 3 months ago (2013-09-02 12:26:58 UTC) #10
Garrett Casto
On 2013/09/02 12:26:58, blundell wrote: > On 2013/09/02 10:51:56, blundell wrote: > > On 2013/08/30 ...
7 years, 3 months ago (2013-09-03 16:19:32 UTC) #11
Ilya Sherman
Hokay, LGTM. https://codereview.chromium.org/23622013/diff/1/components/autofill/content/DEPS File components/autofill/content/DEPS (right): https://codereview.chromium.org/23622013/diff/1/components/autofill/content/DEPS#newcode9 components/autofill/content/DEPS:9: '.*_[a-z]*test\.cc': [ Ah, I mistook this for ...
7 years, 3 months ago (2013-09-03 22:39:17 UTC) #12
Garrett Casto
lgtm
7 years, 3 months ago (2013-09-04 01:03:54 UTC) #13
blundell
+thakis for chrome/
7 years, 3 months ago (2013-09-04 06:06:54 UTC) #14
Nico
lgtm
7 years, 3 months ago (2013-09-04 15:32:40 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/23622013/13001
7 years, 3 months ago (2013-09-04 16:36:23 UTC) #16
commit-bot: I haz the power
Change committed as 221229
7 years, 3 months ago (2013-09-04 18:31:56 UTC) #17
blundell
7 years, 3 months ago (2013-09-05 08:49:51 UTC) #18
Message was sent while issue was closed.
On 2013/09/03 16:19:32, Garrett Casto wrote:
> On 2013/09/02 12:26:58, blundell wrote:
> > On 2013/09/02 10:51:56, blundell wrote:
> > > On 2013/08/30 21:52:13, Ilya Sherman wrote:
> > > > Hmm, should this perhaps be moved into something //components/passwords
> > > instead?
> > > >  This isn't really directly related to Autofill, unless we want to
> > completely
> > > > merge the passwords and Autofill components throughout.
> > > 
> > > Ilya, I think that what you're suggesting is the right way to go. I hadn't
> > > before checked for all the places that content::PasswordForm is used, and
it
> > > turns out that it's used from code that has nothing at all to do with
> autofill
> > > (e.g., //chrome/browser/importer).
> > > 
> > > Jói, are you OK with adding a new component to hold PasswordForm and its
> > > conversion utils? This could be //components/password or
> > //components/passwords.
> > 
> > +gcasto@ as reviewer
> > 
> > On reflection, I think that this organization would be unsatisfactory for
> > gcasto@: crbug.com/263121 states that one goal of the work is that "For
> password
> > generation and eventually password autofill, we want to be able to depend on
> > autofill::FormData so that we can send pings to the autofill servers." If
> > PasswordForm lived in its own //components/passwords component that
> > //components/autofill would necessarily depend on, then
//components/passwords
> > (and specifically PasswordForm) could not reference //components/autofill.
> > 
> > Garrett, can you confirm that this organization would not satisfy your
> > objectives?
> 
> Yeah, being able to depend on //components/autofill from wherever PasswordForm
> resides was the reason I started trying to move PasswordForm in the first
place.
> Password autofill and autofill are tied together in strange ways currently,
and
> it would be nice to separate them out in some way eventually, but it will
> probably take some effort to determine how to split them appropriately. I'd
vote
> for putting everything in //components/autofill for now and file a bug to
> refactor.

Filed crbug.com/285683.

Powered by Google App Engine
This is Rietveld 408576698