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

Issue 2216463002: [Autofill] Migrate ContentPasswordManagerDriver<-->Password{Autofill,Generation}Agent IPCs to mojo. (Closed)

Created:
4 years, 4 months ago by leonhsl(Using Gerrit)
Modified:
4 years, 3 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, blundell+watchlist_chromium.org, browser-components-watch_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, droger+watchlist_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org, jdonnelly+autofillwatch_chromium.org, mlamouri+watch-content_chromium.org, qsr+mojo_chromium.org, rouslan+autofill_chromium.org, sdefresne+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org, vabr+watchlistautofill_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Autofill] Migrate ContentPasswordManagerDriver<-->Password{Autofill,Generation}Agent IPCs to mojo. This CL -Migrates all ContentPasswordManagerDriver<-->Password{Autofill,Generation}Agent IPC messages into mojo interfaces. -Revises related unit tests and browser tests. TEST=components_unittests, browser_tests BUG=582391 Committed: https://crrev.com/38eab5aeedba6745c0d9f7d7c897c16982299d88 Cr-Commit-Position: refs/heads/master@{#413708}

Patch Set 1 : No test code #

Patch Set 2 : Add test #

Patch Set 3 : Fix trybots #

Total comments: 1

Patch Set 4 : Fix checkdeps #

Patch Set 5 : Fix unit test BookmarkTest.DetachedBookmarkBarOnCustomNTP #

Patch Set 6 : Fix win trybots #

Total comments: 12

Patch Set 7 : Address comments from Vaclav #

Total comments: 9

Patch Set 8 : Address comments from Vaclav #

Total comments: 3

Patch Set 9 : Address comments from sky #

Total comments: 2

Patch Set 10 : Address comments from sky #

Patch Set 11 : Fix browser tests: PasswordManagerBrowserTestBase.InFrameNavigationDoesNotClearPopupState #

Total comments: 3

