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

Issue 19705013: [password autofill] Remove references to PasswordForm from RenderViewImpl (Closed)

Created:
7 years, 5 months ago by Garrett Casto
Modified:
7 years, 4 months ago
CC:
chromium-reviews, tim+watch_chromium.org, cbentzel+watch_chromium.org, benquan, tburkard+watch_chromium.org, browser-components-watch_chromium.org, ahutter, haitaol+watch_chromium.org, Raman Kakilate, jam, joi+watch-content_chromium.org, gavinp+prer_chromium.org, dominich+watch_chromium.org, darin-cc_chromium.org, Dane Wallinga, dyu1, estade+watch_chromium.org, Albert Bodenhamer, rsimha+watch_chromium.org, Ilya Sherman, rouslan+autofillwatch_chromium.org, guohui, blundell, Yue Zhang
Visibility:
Public.

Description

[password autofill] Remove references to PasswordForm from RenderViewImpl autofill::PasswordAutofillAgent now manages submitted passwords instead. Browser side classes other than PasswordManager which want to monitor these submits do so via registering a callback with PasswordManager::AddSubmissionsCallback(). This is the first step in moving content::PasswordForm to autofill::PasswordForm. BUG=263121 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217900

Patch Set 1 #

Patch Set 2 : Remove inclusion in test code. #

Patch Set 3 : #

Patch Set 4 : Clang #

Patch Set 5 : Android #

Patch Set 6 : #

Patch Set 7 : Merge #

Total comments: 4

Patch Set 8 : Callback #

Total comments: 58

Patch Set 9 : Address comments #

Total comments: 1

Patch Set 10 : Merge #

Patch Set 11 : More Merge #

