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

Issue 2352533003: [Autofill] Migrate ChromePasswordManagerClient<-->PasswordGenerationAgent IPCs to mojo. (Closed)

Created:
4 years, 3 months ago by leonhsl(Using Gerrit)
Modified:
4 years, 2 months ago
CC:
Aaron Boodman, abarth-chromium, 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, fuzzing_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, tfarina, vabr+watchlistautofill_chromium.org, vabr+watchlistpasswordmanager_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Autofill] Migrate ChromePasswordManagerClient<-->PasswordGenerationAgent IPCs to mojo. This CL -Migrates all ContentPasswordManagerDriver<-->Password{Autofill,Generation}Agent IPC messages into mojo interfaces. -Removes autofill_messages.h completely. -Revises related browser tests. TEST=browser_tests BUG=582391 Committed: https://crrev.com/471b67d4c3111179e8d1babb3219a62f0c2a8faa Cr-Commit-Position: refs/heads/master@{#424351}

Patch Set 1 #

Patch Set 2 : browser_tests partly #

Total comments: 13

Patch Set 3 : Address comments from Ken and Yuzhu #

Patch Set 4 : Complete browser_tests #

Patch Set 5 : Rebase only #

Patch Set 6 : Fix browser_tests #

Total comments: 9

Patch Set 7 : Address comments from Vaclav #

Total comments: 6

Patch Set 8 : Rebase only #

Patch Set 9 : Address comments from Ken and Tom #

Patch Set 10 : Rebase only #

