forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pre-emptively reject dummy tokens in ChromeOSOAuth2TokenServiceDelegate
|ChromeOSOAuth2TokenServiceDelegate| should pre-emptively reject access token fetches and other operations on known dummy Gaia tokens instead of letting them go over the network and get rejected by Gaia server-side. This brings feature parity between |ChromeOSOAuth2TokenServiceDelegate| and |MutableProfileOAuth2TokenServiceDelegate|, which does the same thing. Bug: 915628 Test: unit_tests --gtest_filter="*CrOSOAuthDelegateTest*" Change-Id: I812a847fb1afd040a3ae743a9e491753878ca523 Reviewed-on: https://chromium-review.googlesource.com/c/1437627 Commit-Queue: Kush Sinha <sinhak@chromium.org> Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/master@{#627034}
- Loading branch information
Showing
4 changed files
with
55 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters