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

Issue 1107873002: Test BlockingLoginTestInstance with enabled webview (Closed)

Created:
5 years, 8 months ago by Dmitry Polukhin
Modified:
5 years, 7 months ago
CC:
chromium-reviews, dzhioev+watch_chromium.org, stevenjb+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, xiyuan
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Test BlockingLoginTestInstance with enabled webview BUG=475567 TEST=browser_tests

Patch Set 1 #

Total comments: 2

Patch Set 2 : tests fixed #

Total comments: 4

Patch Set 3 : comments resolved #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -55 lines) Patch
M chrome/browser/chromeos/login/existing_user_controller.cc View 1 2 2 chunks +17 lines, -11 lines 0 comments Download
M chrome/browser/chromeos/login/session/user_session_manager.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/policy/blocking_login_browsertest.cc View 1 6 chunks +44 lines, -37 lines 0 comments Download
M chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc View 1 2 2 chunks +9 lines, -1 line 2 comments Download
M chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chromeos.cc View 1 2 chunks +3 lines, -1 line 1 comment Download
M chromeos/login/auth/auth_status_consumer.h View 1 2 2 chunks +7 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
Dmitry Polukhin
PTAL
5 years, 8 months ago (2015-04-27 09:30:56 UTC) #2
Nikita (slow)
https://codereview.chromium.org/1107873002/diff/1/chrome/browser/chromeos/login/existing_user_controller.cc File chrome/browser/chromeos/login/existing_user_controller.cc (right): https://codereview.chromium.org/1107873002/diff/1/chrome/browser/chromeos/login/existing_user_controller.cc#newcode961 chrome/browser/chromeos/login/existing_user_controller.cc:961: // login_performer_ might be null if error happened during ...
5 years, 8 months ago (2015-04-27 13:05:49 UTC) #3
Nikita (slow)
lgtm verified that these tests are fixed as well with this CL: https://codereview.chromium.org/1052683006/ https://codereview.chromium.org/1107873002/diff/20001/chrome/browser/chromeos/login/session/user_session_manager.h File ...
5 years, 8 months ago (2015-04-27 14:40:19 UTC) #4
Dmitry Polukhin
https://codereview.chromium.org/1107873002/diff/1/chrome/browser/chromeos/login/existing_user_controller.cc File chrome/browser/chromeos/login/existing_user_controller.cc (right): https://codereview.chromium.org/1107873002/diff/1/chrome/browser/chromeos/login/existing_user_controller.cc#newcode961 chrome/browser/chromeos/login/existing_user_controller.cc:961: // login_performer_ might be null if error happened during ...
5 years, 8 months ago (2015-04-27 14:51:58 UTC) #5
Nikita (slow)
FYI, just passing that access token to WhitelistLoginChecker is not enough https://codereview.chromium.org/1052683006/ see latest patch ...
5 years, 8 months ago (2015-04-27 15:07:21 UTC) #6
xiyuan
Thank you for looking at this. Let me know what you think. I got the ...
5 years, 8 months ago (2015-04-27 16:33:27 UTC) #8
achuithb
https://codereview.chromium.org/1107873002/diff/40001/chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc File chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc (right): https://codereview.chromium.org/1107873002/diff/40001/chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc#newcode220 chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc:220: .GetAccessToken()); On 2015/04/27 16:33:27, xiyuan wrote: > The AT ...
5 years, 8 months ago (2015-04-27 17:54:37 UTC) #10
achuithb
5 years, 7 months ago (2015-04-28 06:47:02 UTC) #11
On 2015/04/27 17:54:37, achuithb wrote:
>
https://codereview.chromium.org/1107873002/diff/40001/chrome/browser/chromeos...
> File chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc
> (right):
> 
>
https://codereview.chromium.org/1107873002/diff/40001/chrome/browser/chromeos...
> chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc:220:
> .GetAccessToken());
> On 2015/04/27 16:33:27, xiyuan wrote:
> > The AT in user context just have oauth login scrope and might not be enough
to
> > use with policy code. 
> > 
> > PolicyOAuth2TokenFetcher wraps the real fetching work and we can update it
to
> > start with a RT. We should probably add a parallel method to
> > FetchPolicyOAuthTokenUsingSigninContext to start PolicyOAuth2TokenFetcher
with
> > the refresh token.
> >  
> 
> Yup, we need this for the wildcard login check. I was going to tackle this
> today.

Dmitry, I think some of your concerns here should be addressed by:
https://codereview.chromium.org/1108983002/

Powered by Google App Engine
This is Rietveld 408576698