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

Issue 807503004: While trying to enable webview sign-in by default, I found a bunch of issues (Closed)

Created:
6 years ago by Roger Tawa OOO till Jul 10th
Modified:
5 years, 11 months ago
CC:
chromium-reviews, tfarina, noyau+watch_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

While trying to enable webview sign-in by default, I found a bunch of issues that needed to fixed first. This CL contains only those fixes. Once this lands I can commit the CL (795873004) that actually enables webview sign-in. Fixes here include: - making Authenticator.js more of a drop in replacement for GaiaAuthHost. Important for tests - fix to some race conditions in Authenticator.js wrt loadstop - support in inline_login to work with webview - fixes to tests that were hardcoded to only test the old style sign-in BUG=441821 Committed: https://crrev.com/e77304c4963cfd00489f09c4645521752c49577c Cr-Commit-Position: refs/heads/master@{#310224}

Patch Set 1 : Disable tests that don't apply to cros #

Patch Set 2 : rebased #

Total comments: 4

Patch Set 3 : Fixes are more manual testing #

Patch Set 4 : merged #

Patch Set 5 : Disable tests for cros in gyp file #

Total comments: 8

Patch Set 6 : rebased #

Patch Set 7 : Move comment, remove RunAllPending #

Total comments: 2

Patch Set 8 : Add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+312 lines, -309 lines) Patch
M chrome/browser/profiles/host_zoom_map_browsertest.cc View 2 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/resources/gaia_auth_host/authenticator.js View 1 2 13 chunks +40 lines, -77 lines 0 comments Download
M chrome/browser/resources/inline_login/inline_login.js View 1 2 3 chunks +20 lines, -39 lines 0 comments Download
M chrome/browser/signin/signin_browsertest.cc View 1 2 3 4 chunks +14 lines, -0 lines 0 comments Download
A chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc View 1 2 3 4 5 6 7 1 chunk +124 lines, -0 lines 0 comments Download
D chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_unittest.cc View 1 2 3 1 chunk +0 lines, -149 lines 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_handler_impl.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_ui.cc View 3 chunks +18 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_ui_browsertest.cc View 1 2 3 8 chunks +59 lines, -24 lines 0 comments Download
M chrome/browser/ui/zoom/zoom_controller_browsertest.cc View 5 chunks +18 lines, -12 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 3 chunks +4 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 2 chunks +0 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (5 generated)
Roger Tawa OOO till Jul 10th
Hi James Monica, Xiyuan, Can you please review? This fixes code to work with the ...
6 years ago (2014-12-18 22:30:52 UTC) #2
xiyuan
LGTM my part.
6 years ago (2014-12-19 17:22:50 UTC) #5
noms (inactive)
https://codereview.chromium.org/807503004/diff/60001/chrome/browser/resources/gaia_auth_host/authenticator.js File chrome/browser/resources/gaia_auth_host/authenticator.js (right): https://codereview.chromium.org/807503004/diff/60001/chrome/browser/resources/gaia_auth_host/authenticator.js#newcode142 chrome/browser/resources/gaia_auth_host/authenticator.js:142: this.trusted_ = false; nit: no {} https://codereview.chromium.org/807503004/diff/60001/chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc File chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc ...
6 years ago (2014-12-19 19:48:59 UTC) #6
Roger Tawa OOO till Jul 10th
Thanks Xiyuan. Monica. A few more changes after some more manual testing. Monica: you're right ...
6 years ago (2014-12-19 22:23:59 UTC) #7
wjmaclean
LGTM for zoom tests.
5 years, 11 months ago (2014-12-29 13:58:16 UTC) #8
Roger Tawa OOO till Jul 10th
Thanks Monica. Comments addressed. Scott: can you review bookmark_bubble_sign_in_delegate_browsertest.cc and bookmark_bubble_sign_in_delegate_unittest.cc? What I did was ...
5 years, 11 months ago (2015-01-05 20:19:19 UTC) #9
Roger Tawa OOO till Jul 10th
Oops. forgot to add Scott as a reviewer. Scott: please review bookmark_bubble_sign_in_delegate_browsertest.cc and bookmark_bubble_sign_in_delegate_unittest.cc? What ...
5 years, 11 months ago (2015-01-06 01:37:53 UTC) #11
sky
https://codereview.chromium.org/807503004/diff/120001/chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc File chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc (right): https://codereview.chromium.org/807503004/diff/120001/chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc#newcode39 chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc:39: // The default browser created for tests start with ...
5 years, 11 months ago (2015-01-06 15:48:42 UTC) #12
noms (inactive)
lgtm
5 years, 11 months ago (2015-01-06 21:58:27 UTC) #13
Roger Tawa OOO till Jul 10th
Thanks Scott. Comments addressed and changes uploaded. https://codereview.chromium.org/807503004/diff/120001/chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc File chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc (right): https://codereview.chromium.org/807503004/diff/120001/chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc#newcode39 chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc:39: // The ...
5 years, 11 months ago (2015-01-06 22:34:59 UTC) #14
sky
LGTM https://codereview.chromium.org/807503004/diff/160001/chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc File chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc (right): https://codereview.chromium.org/807503004/diff/160001/chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc#newcode114 chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc:114: content::RunAllPendingInMessageLoop(); Please document why this one is needed.
5 years, 11 months ago (2015-01-06 22:49:11 UTC) #15
Roger Tawa OOO till Jul 10th
Thanks Scott. https://codereview.chromium.org/807503004/diff/160001/chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc File chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc (right): https://codereview.chromium.org/807503004/diff/160001/chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc#newcode114 chrome/browser/ui/bookmarks/bookmark_bubble_sign_in_delegate_browsertest.cc:114: content::RunAllPendingInMessageLoop(); On 2015/01/06 22:49:11, sky wrote: > ...
5 years, 11 months ago (2015-01-07 02:09:09 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/807503004/180001
5 years, 11 months ago (2015-01-07 02:10:28 UTC) #18
commit-bot: I haz the power
Committed patchset #8 (id:180001)
5 years, 11 months ago (2015-01-07 02:54:25 UTC) #19
commit-bot: I haz the power
5 years, 11 months ago (2015-01-07 02:55:20 UTC) #20
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/e77304c4963cfd00489f09c4645521752c49577c
Cr-Commit-Position: refs/heads/master@{#310224}

Powered by Google App Engine
This is Rietveld 408576698