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

Issue 2270333002: Reland: [Autofill] Migrate ContentPasswordManagerDriver<-->Password{Autofill,Generation}Agent IPCs … (Closed)

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

Description

Reland: [Autofill] Migrate ContentPasswordManagerDriver<-->Password{Autofill,Generation}Agent IPCs to mojo. Original CL was found breaking browser_test PasswordManagerBrowserTestBase.InternalsPage on Mac bots. Fix it and reland. The original CL: https://crrev.com/38eab5aeedba6745c0d9f7d7c897c16982299d88 Original CL description: This CL -Migrates all ContentPasswordManagerDriver<-->Password{Autofill,Generation}Agent IPC messages into mojo interfaces. -Revises related unit tests and browser tests. TBR=sky@chromium.org,tsepez@chromium.org TEST=components_unittests, browser_tests BUG=582391 Committed: https://crrev.com/97e8f751bc527212094f6fe65f1d96f709708991 Cr-Commit-Position: refs/heads/master@{#416593}

Patch Set 1 : Identical with original CL #

Patch Set 2 : Rebase #

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 1 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/chrome_password_manager_client_unittest.cc View 1 6 chunks +70 lines, -12 lines 0 comments Download
M chrome/browser/password_manager/password_manager_browsertest.cc View 1 4 chunks +15 lines, -17 lines 0 comments Download
A chrome/renderer/autofill/fake_content_password_manager_driver.h View 1 chunk +180 lines, -0 lines 0 comments Download
A chrome/renderer/autofill/fake_content_password_manager_driver.cc View 1 chunk +75 lines, -0 lines 0 comments Download
M chrome/renderer/autofill/form_autocomplete_browsertest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/renderer/autofill/password_autofill_agent_browsertest.cc View 1 28 chunks +136 lines, -152 lines 0 comments Download
M chrome/renderer/autofill/password_generation_agent_browsertest.cc View 9 chunks +47 lines, -31 lines 0 comments Download
M chrome/renderer/autofill/password_generation_test_utils.cc View 3 chunks +3 lines, -5 lines 0 comments Download
M chrome/test/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/base/chrome_render_view_test.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/base/chrome_render_view_test.cc View 1 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 2 chunks +0 lines, -2 lines 0 comments Download
M components/autofill/content/common/BUILD.gn View 1 chunk +0 lines, -7 lines 0 comments Download
M components/autofill/content/common/DEPS View 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/content/common/autofill_messages.h View 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 1 chunk +49 lines, -0 lines 0 comments Download
M components/autofill/content/public/interfaces/autofill_driver.mojom View 1 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 1 3 chunks +11 lines, -5 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.h View 1 6 chunks +21 lines, -9 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.cc View 1 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 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 2 chunks +73 lines, -24 lines 0 comments Download
M components/autofill/content/renderer/test_password_generation_agent.h View 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 14 chunks +73 lines, -65 lines 0 comments Download
M components/password_manager/content/browser/content_password_manager_driver_factory.h View 2 chunks +5 lines, -6 lines 0 comments Download
M components/password_manager/content/browser/content_password_manager_driver_factory.cc View 1 5 chunks +24 lines, -15 lines 0 comments Download
M components/password_manager/content/browser/content_password_manager_driver_unittest.cc View 6 chunks +72 lines, -18 lines 0 comments Download
M components/password_manager/core/browser/password_autofill_manager.h View 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 49 (23 generated)
leonhsl(Using Gerrit)
Hi, Vaclav, I've created this reland CL and started Mac trybots to verify the fix ...
4 years, 4 months ago (2016-08-24 03:04:02 UTC) #2
leonhsl(Using Gerrit)
On 2016/08/24 03:04:02, leonhsl wrote: > Hi, Vaclav, I've created this reland CL and started ...
4 years, 4 months ago (2016-08-24 04:47:40 UTC) #3
vabr (Chromium)
On 2016/08/24 04:47:40, leonhsl wrote: > On 2016/08/24 03:04:02, leonhsl wrote: > > Hi, Vaclav, ...
4 years, 4 months ago (2016-08-24 08:12:14 UTC) #4
vabr (Chromium)
On 2016/08/24 08:12:14, vabr (Chromium) wrote: > On 2016/08/24 04:47:40, leonhsl wrote: > > On ...
4 years, 4 months ago (2016-08-24 13:12:21 UTC) #5
leonhsl(Using Gerrit)
On 2016/08/24 13:12:21, vabr (Chromium) wrote: > On 2016/08/24 08:12:14, vabr (Chromium) wrote: > > ...
4 years, 4 months ago (2016-08-25 04:16:32 UTC) #6
vabr (Chromium)
On 2016/08/25 04:16:32, leonhsl wrote: > On 2016/08/24 13:12:21, vabr (Chromium) wrote: > > On ...
4 years, 3 months ago (2016-08-25 13:44:32 UTC) #7
vabr (Chromium)
As http://crbug.com/640737 shows, the failing test is already flaky without this patch. I guess the ...
4 years, 3 months ago (2016-08-29 08:55:42 UTC) #8
leonhsl(Using Gerrit)
On 2016/08/29 08:55:42, vabr (Chromium) wrote: > As http://crbug.com/640737 shows, the failing test is already ...
4 years, 3 months ago (2016-08-29 09:10:24 UTC) #9
vabr (Chromium)
Hi Han Leon! The test is unrelated to your CL. https://codereview.chromium.org/2287143003/ is disabling it on ...
4 years, 3 months ago (2016-08-29 10:08:13 UTC) #10
vabr (Chromium)
Hmm, so actually, let me hold this off once more. I checked again, with a ...
4 years, 3 months ago (2016-08-29 13:08:11 UTC) #11
leonhsl(Using Gerrit)
On 2016/08/29 13:08:11, vabr (Chromium) wrote: > Hmm, so actually, let me hold this off ...
4 years, 3 months ago (2016-08-30 02:05:59 UTC) #12
leonhsl(Using Gerrit)
On 2016/08/29 10:08:13, vabr (Chromium) wrote: > Hi Han Leon! > > The test is ...
4 years, 3 months ago (2016-08-30 03:35:18 UTC) #16
vabr (Chromium)
So far I saw this: All wiring seems to work, in particular ContentPasswordManagerDriver::SendLoggingAvailability gets its ...
4 years, 3 months ago (2016-08-30 09:46:56 UTC) #19
leonhsl(Using Gerrit)
On 2016/08/30 09:46:56, vabr (Chromium) wrote: > So far I saw this: > > All ...
4 years, 3 months ago (2016-08-30 10:16:49 UTC) #20
vabr (Chromium)
Hello and sorry for still delaying this. Interestingly the delay only happens in the test. ...
4 years, 3 months ago (2016-08-30 15:06:13 UTC) #21
leonhsl(Using Gerrit)
On 2016/08/30 15:06:13, vabr (Chromium) wrote: > Hello and sorry for still delaying this. > ...
4 years, 3 months ago (2016-08-31 03:28:08 UTC) #22
leonhsl(Using Gerrit)
Uploaded ps#2 to do rebase as all gyp files have been removed completely, Thanks a ...
4 years, 3 months ago (2016-09-05 08:00:19 UTC) #35
vabr (Chromium)
Thanks for the rebase, Han Leon! https://codereview.chromium.org/2288203002 just landed, which should mean that the InternalsPage ...
4 years, 3 months ago (2016-09-05 14:44:52 UTC) #36
leonhsl(Using Gerrit)
On 2016/09/05 14:44:52, vabr (Chromium) wrote: > Thanks for the rebase, Han Leon! > > ...
4 years, 3 months ago (2016-09-06 02:59:49 UTC) #37
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/2270333002/40001
4 years, 3 months ago (2016-09-06 03:12:31 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/136281)
4 years, 3 months ago (2016-09-06 04:34:18 UTC) #42
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/2270333002/40001
4 years, 3 months ago (2016-09-06 05:38:18 UTC) #44
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 3 months ago (2016-09-06 06:13:39 UTC) #45
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/97e8f751bc527212094f6fe65f1d96f709708991 Cr-Commit-Position: refs/heads/master@{#416593}
4 years, 3 months ago (2016-09-06 06:15:05 UTC) #47
jam
there are missing dependencies and it's causing build failures, i.e. https://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/276312/steps/compile%20%28with%20patch%29/logs/stdio are you fixing this? ...
4 years, 3 months ago (2016-09-08 06:11:14 UTC) #48
leonhsl(Using Gerrit)
4 years, 3 months ago (2016-09-08 06:23:29 UTC) #49
Message was sent while issue was closed.
On 2016/09/08 06:11:14, jam wrote:
> there are missing dependencies and it's causing build failures, i.e.
>
https://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64...
> 
> are you fixing this?
> 
> FAILED: obj/chrome/browser/test_support_ui/password_manager_test_base.obj 
> ninja -t msvc -e environment.x64 -- E:\b\c\cipd\goma/gomacc.exe
>
"E:\b\depot_tools\win_toolchain\vs_files\d5dc33b15d1b2c086f2f6632e2fd15882f80dbd3\VC\bin\amd64/cl.exe"
> /nologo /showIncludes /FC
> @obj/chrome/browser/test_support_ui/password_manager_test_base.obj.rsp /c
> ../../chrome/browser/password_manager/password_manager_test_base.cc
> /Foobj/chrome/browser/test_support_ui/password_manager_test_base.obj
> /Fd"obj/chrome/browser/test_support_ui_cc.pdb"
>
e:\b\c\b\win\src\components\password_manager\content\browser\content_password_manager_driver_factory.h(14):
> fatal error C1083: Cannot open include file:
> 'components/autofill/content/public/interfaces/autofill_driver.mojom.h': No
such
> file or directory

Sorry,, yeah https://codereview.chromium.org/2319763003/ is trying to solve this
problem. I'm confirming it now.

Powered by Google App Engine
This is Rietveld 408576698