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

Issue 1021383002: cros: Transfer auth cookies for SAML webview sign-in. (Closed)

Created:
5 years, 9 months ago by xiyuan
Modified:
5 years, 9 months ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, dzioev+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, Dmitry Polukhin, bartfab (slow)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cros: Transfer auth cookies for SAML webview sign-in. - Update ProfileAuthData to transfer cookie from sign-in webview; - Passing back usingSAML flag for auth code authentication and use it to set has_auth_cookie flag when SAML is used; - Update UserCloudPolicyManagerChromeOS to fetch initial policy from correct auth request context; - Enable SAMLPolicyTest for WebView; BUG=461505 Committed: https://crrev.com/e251f5fa4cabd098094f68823cc412861b1f2b81 Cr-Commit-Position: refs/heads/master@{#322223}

Patch Set 1 #

Total comments: 5

Patch Set 2 : rebase, break UserCloudPolicyManagerChromeOS dependency on UserSessionManager to fix tests #

Total comments: 6

Patch Set 3 : update comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+213 lines, -67 lines) Patch
M chrome/browser/chromeos/login/existing_user_controller.cc View 1 2 1 chunk +7 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/helper.h View 1 2 chunks +22 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/helper.cc View 1 3 chunks +73 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/profile_auth_data.h View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/profile_auth_data.cc View 3 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/login/profile_auth_data_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/saml/saml_browsertest.cc View 2 chunks +16 lines, -11 lines 0 comments Download
M chrome/browser/chromeos/login/session/user_session_manager.h View 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/session/user_session_manager.cc View 5 chunks +22 lines, -23 lines 0 comments Download
M chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc View 1 3 chunks +6 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc View 1 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/resources/chromeos/login/screen_gaia_signin.js View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/login/base_screen_handler.h View 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc View 1 2 chunks +5 lines, -1 line 0 comments Download
M components/login/base_screen_handler_utils.h View 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
xiyuan
dzhioev@, do you mind helping to review this? Thanks.
5 years, 9 months ago (2015-03-20 20:05:15 UTC) #2
xiyuan
cc bartfab@ fyi
5 years, 9 months ago (2015-03-20 20:06:04 UTC) #3
dzhioev (left Google)
Hi, I'll review this CL later today.
5 years, 9 months ago (2015-03-23 16:03:10 UTC) #4
dzhioev_at_google
https://codereview.chromium.org/1021383002/diff/1/chrome/browser/chromeos/login/helper.cc File chrome/browser/chromeos/login/helper.cc (right): https://codereview.chromium.org/1021383002/diff/1/chrome/browser/chromeos/login/helper.cc#newcode145 chrome/browser/chromeos/login/helper.cc:145: return GetPartition(GetLoginWebContents(), std::string()); I'm adding another <webview> to OOBE ...
5 years, 9 months ago (2015-03-23 23:01:17 UTC) #6
xiyuan
https://codereview.chromium.org/1021383002/diff/1/chrome/browser/chromeos/login/helper.cc File chrome/browser/chromeos/login/helper.cc (right): https://codereview.chromium.org/1021383002/diff/1/chrome/browser/chromeos/login/helper.cc#newcode145 chrome/browser/chromeos/login/helper.cc:145: return GetPartition(GetLoginWebContents(), std::string()); On 2015/03/23 23:01:17, dzhioev_at_google wrote: > ...
5 years, 9 months ago (2015-03-23 23:10:48 UTC) #7
dzhioev_at_google
Thanks for clarification. LGTM https://codereview.chromium.org/1021383002/diff/1/chrome/browser/resources/gaia_auth_host/authenticator.js File chrome/browser/resources/gaia_auth_host/authenticator.js (right): https://codereview.chromium.org/1021383002/diff/1/chrome/browser/resources/gaia_auth_host/authenticator.js#newcode256 chrome/browser/resources/gaia_auth_host/authenticator.js:256: history.replaceState({url: url}, ''); On 2015/03/23 ...
5 years, 9 months ago (2015-03-23 23:54:23 UTC) #8
dzhioev (left Google)
On 2015/03/23 23:54:23, dzhioev_at_google wrote: > Thanks for clarification. > LGTM > > https://codereview.chromium.org/1021383002/diff/1/chrome/browser/resources/gaia_auth_host/authenticator.js > ...
5 years, 9 months ago (2015-03-24 13:16:51 UTC) #9
xiyuan
mnissler@, could you help to review policy/ser_cloud_policy_manager_chromeos*? The CL changes to use sign-in context from ...
5 years, 9 months ago (2015-03-24 19:20:46 UTC) #11
Mattias Nissler (ping if slow)
policy bits LGTM https://codereview.chromium.org/1021383002/diff/20001/chrome/browser/chromeos/login/existing_user_controller.cc File chrome/browser/chromeos/login/existing_user_controller.cc (right): https://codereview.chromium.org/1021383002/diff/20001/chrome/browser/chromeos/login/existing_user_controller.cc#newcode596 chrome/browser/chromeos/login/existing_user_controller.cc:596: // Bootstrap exp. F F nit: ...
5 years, 9 months ago (2015-03-25 08:28:18 UTC) #12
xiyuan
https://codereview.chromium.org/1021383002/diff/20001/chrome/browser/chromeos/login/existing_user_controller.cc File chrome/browser/chromeos/login/existing_user_controller.cc (right): https://codereview.chromium.org/1021383002/diff/20001/chrome/browser/chromeos/login/existing_user_controller.cc#newcode596 chrome/browser/chromeos/login/existing_user_controller.cc:596: // Bootstrap exp. F F On 2015/03/25 08:28:18, Mattias ...
5 years, 9 months ago (2015-03-25 19:26:19 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1021383002/40001
5 years, 9 months ago (2015-03-25 19:28:01 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-25 20:01:52 UTC) #17
commit-bot: I haz the power
5 years, 9 months ago (2015-03-25 20:02:27 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e251f5fa4cabd098094f68823cc412861b1f2b81
Cr-Commit-Position: refs/heads/master@{#322223}

Powered by Google App Engine
This is Rietveld 408576698