|
Profile chooser on mac was passing wrong value to signin error controller. At the same time, I noticed another case where an infinite spinner could happen on any platform, see fix in inline_login_handler_impl.cc.
Fixed MutableProfileOAuth2TokenService to canonicalize the primary account id given to it in order to properly support loading older profiles. This could cause chrome to show an auth error even after a successful reauth.
Refactored auth error providers to provide only the account id.
Signin error controller should no longer care about username.
BUG= 476739
Committed: https://crrev.com/7470d4c05962b89ada2647e657436a6d582cb677
Cr-Commit-Position: refs/heads/master@{#327307}
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+39 lines, -85 lines) |
Patch |
|
M |
chrome/browser/app_controller_mac_unittest.mm
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/signin/signin_error_notifier_ash_unittest.cc
|
View
|
1
|
6 chunks |
+1 line, -7 lines |
0 comments
|
Download
|
|
M |
chrome/browser/signin/signin_global_error_unittest.cc
|
View
|
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/sync/sync_ui_util_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm
|
View
|
1
2
3
|
5 chunks |
+13 lines, -9 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/profiles/profile_chooser_view.cc
|
View
|
1
2
|
3 chunks |
+4 lines, -12 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/webui/options/sync_setup_handler_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/webui/signin/inline_login_handler_impl.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
components/signin/core/browser/about_signin_internals.cc
|
View
|
1
2
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
components/signin/core/browser/fake_auth_status_provider.h
|
View
|
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
components/signin/core/browser/fake_auth_status_provider.cc
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
components/signin/core/browser/mutable_profile_oauth2_token_service.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
components/signin/core/browser/mutable_profile_oauth2_token_service.cc
|
View
|
|
2 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
|
M |
components/signin/core/browser/signin_error_controller.h
|
View
|
|
3 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
components/signin/core/browser/signin_error_controller.cc
|
View
|
1
2
|
3 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
components/signin/core/browser/signin_error_controller_unittest.cc
|
View
|
|
9 chunks |
+0 lines, -15 lines |
0 comments
|
Download
|
|
M |
components/signin/ios/browser/profile_oauth2_token_service_ios.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
components/signin/ios/browser/profile_oauth2_token_service_ios.mm
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
Total messages: 25 (12 generated)
|