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

Issue 23432002: Generate passwords only for forms that autofill server marks as account creation forms. (Closed)

Created:
7 years, 3 months ago by zysxqn
Modified:
7 years, 3 months ago
CC:
chromium-reviews, Raman Kakilate, benquan, jam, ahutter, 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@master
Visibility:
Public.

Description

Generate passwords only for the forms that autofill server classifies one of its fields as ACCOUNT_CREATION_PASSWORD. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221773

Patch Set 1 #

Total comments: 42

Patch Set 2 : Address comments #

Total comments: 20

Patch Set 3 : Fix a bug in password generation manager unittest. #

Patch Set 4 : Address llya's nits and fix a bug in form structure unit test. #

Total comments: 2

Patch Set 5 : Add a TODO. #

Patch Set 6 : Merge the master. #

Patch Set 7 : Remove a third_party directory. #

Patch Set 8 : Fix a bug. #

Patch Set 9 : Fix an android platform bug. #

Patch Set 10 : Fix password generation manager browser test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+361 lines, -101 lines) Patch
M android_webview/native/aw_autofill_manager_delegate.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M android_webview/native/aw_autofill_manager_delegate.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/password_generation_manager.h View 1 2 3 4 5 6 7 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/password_generation_manager.cc View 1 6 3 chunks +30 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/password_generation_manager_unittest.cc View 1 2 3 4 5 6 5 chunks +91 lines, -0 lines 0 comments Download
M chrome/browser/ui/autofill/tab_autofill_manager_delegate.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc View 1 2 3 4 5 6 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/renderer/autofill/password_generation_manager_browsertest.cc View 1 2 3 4 5 6 7 8 9 7 chunks +83 lines, -73 lines 0 comments Download
M components/autofill/content/renderer/password_generation_manager.h View 1 2 3 6 4 chunks +12 lines, -1 line 0 comments Download
M components/autofill/content/renderer/password_generation_manager.cc View 1 2 3 4 5 6 6 chunks +57 lines, -17 lines 0 comments Download
M components/autofill/core/browser/autofill_manager.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_manager_delegate.h View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_profile.cc View 6 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_type.cc View 6 3 chunks +14 lines, -0 lines 0 comments Download
M components/autofill/core/browser/field_types.h View 1 6 2 chunks +14 lines, -1 line 0 comments Download
M components/autofill/core/browser/form_structure.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/core/browser/form_structure_unittest.cc View 1 2 3 4 5 6 3 chunks +11 lines, -7 lines 0 comments Download
M components/autofill/core/browser/test_autofill_manager_delegate.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M components/autofill/core/browser/test_autofill_manager_delegate.cc View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M components/autofill/core/common/autofill_messages.h View 1 2 3 4 5 6 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 24 (0 generated)
zysxqn
Generate passwords only for the forms that autofill server classifies one of its fields as ...
7 years, 3 months ago (2013-08-26 18:58:34 UTC) #1
Garrett Casto
https://codereview.chromium.org/23432002/diff/1/chrome/browser/password_manager/password_generation_manager.cc File chrome/browser/password_manager/password_generation_manager.cc (right): https://codereview.chromium.org/23432002/diff/1/chrome/browser/password_manager/password_generation_manager.cc#newcode71 chrome/browser/password_manager/password_generation_manager.cc:71: account_creation_form_origins.push_back(form->source_url()); So I don't have an example to point ...
7 years, 3 months ago (2013-08-29 22:45:13 UTC) #2
Ilya Sherman
https://codereview.chromium.org/23432002/diff/1/chrome/browser/password_manager/password_generation_manager.cc File chrome/browser/password_manager/password_generation_manager.cc (right): https://codereview.chromium.org/23432002/diff/1/chrome/browser/password_manager/password_generation_manager.cc#newcode68 chrome/browser/password_manager/password_generation_manager.cc:68: form->begin(); field_it != form->end(); ++field_it) { nit: Indent this ...
7 years, 3 months ago (2013-08-29 23:08:13 UTC) #3
zysxqn
https://codereview.chromium.org/23432002/diff/1/chrome/browser/password_manager/password_generation_manager.cc File chrome/browser/password_manager/password_generation_manager.cc (right): https://codereview.chromium.org/23432002/diff/1/chrome/browser/password_manager/password_generation_manager.cc#newcode68 chrome/browser/password_manager/password_generation_manager.cc:68: form->begin(); field_it != form->end(); ++field_it) { On 2013/08/29 23:08:13, ...
7 years, 3 months ago (2013-09-03 23:00:20 UTC) #4
Ilya Sherman
LGTM % nits, but please wait for Garrett's review as well. Thanks. https://codereview.chromium.org/23432002/diff/13001/chrome/browser/password_manager/password_generation_manager_unittest.cc File chrome/browser/password_manager/password_generation_manager_unittest.cc ...
7 years, 3 months ago (2013-09-03 23:57:56 UTC) #5
zysxqn
https://codereview.chromium.org/23432002/diff/13001/chrome/browser/password_manager/password_generation_manager_unittest.cc File chrome/browser/password_manager/password_generation_manager_unittest.cc (right): https://codereview.chromium.org/23432002/diff/13001/chrome/browser/password_manager/password_generation_manager_unittest.cc#newcode255 chrome/browser/password_manager/password_generation_manager_unittest.cc:255: const char * const kServerResponse = On 2013/09/03 23:58:01, ...
7 years, 3 months ago (2013-09-04 17:26:19 UTC) #6
Garrett Casto
LGTM https://codereview.chromium.org/23432002/diff/26001/components/autofill/content/renderer/password_generation_manager.cc File components/autofill/content/renderer/password_generation_manager.cc (right): https://codereview.chromium.org/23432002/diff/26001/components/autofill/content/renderer/password_generation_manager.cc#newcode109 components/autofill/content/renderer/password_generation_manager.cc:109: if (!frame->parent()) { One thing that would be ...
7 years, 3 months ago (2013-09-04 22:03:29 UTC) #7
zysxqn
https://codereview.chromium.org/23432002/diff/26001/components/autofill/content/renderer/password_generation_manager.cc File components/autofill/content/renderer/password_generation_manager.cc (right): https://codereview.chromium.org/23432002/diff/26001/components/autofill/content/renderer/password_generation_manager.cc#newcode109 components/autofill/content/renderer/password_generation_manager.cc:109: if (!frame->parent()) { On 2013/09/04 22:03:30, Garrett Casto wrote: ...
7 years, 3 months ago (2013-09-04 22:17:49 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zysxqn@google.com/23432002/47001
7 years, 3 months ago (2013-09-04 22:18:20 UTC) #9
commit-bot: I haz the power
Failed to apply patch for components/autofill/content/renderer/password_generation_manager.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 3 months ago (2013-09-04 22:18:30 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zysxqn@google.com/23432002/33001
7 years, 3 months ago (2013-09-04 23:16:33 UTC) #11
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=23824
7 years, 3 months ago (2013-09-05 00:02:19 UTC) #12
zysxqn
+ cdn@ for changes in autofill_messages.h
7 years, 3 months ago (2013-09-05 00:07:24 UTC) #13
Cris Neckar
On 2013/09/05 00:07:24, zysxqn wrote: > + cdn@ for changes in autofill_messages.h lgtm for IPC ...
7 years, 3 months ago (2013-09-05 20:46:49 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zysxqn@google.com/23432002/33001
7 years, 3 months ago (2013-09-05 20:49:56 UTC) #15
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-09-05 21:23:51 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zysxqn@google.com/23432002/122001
7 years, 3 months ago (2013-09-05 22:49:32 UTC) #17
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-09-05 23:26:22 UTC) #18
zysxqn
+joth@ and benm@ for changes under android_webview
7 years, 3 months ago (2013-09-05 23:48:38 UTC) #19
joth
lgtm
7 years, 3 months ago (2013-09-06 00:24:25 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zysxqn@google.com/23432002/143001
7 years, 3 months ago (2013-09-06 01:33:59 UTC) #21
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=166191
7 years, 3 months ago (2013-09-06 04:26:25 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zysxqn@google.com/23432002/162001
7 years, 3 months ago (2013-09-06 17:36:32 UTC) #23
commit-bot: I haz the power
7 years, 3 months ago (2013-09-06 20:36:54 UTC) #24
Message was sent while issue was closed.
Change committed as 221773

Powered by Google App Engine
This is Rietveld 408576698