|
Change X-Auto-Login implementation to use OAuth token.
X-Auto-Login implementation was using client login to get an ubertoken. The problem is that SID/LSID are short lived, and that token generated this way have the same timestamp as the original SID/LSID.
Because TokenService generate also an Oauth refresh token, change the implementation to use this token to generate ubertokens.
BUG=none
TEST=unit
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=120746
Total comments: 23
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+566 lines, -201 lines) |
Patch |
 |
M |
chrome/browser/signin/token_service_unittest.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/signin/token_service_unittest.cc
|
View
|
1
|
16 chunks |
+150 lines, -146 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/signin/ubertoken_fetcher.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+82 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/signin/ubertoken_fetcher.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+114 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/signin/ubertoken_fetcher_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+104 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/auto_login_info_bar_delegate.cc
|
View
|
1
2
3
|
5 chunks |
+23 lines, -49 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/net/gaia/gaia_auth_consumer.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/net/gaia/gaia_auth_fetcher.h
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/net/gaia/gaia_auth_fetcher.cc
|
View
|
1
2
3
4
5
|
7 chunks |
+41 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/net/gaia/gaia_auth_fetcher_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+31 lines, -2 lines |
0 comments
|
Download
|
Total messages: 20 (0 generated)
|