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

Issue 10540069: Refactor detection of account creation forms and fix two minor issues. (Closed)

Created:
8 years, 6 months ago by Garrett Casto
Modified:
8 years, 6 months ago
Reviewers:
zysxqn, Ilya Sherman
CC:
chromium-reviews, dhollowa+watch_chromium.org, brettw-cc_chromium.org, Ilya Sherman, dyu1, darin-cc_chromium.org
Visibility:
Public.

Description

Refactor detection of account creation forms and fix two minor issues. - We only take into account visible password fields now. - We won't show an icon for forms that don't have a valid PasswordFormData. These forms would not be saved by the PasswordManager anyway. BUG=130833, 131317 TEST=Ran PasswordGenerationManagerTest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141289

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -29 lines) Patch
M chrome/renderer/autofill/password_generation_manager.h View 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/renderer/autofill/password_generation_manager.cc View 1 3 chunks +55 lines, -21 lines 0 comments Download
M chrome/renderer/autofill/password_generation_manager_browsertest.cc View 3 chunks +32 lines, -6 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Garrett Casto
8 years, 6 months ago (2012-06-08 01:08:03 UTC) #1
Ilya Sherman
LGTM http://codereview.chromium.org/10540069/diff/1/chrome/renderer/autofill/password_generation_manager.cc File chrome/renderer/autofill/password_generation_manager.cc (right): http://codereview.chromium.org/10540069/diff/1/chrome/renderer/autofill/password_generation_manager.cc#newcode101 chrome/renderer/autofill/password_generation_manager.cc:101: passwords->push_back(*input_element); nit: We usually do include curly braces ...
8 years, 6 months ago (2012-06-08 05:22:18 UTC) #2
zysxqn
lgtm http://codereview.chromium.org/10540069/diff/1/chrome/renderer/autofill/password_generation_manager.h File chrome/renderer/autofill/password_generation_manager.h (right): http://codereview.chromium.org/10540069/diff/1/chrome/renderer/autofill/password_generation_manager.h#newcode43 chrome/renderer/autofill/password_generation_manager.h:43: virtual void DidFinishLoad(WebKit::WebFrame* frame) OVERRIDE; is it because ...
8 years, 6 months ago (2012-06-08 17:10:39 UTC) #3
Garrett Casto
http://codereview.chromium.org/10540069/diff/1/chrome/renderer/autofill/password_generation_manager.cc File chrome/renderer/autofill/password_generation_manager.cc (right): http://codereview.chromium.org/10540069/diff/1/chrome/renderer/autofill/password_generation_manager.cc#newcode101 chrome/renderer/autofill/password_generation_manager.cc:101: passwords->push_back(*input_element); On 2012/06/08 05:22:18, Ilya Sherman wrote: > nit: ...
8 years, 6 months ago (2012-06-08 20:15:09 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gcasto@chromium.org/10540069/5001
8 years, 6 months ago (2012-06-08 20:19:24 UTC) #5
commit-bot: I haz the power
8 years, 6 months ago (2012-06-08 21:30:35 UTC) #6
Change committed as 141289

Powered by Google App Engine
This is Rietveld 408576698