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

Issue 996743003: Webview-based signin shouldn't create a partition for the embedder. (Closed)

Created:
5 years, 9 months ago by wjmaclean
Modified:
5 years, 9 months ago
CC:
chromium-reviews, Fady Samuel, Roger Tawa OOO till Jul 10th, Lei Zhang
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Webview-based signin shouldn't create a partition for the embedder. In recent CLs that have turned on webview-based signin, the old chrome signin url has been adopted by the new signin mechanism, but this has resulted in the webview's embedder being placed in a separate storage partition, which has broken both default page zoom behaviour. It has also prevented the appearance of the signin page's zoom level in the zoom exceptions list in settings. This CL restores previous behaviour, where the webview's embedder lives in the default storage partition. BUG=462559 Committed: https://crrev.com/edb762e8e21da7075b42220e0d78bae6f06431fb Cr-Commit-Position: refs/heads/master@{#322050}

Patch Set 1 #

Patch Set 2 : Add test to confirm that WebView signin is using the default storage partition. #

Patch Set 3 : Disable test for ChromeOS, force flag for other test. #

Patch Set 4 : Force expectation in IFrame signin test. #

Total comments: 8

Patch Set 5 : Address comments, re-enable test on ChromeOS. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -16 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 2 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/profiles/host_zoom_map_browsertest.cc View 1 2 3 4 4 chunks +41 lines, -10 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
wjmaclean
PTAL?
5 years, 9 months ago (2015-03-10 16:01:34 UTC) #2
wjmaclean
Switching reviewer to creis@ since it involves storage partitions ...
5 years, 9 months ago (2015-03-10 17:41:41 UTC) #4
Charlie Reis
This was the behavior before the switch to iframe-based signin, right? Seems reasonable to me. ...
5 years, 9 months ago (2015-03-11 00:07:27 UTC) #5
wjmaclean
Added a test. Yes, the webview based signin used the default storage partition until recently ...
5 years, 9 months ago (2015-03-11 13:12:17 UTC) #6
wjmaclean
On 2015/03/11 13:12:17, wjmaclean wrote: > Added a test. Yes, the webview based signin used ...
5 years, 9 months ago (2015-03-11 13:59:03 UTC) #7
wjmaclean
blundell@chromium.org: Please review changes in components/ Thanks!
5 years, 9 months ago (2015-03-11 15:46:53 UTC) #9
wjmaclean
On 2015/03/11 15:46:53, wjmaclean (ooo 2015.03.12 -22) wrote: > mailto:blundell@chromium.org: Please review changes in > ...
5 years, 9 months ago (2015-03-11 19:23:04 UTC) #12
Roger Tawa OOO till Jul 10th
lgtm Thanks James.
5 years, 9 months ago (2015-03-11 19:48:05 UTC) #13
Charlie Reis
Thanks for the test! A few minor things I'm uncertain about, but otherwise it looks ...
5 years, 9 months ago (2015-03-11 20:23:11 UTC) #14
wjmaclean
Back from vacay, updated, PTAL :-) https://codereview.chromium.org/996743003/diff/60001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://codereview.chromium.org/996743003/diff/60001/chrome/browser/chrome_content_browser_client.cc#newcode888 chrome/browser/chrome_content_browser_client.cc:888: // Chrome signin ...
5 years, 9 months ago (2015-03-23 15:31:52 UTC) #15
Charlie Reis
Thanks, LGTM
5 years, 9 months ago (2015-03-24 18:27:18 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/996743003/80001
5 years, 9 months ago (2015-03-24 18:30:38 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 9 months ago (2015-03-24 19:41:10 UTC) #20
commit-bot: I haz the power
5 years, 9 months ago (2015-03-24 19:41:55 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/edb762e8e21da7075b42220e0d78bae6f06431fb
Cr-Commit-Position: refs/heads/master@{#322050}

Powered by Google App Engine
This is Rietveld 408576698