Unified diffs Side-by-side diffs Delta from patch set Stats (+409 lines, -224 lines) Patch
M chrome/browser/password_manager/chrome_password_manager_client.h View 1 2 3 4 5 6 7 8 9 6 chunks +17 lines, -27 lines 0 comments Download
M chrome/browser/password_manager/chrome_password_manager_client.cc View 1 2 3 4 5 6 7 8 9 7 chunks +6 lines, -31 lines 0 comments Download
M chrome/browser/password_manager/chrome_password_manager_client_unittest.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/ui/autofill/chrome_autofill_client.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M chrome/renderer/DEPS View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
A chrome/renderer/autofill/fake_password_manager_client.h View 1 2 3 4 5 1 chunk +80 lines, -0 lines 0 comments Download
A chrome/renderer/autofill/fake_password_manager_client.cc View 1 2 3 4 5 1 chunk +42 lines, -0 lines 0 comments Download
M chrome/renderer/autofill/password_autofill_agent_browsertest.cc View 1 2 3 4 5 6 5 chunks +24 lines, -3 lines 0 comments Download
M chrome/renderer/autofill/password_generation_agent_browsertest.cc View 1 2 3 4 5 6 10 chunks +47 lines, -31 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M components/autofill/content/common/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -8 lines 0 comments Download
M components/autofill/content/common/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
M components/autofill/content/common/OWNERS View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M components/autofill/content/common/autofill_message_generator.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -7 lines 0 comments Download
M components/autofill/content/common/autofill_message_generator.cc View 1 2 3 4 5 6 7 8 4 chunks +3 lines, -7 lines 0 comments Download
D components/autofill/content/common/autofill_messages.h View 1 chunk +0 lines, -74 lines 0 comments Download
M components/autofill/content/common/autofill_param_traits_macros.h View 1 2 3 4 5 6 7 8 1 chunk +32 lines, -0 lines 0 comments Download
M components/autofill/content/public/interfaces/autofill_driver.mojom View 1 2 3 4 5 6 1 chunk +29 lines, -0 lines 0 comments Download
M components/autofill/content/renderer/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M components/autofill/content/renderer/password_generation_agent.h View 2 chunks +4 lines, -0 lines 0 comments Download
M components/autofill/content/renderer/password_generation_agent.cc View 1 2 3 4 5 chunks +21 lines, -16 lines 0 comments Download
M components/password_manager/content/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
M content/common/associated_interface_provider_impl.h View 1 2 3 4 5 6 7 8 2 chunks +13 lines, -1 line 0 comments Download
M content/common/associated_interface_provider_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +63 lines, -0 lines 0 comments Download
M content/public/common/associated_interface_provider.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +13 lines, -7 lines 0 comments Download
M ipc/ipc_message_start.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M tools/ipc_fuzzer/message_lib/DEPS View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M tools/ipc_fuzzer/message_lib/all_messages.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 68 (45 generated)
leonhsl(Using Gerrit)
Hi, Ken, this CL is using content::AssociatedInterfaceProvider invented by you ;-) To write test codes, ...
4 years, 3 months ago (2016-09-20 15:06:31 UTC) #6
Ken Rockot(use gerrit already)
Looking pretty good! https://codereview.chromium.org/2352533003/diff/20001/chrome/browser/password_manager/chrome_password_manager_client.cc File chrome/browser/password_manager/chrome_password_manager_client.cc (right): https://codereview.chromium.org/2352533003/diff/20001/chrome/browser/password_manager/chrome_password_manager_client.cc#newcode144 chrome/browser/password_manager/chrome_password_manager_client.cc:144: password_manager_client_bindings_(web_contents, this), Looks like you're hitting ...
4 years, 3 months ago (2016-09-20 18:26:20 UTC) #7
yzshen1
Some drive-by comments. I didn't review the whole CL. https://codereview.chromium.org/2352533003/diff/20001/chrome/renderer/autofill/password_autofill_agent_browsertest.cc File chrome/renderer/autofill/password_autofill_agent_browsertest.cc (right): https://codereview.chromium.org/2352533003/diff/20001/chrome/renderer/autofill/password_autofill_agent_browsertest.cc#newcode551 chrome/renderer/autofill/password_autofill_agent_browsertest.cc:551: ...
4 years, 3 months ago (2016-09-20 18:50:26 UTC) #9
leonhsl(Using Gerrit)
Uploaded ps#3 to address comments, would you PTAnL? Thanks! Points: 1, Revised AssociatedInterfaceProvider related impl, ...
4 years, 3 months ago (2016-09-21 11:46:57 UTC) #10
leonhsl(Using Gerrit)
Uploaded ps#6 to fix browser_tests, now the only problem left is duplicated ChromePasswordManagerClient instance caused ...
4 years, 3 months ago (2016-09-23 15:38:38 UTC) #22
vabr (Chromium)
LGTM! As for the issue with ChromePasswordManagerClientTest.SavingAndFillingEnabledConditionsTest, you could supply a new WebContents to the ...
4 years, 2 months ago (2016-09-27 15:06:12 UTC) #25
leonhsl(Using Gerrit)
Thanks Vaclav a lot for help! Uploaded ps#7 to address comments, PTAnL, Thanks. https://codereview.chromium.org/2352533003/diff/100001/chrome/browser/password_manager/chrome_password_manager_client.h File ...
4 years, 2 months ago (2016-09-28 02:40:39 UTC) #30
leonhsl(Using Gerrit)
Hi, would you PTAL? Thanks. Ken: Overall review, especially AssociatedInterfaceProvider changes in //content. Tom: Security ...
4 years, 2 months ago (2016-09-28 02:52:37 UTC) #32
vabr (Chromium)
Still LGTM, thanks for addressing the comments! Vaclav https://codereview.chromium.org/2352533003/diff/100001/components/autofill/content/common/autofill_message_generator.h File components/autofill/content/common/autofill_message_generator.h (right): https://codereview.chromium.org/2352533003/diff/100001/components/autofill/content/common/autofill_message_generator.h#newcode1 components/autofill/content/common/autofill_message_generator.h:1: // ...
4 years, 2 months ago (2016-09-28 08:59:55 UTC) #33
Ken Rockot(use gerrit already)
lgtm https://codereview.chromium.org/2352533003/diff/120001/content/common/associated_interface_provider_impl.h File content/common/associated_interface_provider_impl.h (right): https://codereview.chromium.org/2352533003/diff/120001/content/common/associated_interface_provider_impl.h#newcode26 content/common/associated_interface_provider_impl.h:26: // mojom::RouteProvider and mojom::AssociatedInterfaceProvider. nit: We can reduce ...
4 years, 2 months ago (2016-09-28 14:42:48 UTC) #34
Tom Sepez
Code is fine, just a small issue about how to structure it. Thanks. https://codereview.chromium.org/2352533003/diff/120001/components/autofill/content/common/autofill_message_generator.h File ...
4 years, 2 months ago (2016-09-28 16:38:25 UTC) #35
jam
which parts do you want me to look at?
4 years, 2 months ago (2016-09-29 20:09:12 UTC) #36
leonhsl(Using Gerrit)
On 2016/09/29 20:09:12, jam wrote: > which parts do you want me to look at? ...
4 years, 2 months ago (2016-10-02 13:18:00 UTC) #37
leonhsl(Using Gerrit)
Uploaded ps#9 to address comments from Ken and Tom, would you PTAnL? Thanks! https://codereview.chromium.org/2352533003/diff/120001/components/autofill/content/common/autofill_message_generator.h File ...
4 years, 2 months ago (2016-10-07 09:42:53 UTC) #53
leonhsl(Using Gerrit)
Ping jam@, I think now the code is ready for your review. Thanks. Owner review ...
4 years, 2 months ago (2016-10-07 09:54:56 UTC) #54
Tom Sepez
messages/mojom LGTM.
4 years, 2 months ago (2016-10-07 17:50:04 UTC) #55
jam
lgtm
4 years, 2 months ago (2016-10-10 15:00:28 UTC) #56
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/2352533003/180001
4 years, 2 months ago (2016-10-11 00:38:43 UTC) #59
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/283599)
4 years, 2 months ago (2016-10-11 00:42:12 UTC) #61
leonhsl(Using Gerrit)
Did rebase and will land now. Thanks all~
4 years, 2 months ago (2016-10-11 01:04:06 UTC) #62
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/2352533003/190001
4 years, 2 months ago (2016-10-11 01:04:59 UTC) #65
commit-bot: I haz the power
Committed patchset #10 (id:190001)
4 years, 2 months ago (2016-10-11 02:46:32 UTC) #66
commit-bot: I haz the power
4 years, 2 months ago (2016-10-11 02:50:56 UTC) #68
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/471b67d4c3111179e8d1babb3219a62f0c2a8faa
Cr-Commit-Position: refs/heads/master@{#424351}

Powered by Google App Engine
This is Rietveld 408576698