Patch Set 12 : Address nit from Vaclav #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1095 lines, -710 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/chrome_password_manager_client_unittest.cc View 1 2 6 chunks +70 lines, -12 lines 0 comments Download
M chrome/browser/password_manager/password_manager_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +15 lines, -17 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/renderer/autofill/fake_content_password_manager_driver.h View 1 2 3 4 5 6 7 1 chunk +180 lines, -0 lines 0 comments Download
A chrome/renderer/autofill/fake_content_password_manager_driver.cc View 1 2 3 4 5 6 1 chunk +75 lines, -0 lines 0 comments Download
M chrome/renderer/autofill/form_autocomplete_browsertest.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/renderer/autofill/password_autofill_agent_browsertest.cc View 1 2 3 4 5 6 7 28 chunks +136 lines, -152 lines 0 comments Download
M chrome/renderer/autofill/password_generation_agent_browsertest.cc View 1 2 3 4 5 6 9 chunks +47 lines, -31 lines 0 comments Download
M chrome/renderer/autofill/password_generation_test_utils.cc View 1 3 chunks +3 lines, -5 lines 0 comments Download
M chrome/test/base/chrome_render_view_test.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/base/chrome_render_view_test.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -0 lines 0 comments Download
M components/autofill/content/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
M components/autofill/content/browser/BUILD.gn View 4 chunks +1 line, -4 lines 0 comments Download
M components/autofill/content/browser/content_autofill_driver.h View 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/content/browser/content_autofill_driver.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M components/autofill/content/browser/content_autofill_driver_unittest.cc View 1 2 chunks +0 lines, -2 lines 0 comments Download
M components/autofill/content/common/BUILD.gn View 1 2 3 4 5 6 1 chunk +0 lines, -7 lines 0 comments Download
M components/autofill/content/common/DEPS View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/content/common/autofill_messages.h View 1 2 3 4 5 6 4 chunks +0 lines, -196 lines 0 comments Download
A + components/autofill/content/public/cpp/DEPS View 0 chunks +-1 lines, --1 lines 0 comments Download
M components/autofill/content/public/interfaces/autofill_agent.mojom View 1 chunk +49 lines, -0 lines 0 comments Download
M components/autofill/content/public/interfaces/autofill_driver.mojom View 1 chunk +52 lines, -0 lines 0 comments Download
M components/autofill/content/renderer/BUILD.gn View 1 chunk +1 line, -2 lines 0 comments Download
M components/autofill/content/renderer/autofill_agent.h View 2 chunks +3 lines, -1 line 0 comments Download
M components/autofill/content/renderer/autofill_agent.cc View 3 chunks +11 lines, -5 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.h View 6 chunks +21 lines, -9 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.cc View 17 chunks +53 lines, -44 lines 0 comments Download
M components/autofill/content/renderer/password_generation_agent.h View 5 chunks +21 lines, -14 lines 0 comments Download
M components/autofill/content/renderer/password_generation_agent.cc View 11 chunks +28 lines, -33 lines 0 comments Download
M components/autofill/content/renderer/renderer_save_password_progress_logger.h View 1 2 3 4 5 6 2 chunks +8 lines, -14 lines 0 comments Download
M components/autofill/content/renderer/renderer_save_password_progress_logger.cc View 1 chunk +4 lines, -8 lines 0 comments Download
M components/autofill/content/renderer/renderer_save_password_progress_logger_unittest.cc View 1 2 chunks +73 lines, -24 lines 0 comments Download
M components/autofill/content/renderer/test_password_generation_agent.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M components/password_manager/content/browser/BUILD.gn View 2 chunks +0 lines, -2 lines 0 comments Download
M components/password_manager/content/browser/DEPS View 1 chunk +1 line, -1 line 0 comments Download
M components/password_manager/content/browser/content_password_manager_driver.h View 6 chunks +44 lines, -14 lines 0 comments Download
M components/password_manager/content/browser/content_password_manager_driver.cc View 1 2 3 4 14 chunks +73 lines, -65 lines 0 comments Download
M components/password_manager/content/browser/content_password_manager_driver_factory.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -6 lines 0 comments Download
M components/password_manager/content/browser/content_password_manager_driver_factory.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +24 lines, -15 lines 0 comments Download
M components/password_manager/content/browser/content_password_manager_driver_unittest.cc View 1 2 3 4 5 6 6 chunks +72 lines, -18 lines 0 comments Download
M components/password_manager/core/browser/password_autofill_manager.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 106 (73 generated)
leonhsl(Using Gerrit)
Would you PTAL at this? Thanks. Ken, Yuzhu --> For everything. Vaclav, Mathieu --> For ...
4 years, 4 months ago (2016-08-09 09:03:15 UTC) #22
Tom Sepez
messages/mojom LGTM
4 years, 4 months ago (2016-08-09 16:51:23 UTC) #23
vabr (Chromium)
LGTM with nits. This is amazing! So near to removing autofill_messages.h! :) Thanks, Vaclav https://codereview.chromium.org/2216463002/diff/100001/chrome/renderer/autofill/password_autofill_agent_browsertest.cc ...
4 years, 4 months ago (2016-08-09 17:36:18 UTC) #24
leonhsl(Using Gerrit)
Thanks Vaclav a lot for review, uploaded ps#7 to address comments, PTAnL, Thanks. And about ...
4 years, 4 months ago (2016-08-10 13:22:02 UTC) #33
vabr (Chromium)
Thank you! Still a handful of comments, but also still LGTM. Cheers, Vaclav https://codereview.chromium.org/2216463002/diff/120001/chrome/renderer/autofill/fake_content_password_manager_driver.h File ...
4 years, 4 months ago (2016-08-10 14:00:52 UTC) #34
yzshen1
On 2016/08/09 09:03:15, leonhsl wrote: > Would you PTAL at this? Thanks. > > Ken, ...
4 years, 4 months ago (2016-08-10 16:44:59 UTC) #35
leonhsl(Using Gerrit)
On 2016/08/10 16:44:59, yzshen1 wrote: > On 2016/08/09 09:03:15, leonhsl wrote: > > Would you ...
4 years, 4 months ago (2016-08-11 03:15:46 UTC) #36
leonhsl(Using Gerrit)
Uploaded ps#8 to address comments from Vaclav, PTAnL, Thanks~ https://codereview.chromium.org/2216463002/diff/120001/chrome/renderer/autofill/fake_content_password_manager_driver.h File chrome/renderer/autofill/fake_content_password_manager_driver.h (right): https://codereview.chromium.org/2216463002/diff/120001/chrome/renderer/autofill/fake_content_password_manager_driver.h#newcode1 chrome/renderer/autofill/fake_content_password_manager_driver.h:1: ...
4 years, 4 months ago (2016-08-11 06:29:56 UTC) #45
vabr (Chromium)
LGTM, thank you! :) Vaclav https://codereview.chromium.org/2216463002/diff/120001/chrome/renderer/autofill/fake_content_password_manager_driver.h File chrome/renderer/autofill/fake_content_password_manager_driver.h (right): https://codereview.chromium.org/2216463002/diff/120001/chrome/renderer/autofill/fake_content_password_manager_driver.h#newcode65 chrome/renderer/autofill/fake_content_password_manager_driver.h:65: const base::Optional<std::vector<autofill::PasswordForm>>& On 2016/08/11 ...
4 years, 4 months ago (2016-08-11 07:29:18 UTC) #46
yzshen1
On 2016/08/11 03:15:46, leonhsl wrote: > On 2016/08/10 16:44:59, yzshen1 wrote: > > On 2016/08/09 ...
4 years, 4 months ago (2016-08-11 20:01:50 UTC) #47
leonhsl(Using Gerrit)
Friendly ping sky@, Thanks.
4 years, 4 months ago (2016-08-17 01:42:41 UTC) #48
sky
https://codereview.chromium.org/2216463002/diff/140001/chrome/test/base/chrome_render_view_test.h File chrome/test/base/chrome_render_view_test.h (right): https://codereview.chromium.org/2216463002/diff/140001/chrome/test/base/chrome_render_view_test.h#newcode39 chrome/test/base/chrome_render_view_test.h:39: virtual void RegisterMainFrameRemoteInterfaces() {} Add description and don't inline. ...
4 years, 4 months ago (2016-08-17 15:28:33 UTC) #49
leonhsl(Using Gerrit)
Uploaded ps#9 to address comments from sky, PTAnL, Thanks. https://codereview.chromium.org/2216463002/diff/140001/chrome/test/base/chrome_render_view_test.cc File chrome/test/base/chrome_render_view_test.cc (right): https://codereview.chromium.org/2216463002/diff/140001/chrome/test/base/chrome_render_view_test.cc#newcode114 chrome/test/base/chrome_render_view_test.cc:114: ...
4 years, 4 months ago (2016-08-19 10:13:38 UTC) #64
sky
https://codereview.chromium.org/2216463002/diff/160001/chrome/test/base/chrome_render_view_test.h File chrome/test/base/chrome_render_view_test.h (right): https://codereview.chromium.org/2216463002/diff/160001/chrome/test/base/chrome_render_view_test.h#newcode39 chrome/test/base/chrome_render_view_test.h:39: // Is called by SetUp() to ensure all mojo ...
4 years, 4 months ago (2016-08-19 15:35:50 UTC) #67
leonhsl(Using Gerrit)
Thanks sky a lot for suggestion, uploaded ps#10 to address comments, PTAnL, Thanks. https://codereview.chromium.org/2216463002/diff/160001/chrome/test/base/chrome_render_view_test.h File ...
4 years, 4 months ago (2016-08-20 11:47:08 UTC) #70
sky
LGTM
4 years, 4 months ago (2016-08-22 14:56:12 UTC) #77
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2216463002/180001
4 years, 4 months ago (2016-08-23 02:03:45 UTC) #80
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/214037)
4 years, 4 months ago (2016-08-23 03:16:06 UTC) #82
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2216463002/180001
4 years, 4 months ago (2016-08-23 06:08:50 UTC) #84
leonhsl(Using Gerrit)
Hi, Vaclav, would you please take a look at changes in ps#11? Thanks. Now all ...
4 years, 4 months ago (2016-08-23 08:23:49 UTC) #89
vabr (Chromium)
Thanks, Han Leon, for the fixed test and the helpful comment. Your change between patch ...
4 years, 4 months ago (2016-08-23 08:48:50 UTC) #90
leonhsl(Using Gerrit)
Thanks Vaclav a lot for confirmation and kindly help! Uploaded ps#12 to address the nit ...
4 years, 4 months ago (2016-08-23 09:03:08 UTC) #91
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2216463002/220001
4 years, 4 months ago (2016-08-23 09:04:43 UTC) #94
vabr (Chromium)
\o/ LGTM! So happy to see this landing! :) Cheers, Vaclav
4 years, 4 months ago (2016-08-23 09:05:04 UTC) #95
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 4 months ago (2016-08-23 10:39:48 UTC) #96
commit-bot: I haz the power
Patchset 12 (id:??) landed as https://crrev.com/38eab5aeedba6745c0d9f7d7c897c16982299d88 Cr-Commit-Position: refs/heads/master@{#413708}
4 years, 4 months ago (2016-08-23 10:41:27 UTC) #98
Ken Rockot(use gerrit already)
We were just discussing the autofill mojo conversion in a related discussion about message ordering ...
4 years, 4 months ago (2016-08-23 21:13:57 UTC) #99
jam
I just saw this. the same comment that I made in https://codereview.chromium.org/2143383002/ stands here: why ...
4 years, 4 months ago (2016-08-23 21:17:22 UTC) #100
leonhsl(Using Gerrit)
On 2016/08/23 21:13:57, Ken Rockot wrote: > We were just discussing the autofill mojo conversion ...
4 years, 4 months ago (2016-08-24 01:38:56 UTC) #101
leonhsl(Using Gerrit)
On 2016/08/23 21:17:22, jam wrote: > I just saw this. the same comment that I ...
4 years, 4 months ago (2016-08-24 01:44:07 UTC) #102
keishi
A revert of this CL (patchset #12 id:220001) has been created in https://codereview.chromium.org/2274783002/ by keishi@chromium.org. ...
4 years, 4 months ago (2016-08-24 01:49:31 UTC) #103
vabr (Chromium)
On 2016/08/24 01:38:56, leonhsl wrote: > On 2016/08/23 21:13:57, Ken Rockot wrote: > > We ...
4 years, 4 months ago (2016-08-24 08:28:13 UTC) #105
vabr (Chromium)
4 years, 3 months ago (2016-08-29 10:09:08 UTC) #106
Message was sent while issue was closed.
Heads-up: I just gave approval to reland this CL on
https://codereview.chromium.org/2270333002/#msg10. Please speak up if you see
any concerns still in need of addressing.

Cheers,
Vaclav

Powered by Google App Engine
This is Rietveld 408576698