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.
The old code handled asynchronous system salt loading in the factory code, which made the Service a PITA to use. This change rewrites DeviceOauth2TokenService to fold all asynchronous operations into regular OAuth2TokenService implementation behavior, which is already set up with Observers and callbacks already. Also, this change improves the code to only perform validation once, even if there are multiple concurrent token requests. BUG=chromium:269455 TEST=Existing unit tests. TBR=rogerta@chromium.org Review URL: https://codereview.chromium.org/159773003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253453 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
mnissler@chromium.org
committed
Feb 26, 2014
1 parent
5caaf5c
commit f974485
Showing
18 changed files
with
642 additions
and
826 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
Oops, something went wrong.