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

Issue 225823006: Rewrite functions from WebPasswordFormData and WebPasswordFormUtils in (Closed)

Created:
6 years, 8 months ago by ziran.sun
Modified:
6 years, 8 months ago
Reviewers:
Garrett Casto
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Rewrite functions from WebPasswordFormData and WebPasswordFormUtils in password_form_conversion_utils. There are Some old Blink code implemented in Webkit that predates the Chromium/WebKit API, specifically WebPasswordFormData and WebPasswordFormUtils. At this point the split just makes this code harder to update, as you need to wait for a Blink roll when adding a new element to autofill::PasswordForm. This patch is re-writing this code in components/autofill/content/renderer/password_form_conversion_util s to make it cleaner. BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=265496

Patch Set 1 #

Patch Set 2 : Put check on "isActivatedSumbit" back #

Total comments: 6

Patch Set 3 : Update code as per review comments. #

Total comments: 3

Patch Set 4 : Update code as per review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+232 lines, -35 lines) Patch
M components/autofill/content/renderer/password_autofill_agent.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M components/autofill/content/renderer/password_form_conversion_utils.cc View 1 2 2 chunks +159 lines, -28 lines 0 comments Download
M components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc View 1 2 3 3 chunks +73 lines, -6 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
ziran.sun
Rewrite functions from WebPasswordFormData and WebPasswordFormUtils in Chromium. Please review. Thanks!
6 years, 8 months ago (2014-04-15 12:41:25 UTC) #1
Ilya Sherman
Garrett, I'll defer to your review unless you ask me to do otherwise. Thanks!
6 years, 8 months ago (2014-04-16 20:37:33 UTC) #2
Garrett Casto
Can you also make a test for this? Unfortunately one doesn't exist for the current ...
6 years, 8 months ago (2014-04-16 22:56:54 UTC) #3
ziran.sun
Updated code as per review comments. All review comments have been addressed. Please review. Thanks!
6 years, 8 months ago (2014-04-17 15:29:17 UTC) #4
Garrett Casto
LGTM with some nits After this is submitted, would you mind deleting the old code ...
6 years, 8 months ago (2014-04-17 18:20:22 UTC) #5
ziran.sun
Update code as per 2nd set comments. Please review. Thanks! https://codereview.chromium.org/225823006/diff/40001/components/autofill/content/renderer/password_form_conversion_utils.cc File components/autofill/content/renderer/password_form_conversion_utils.cc (right): https://codereview.chromium.org/225823006/diff/40001/components/autofill/content/renderer/password_form_conversion_utils.cc#newcode194 ...
6 years, 8 months ago (2014-04-22 15:20:00 UTC) #6
Garrett Casto
On 2014/04/22 15:20:00, ziran.sun wrote: > Update code as per 2nd set comments. Please review. ...
6 years, 8 months ago (2014-04-22 23:09:35 UTC) #7
Garrett Casto
The CQ bit was checked by gcasto@chromium.org
6 years, 8 months ago (2014-04-22 23:09:40 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ziran.sun@samsung.com/225823006/60001
6 years, 8 months ago (2014-04-22 23:10:51 UTC) #9
commit-bot: I haz the power
6 years, 8 months ago (2014-04-23 02:04:30 UTC) #10
Message was sent while issue was closed.
Change committed as 265496

Powered by Google App Engine
This is Rietveld 408576698