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

Issue 1866643002: Reland: Switch components/password_manager code from IPC messages to Mojo. (Closed)

Created:
4 years, 8 months ago by leonhsl(Using Gerrit)
Modified:
4 years, 8 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, blundell+watchlist_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, droger+watchlist_chromium.org, gcasto+watchlist_chromium.org, jam, mkwst+watchlist-passwords_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, qsr+mojo_chromium.org, sdefresne+watchlist_chromium.org, sdefresne+watch_chromium.org, vabr+watchlistpasswordmanager_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

Reland: Switch components/password_manager code from IPC messages to Mojo. Original CL was found breaking android gn build after landed.. #strange Fix BUILD.gn and reland. The original CL: https://crrev.com/d20fb918841354a75546fa38b5307aaba117598b Original CL description follows: Replace credential_manager_messages.h IPC to Mojo service. BUG=582391 Committed: https://crrev.com/4a2f71f4c9e9e2c3ac0e4622c12e5dc0c5ebfe24 Cr-Commit-Position: refs/heads/master@{#386290}

Patch Set 1 #

Patch Set 2 : Rebase only #

Patch Set 3 : Fix android gn trybot failure #

Patch Set 4 : Rebase only #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1013 lines, -2530 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/chrome_password_manager_client.h View 3 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/password_manager/chrome_password_manager_client.cc View 1 2 3 3 chunks +15 lines, -2 lines 0 comments Download
M chrome/browser/password_manager/chrome_password_manager_client_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_common.gypi View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M components/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M components/components_tests.gyp View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M components/password_manager.gypi View 4 chunks +38 lines, -17 lines 0 comments Download
M components/password_manager/content/DEPS View 1 chunk +1 line, -1 line 0 comments Download
M components/password_manager/content/browser/BUILD.gn View 3 chunks +6 lines, -4 lines 0 comments Download
M components/password_manager/content/browser/DEPS View 1 chunk +2 lines, -0 lines 0 comments Download
D components/password_manager/content/browser/credential_manager_dispatcher.h View 1 chunk +0 lines, -129 lines 0 comments Download
D components/password_manager/content/browser/credential_manager_dispatcher.cc View 1 2 3 1 chunk +0 lines, -292 lines 0 comments Download
D components/password_manager/content/browser/credential_manager_dispatcher_unittest.cc View 1 2 3 1 chunk +0 lines, -1191 lines 0 comments Download
A + components/password_manager/content/browser/credential_manager_impl.h View 5 chunks +32 lines, -35 lines 0 comments Download
A + components/password_manager/content/browser/credential_manager_impl.cc View 1 2 3 10 chunks +79 lines, -90 lines 0 comments Download
A + components/password_manager/content/browser/credential_manager_impl_unittest.cc View 1 2 3 54 chunks +251 lines, -293 lines 0 comments Download
D components/password_manager/content/common/BUILD.gn View 1 chunk +0 lines, -22 lines 0 comments Download
D components/password_manager/content/common/DEPS View 1 chunk +0 lines, -4 lines 0 comments Download
D components/password_manager/content/common/OWNERS View 1 chunk +0 lines, -13 lines 0 comments Download
D components/password_manager/content/common/credential_manager_content_utils.h View 1 chunk +0 lines, -22 lines 0 comments Download
D components/password_manager/content/common/credential_manager_content_utils.cc View 1 chunk +0 lines, -36 lines 0 comments Download
D components/password_manager/content/common/credential_manager_message_generator.h View 1 chunk +0 lines, -7 lines 0 comments Download
D components/password_manager/content/common/credential_manager_message_generator.cc View 1 chunk +0 lines, -33 lines 0 comments Download
D components/password_manager/content/common/credential_manager_messages.h View 1 chunk +0 lines, -86 lines 0 comments Download
A + components/password_manager/content/public/cpp/BUILD.gn View 1 chunk +11 lines, -11 lines 0 comments Download
A components/password_manager/content/public/cpp/type_converters.h View 1 chunk +51 lines, -0 lines 0 comments Download
A components/password_manager/content/public/cpp/type_converters.cc View 1 chunk +128 lines, -0 lines 0 comments Download
A + components/password_manager/content/public/interfaces/BUILD.gn View 1 2 3 1 chunk +4 lines, -5 lines 0 comments Download
A + components/password_manager/content/public/interfaces/OWNERS View 1 chunk +2 lines, -0 lines 0 comments Download
A components/password_manager/content/public/interfaces/credential_manager.mojom View 1 chunk +44 lines, -0 lines 0 comments Download
M components/password_manager/content/renderer/BUILD.gn View 2 chunks +4 lines, -4 lines 0 comments Download
M components/password_manager/content/renderer/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M components/password_manager/content/renderer/credential_manager_client.h View 3 chunks +4 lines, -27 lines 0 comments Download
M components/password_manager/content/renderer/credential_manager_client.cc View 1 2 3 3 chunks +154 lines, -85 lines 0 comments Download
M components/password_manager/content/renderer/credential_manager_client_browsertest.cc View 1 2 3 5 chunks +111 lines, -83 lines 0 comments Download
M components/password_manager/core/browser/credential_manager_pending_request_task.h View 5 chunks +10 lines, -5 lines 0 comments Download
M components/password_manager/core/browser/credential_manager_pending_request_task.cc View 6 chunks +7 lines, -7 lines 0 comments Download
M components/password_manager/core/common/credential_manager_types.h View 2 chunks +2 lines, -1 line 0 comments Download
M components/password_manager/core/common/credential_manager_types.cc View 1 chunk +10 lines, -2 lines 0 comments Download
M content/content_common_mojo_bindings.gyp View 2 chunks +4 lines, -4 lines 0 comments Download
M ios/chrome/browser/passwords/credential_manager.h View 1 2 3 2 chunks +7 lines, -2 lines 0 comments Download
M ios/chrome/browser/passwords/credential_manager.mm View 1 2 3 6 chunks +15 lines, -7 lines 0 comments Download
M ipc/ipc_message_start.h View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 41 (18 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1866643002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1866643002/1
4 years, 8 months ago (2016-04-06 05:59:26 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/165063)
4 years, 8 months ago (2016-04-06 06:12:22 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1866643002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1866643002/1
4 years, 8 months ago (2016-04-06 10:38:24 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/165145)
4 years, 8 months ago (2016-04-06 10:47:41 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1866643002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1866643002/40001
4 years, 8 months ago (2016-04-06 23:42:21 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/165509)
4 years, 8 months ago (2016-04-06 23:56:12 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1866643002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1866643002/40001
4 years, 8 months ago (2016-04-07 01:57:31 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/165570)
4 years, 8 months ago (2016-04-07 02:11:53 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1866643002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1866643002/40001
4 years, 8 months ago (2016-04-07 03:41:09 UTC) #19
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/165601)
4 years, 8 months ago (2016-04-07 03:52:50 UTC) #21
leonhsl(Using Gerrit)
This CL fixed the android gn trybot failure caused by the original landed CL https://codereview.chromium.org/1762603002/ ...
4 years, 8 months ago (2016-04-07 04:44:07 UTC) #23
vabr (Chromium)
On 2016/04/07 04:44:07, leonhsl wrote: > This CL fixed the android gn trybot failure caused ...
4 years, 8 months ago (2016-04-07 11:42:57 UTC) #24
leonhsl(Using Gerrit)
On 2016/04/07 11:42:57, vabr (Chromium) wrote: > On 2016/04/07 04:44:07, leonhsl wrote: > > This ...
4 years, 8 months ago (2016-04-07 14:37:37 UTC) #25
Ken Rockot(use gerrit already)
lgtm
4 years, 8 months ago (2016-04-07 14:41:46 UTC) #26
jochen (gone - plz use gerrit)
lgtm
4 years, 8 months ago (2016-04-08 02:44:48 UTC) #27
Tom Sepez
lgtm
4 years, 8 months ago (2016-04-08 15:26:03 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1866643002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1866643002/60001
4 years, 8 months ago (2016-04-09 03:14:21 UTC) #30
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-09 04:21:37 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1866643002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1866643002/60001
4 years, 8 months ago (2016-04-09 06:40:39 UTC) #35
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-09 06:46:45 UTC) #36
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/4a2f71f4c9e9e2c3ac0e4622c12e5dc0c5ebfe24 Cr-Commit-Position: refs/heads/master@{#386290}
4 years, 8 months ago (2016-04-09 06:48:51 UTC) #38
fs
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1872133002/ by fs@opera.com. ...
4 years, 8 months ago (2016-04-09 16:12:29 UTC) #39
leonhsl(Using Gerrit)
4 years, 8 months ago (2016-04-10 02:50:52 UTC) #40
Message was sent while issue was closed.
On 2016/04/09 16:12:29, fs wrote:
> A revert of this CL (patchset #4 id:60001) has been created in
> https://codereview.chromium.org/1872133002/ by mailto:fs@opera.com.
> 
> The reason for reverting is: Appears to have caused:
> 
> FAILED: /b/build/slave/GPU_Linux_Builder/build/src/build/goma/client/gomacc
> ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF
> obj/chrome/browser/test_support_ui/password_manager_test_base.o.d
> -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -DENABLE_MDNS=1
-DENABLE_NOTIFICATIONS
> -DENABLE_PEPPER_CDMS -DENABLE_PLUGINS=1 -DENABLE_PDF=1 -DENABLE_PRINTING=1
> -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1
> -DUSE_UDEV -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_PANGO=1
> -DUSE_CAIRO=1 -DUSE_CLIPBOARD_AURAX11=1 -DUSE_DEFAULT_RENDER_THEME=1
> -DUSE_GLIB=1 -DUSE_OPENSSL=1 -DUSE_NSS_CERTS=1 -DUSE_NSS_VERIFIER=1
-DUSE_X11=1
> -DENABLE_WEBRTC=1 -DENABLE_EXTENSIONS=1 -DENABLE_TASK_MANAGER=1
> -DENABLE_THEMES=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1
-DENABLE_SESSION_SERVICE=1
> -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1
> -DENABLE_SERVICE_DISCOVERY=1 -DENABLE_AUTOFILL_DIALOG=1
-DENABLE_TOPCHROME_MD=1
> -DUSE_PROPRIETARY_CODECS -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD
> -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DENABLE_MEDIA_ROUTER=1
> -DFIELDTRIAL_TESTING_ENABLED -DCR_CLANG_REVISION=264915-1
-D_FILE_OFFSET_BITS=64
> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS
> -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0
> -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
> -DTOOLKIT_VIEWS=1 -DGL_GLEXT_PROTOTYPES -DGTEST_HAS_POSIX_RE=0
> -DGTEST_LANG_CXX11=0 -DGTEST_HAS_RTTI=0
-DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS
> -DSK_SUPPORT_GPU=1 -DUNIT_TEST -I../.. -Igen
> -I../../build/linux/debian_wheezy_amd64-sysroot/usr/include/glib-2.0
>
-I../../build/linux/debian_wheezy_amd64-sysroot/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -I../../third_party/protobuf/src -Igen/protoc_out
> -I../../third_party/protobuf/src -I../../third_party/protobuf
> -I../../third_party/khronos -I../../gpu -I../../testing/gtest/include
> -I../../build/linux/debian_wheezy_amd64-sysroot/usr/include/nss
> -I../../build/linux/debian_wheezy_amd64-sysroot/usr/include/nspr
> -I../../third_party/boringssl/src/include -I../../testing/gmock/include
> -I../../skia/config -I../../skia/ext -I../../third_party/skia/include/c
> -I../../third_party/skia/include/config -I../../third_party/skia/include/core
> -I../../third_party/skia/include/effects
-I../../third_party/skia/include/images
> -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops
> -I../../third_party/skia/include/pdf -I../../third_party/skia/include/pipe
> -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils
> -I../../third_party/skia/include/gpu -I../../third_party/skia/src/gpu
> -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector
-funwind-tables
> -fPIC -pipe -B../../third_party/binutils/Linux_x64/Release/bin
> -fcolor-diagnostics
> -fdebug-prefix-map=/b/build/slave/GPU_Linux_Builder/build/src=. -pthread -m64
> -march=x86-64 -Wall -Werror -Wextra -Wno-missing-field-initializers
> -Wno-unused-parameter -Wno-c++11-narrowing -Wno-covered-switch-default
> -Wno-deprecated-register -Wno-unneeded-internal-declaration
> -Wno-inconsistent-missing-override -Wno-shift-negative-value -O2 -fno-ident
> -fdata-sections -ffunction-sections -g0
> --sysroot=../../build/linux/debian_wheezy_amd64-sysroot -fvisibility=hidden
> -Xclang -load -Xclang
> ../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.so
-Xclang
> -add-plugin -Xclang find-bad-constructs -Xclang
-plugin-arg-find-bad-constructs
> -Xclang check-templates -Xclang -plugin-arg-find-bad-constructs -Xclang
> follow-macro-expansion -Wheader-hygiene -Wstring-conversion -Wno-header-guard
> -fno-threadsafe-statics -fvisibility-inlines-hidden -std=gnu++11 -fno-rtti
> -fno-exceptions -c
> ../../chrome/browser/password_manager/password_manager_test_base.cc -o
> obj/chrome/browser/test_support_ui/password_manager_test_base.o
> In file included from
> ../../chrome/browser/password_manager/password_manager_test_base.cc:13:
> In file included from
> ../../chrome/browser/password_manager/chrome_password_manager_client.h:15:
> In file included from
>
../../components/password_manager/content/browser/credential_manager_impl.h:13:
> In file included from
>
gen/components/password_manager/content/public/interfaces/credential_manager.mojom.h:26:
>
gen/components/password_manager/content/public/interfaces/credential_manager.mojom-internal.h:14:10:
> fatal error: 'url/mojo/origin.mojom-internal.h' file not found
> #include "url/mojo/origin.mojom-internal.h"
> 
>
(https://build.chromium.org/p/chromium.gpu/builders/GPU%20Linux%20Builder/buil...).

Hi, all, so sorry about this!! Brought additional work for all of you...
This bot is "GPU Linux Builder", seems it's not included in the checklist
trybots before landing??

I'll try to reproduce this failure locally and will land again once fix solution
done.. Thanks~

Powered by Google App Engine
This is Rietveld 408576698