Patch Set 12 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+416 lines, -255 lines) Patch
M chrome/browser/android/tab_android.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/password_manager/password_form_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/password_manager.h View 1 2 3 4 5 6 7 8 5 chunks +17 lines, -1 line 0 comments Download
M chrome/browser/password_manager/password_manager.cc View 1 2 3 4 5 6 7 8 4 chunks +23 lines, -13 lines 0 comments Download
M chrome/browser/password_manager/password_manager_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +102 lines, -1 line 0 comments Download
M chrome/browser/password_manager/password_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 9 chunks +81 lines, -20 lines 0 comments Download
M chrome/browser/prerender/prerender_tab_helper.h View 1 2 3 4 5 6 7 8 9 3 chunks +16 lines, -8 lines 0 comments Download
M chrome/browser/prerender/prerender_tab_helper.cc View 1 2 3 4 5 6 7 8 9 3 chunks +23 lines, -15 lines 0 comments Download
M chrome/browser/ui/browser_tab_contents.cc View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_helper.h View 1 2 3 4 5 6 7 8 9 4 chunks +9 lines, -4 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_helper.cc View 1 2 3 4 5 6 7 8 9 6 chunks +22 lines, -21 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_helper_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_renderer.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/common_message_generator.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download
D chrome/common/one_click_signin_messages.h View 1 1 chunk +0 lines, -12 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -5 lines 0 comments Download
D chrome/renderer/one_click_signin_agent.h View 1 chunk +0 lines, -25 lines 0 comments Download
D chrome/renderer/one_click_signin_agent.cc View 1 chunk +0 lines, -29 lines 0 comments Download
A + chrome/test/data/password/done.html View 1 chunk +1 line, -1 line 0 comments Download
A chrome/test/data/password/multi_frames.html View 1 chunk +10 lines, -0 lines 0 comments Download
A chrome/test/data/password/password_form.html View 1 chunk +15 lines, -0 lines 0 comments Download
D chrome/test/data/password/password_xhr_done.html View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/test/data/password/password_xhr_submit.html View 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.h View 1 2 3 4 5 6 7 8 3 chunks +12 lines, -0 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.cc View 1 2 3 4 5 6 7 8 9 2 chunks +60 lines, -0 lines 0 comments Download
M components/autofill/core/common/autofill_messages.h View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/renderer_host/test_render_view_host.cc View 1 2 3 4 5 6 7 8 9 3 chunks +0 lines, -3 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download
M content/public/common/frame_navigate_params.h View 2 chunks +0 lines, -4 lines 0 comments Download
M content/public/renderer/document_state.h View 1 2 3 4 5 6 7 8 3 chunks +0 lines, -17 lines 0 comments Download
M content/public/renderer/document_state.cc View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -6 lines 0 comments Download
M content/public/renderer/render_view_observer.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -26 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 4 chunks +2 lines, -23 lines 0 comments Download
M content/test/test_web_contents.cc View 1 2 chunks +0 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Garrett Casto
jam: Changes to content. jln: Changes to messages. isherman: Changes to autofill/password manager. rogerta: Changes ...
7 years, 5 months ago (2013-07-25 16:42:54 UTC) #1
tburkard
https://codereview.chromium.org/19705013/diff/39001/chrome/browser/prerender/prerender_tab_helper.cc File chrome/browser/prerender/prerender_tab_helper.cc (right): https://codereview.chromium.org/19705013/diff/39001/chrome/browser/prerender/prerender_tab_helper.cc#newcode154 chrome/browser/prerender/prerender_tab_helper.cc:154: void PrerenderTabHelper::CreateForWebContentsWithPasswordManager( Can't this be done as a template ...
7 years, 5 months ago (2013-07-25 16:59:16 UTC) #2
jam
content lgtm https://codereview.chromium.org/19705013/diff/39001/chrome/browser/password_manager/password_manager.h File chrome/browser/password_manager/password_manager.h (right): https://codereview.chromium.org/19705013/diff/39001/chrome/browser/password_manager/password_manager.h#newcode48 chrome/browser/password_manager/password_manager.h:48: virtual void PasswordSubmitted(const content::PasswordForm& form) = 0; ...
7 years, 5 months ago (2013-07-25 17:31:33 UTC) #3
Garrett Casto
https://codereview.chromium.org/19705013/diff/39001/chrome/browser/prerender/prerender_tab_helper.cc File chrome/browser/prerender/prerender_tab_helper.cc (right): https://codereview.chromium.org/19705013/diff/39001/chrome/browser/prerender/prerender_tab_helper.cc#newcode154 chrome/browser/prerender/prerender_tab_helper.cc:154: void PrerenderTabHelper::CreateForWebContentsWithPasswordManager( On 2013/07/25 16:59:17, tburkard wrote: > Can't ...
7 years, 5 months ago (2013-07-25 17:34:05 UTC) #4
tburkard
prerender lgtm
7 years, 5 months ago (2013-07-25 17:42:52 UTC) #5
Yaron
tab_android lgtm
7 years, 5 months ago (2013-07-25 19:49:51 UTC) #6
Garrett Casto
https://codereview.chromium.org/19705013/diff/39001/chrome/browser/password_manager/password_manager.h File chrome/browser/password_manager/password_manager.h (right): https://codereview.chromium.org/19705013/diff/39001/chrome/browser/password_manager/password_manager.h#newcode48 chrome/browser/password_manager/password_manager.h:48: virtual void PasswordSubmitted(const content::PasswordForm& form) = 0; On 2013/07/25 ...
7 years, 5 months ago (2013-07-25 20:00:00 UTC) #7
Ilya Sherman
Thanks, Garrett. Looks pretty nice at a high level :) https://codereview.chromium.org/19705013/diff/54001/chrome/browser/password_manager/password_manager.cc File chrome/browser/password_manager/password_manager.cc (right): https://codereview.chromium.org/19705013/diff/54001/chrome/browser/password_manager/password_manager.cc#newcode251 ...
7 years, 4 months ago (2013-07-27 01:09:47 UTC) #8
Garrett Casto
Sorry for the delay. PTAL https://chromiumcodereview.appspot.com/19705013/diff/54001/chrome/browser/password_manager/password_manager.cc File chrome/browser/password_manager/password_manager.cc (right): https://chromiumcodereview.appspot.com/19705013/diff/54001/chrome/browser/password_manager/password_manager.cc#newcode251 chrome/browser/password_manager/password_manager.cc:251: ProvisionallySavePassword(password_form); On 2013/07/27 01:09:48, ...
7 years, 4 months ago (2013-08-03 00:38:41 UTC) #9
jln (very slow on Chromium)
*_messages.h lgtm I didn't look at the submission_callbacks_ to check for mistakes there. Let me ...
7 years, 4 months ago (2013-08-05 22:48:12 UTC) #10
Ilya Sherman
LGTM if you're ok with converting base::Unretained()'s to WeakPtrs. If not, let's chat about that ...
7 years, 4 months ago (2013-08-06 09:34:10 UTC) #11
Roger Tawa OOO till Jul 10th
one_click_signin_helper lgtm
7 years, 4 months ago (2013-08-06 20:30:41 UTC) #12
Garrett Casto
+ben for browser_tab_contents as Avi is OOO.
7 years, 4 months ago (2013-08-12 23:59:37 UTC) #13
Avi (use Gerrit)
browser_tab_contents LGTM Ben is even more OOO than I am. :)
7 years, 4 months ago (2013-08-13 04:44:54 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gcasto@chromium.org/19705013/120001
7 years, 4 months ago (2013-08-15 22:29:44 UTC) #15
commit-bot: I haz the power
7 years, 4 months ago (2013-08-16 01:09:16 UTC) #16
Message was sent while issue was closed.
Change committed as 217900

Powered by Google App Engine
This is Rietveld 408576698