commit | cb05af1b8e952afa7bc2729ed16f838b278dbcd4 | [log] [tgz] |
---|---|---|
author | Colin Blundell <blundell@chromium.org> | Fri Jun 29 13:13:53 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jun 29 13:13:53 2018 |
tree | e242b71ffd8dda390cb733c3e161fef99487e7e2 | |
parent | 4437633bdfd4f28769a401afafc96a158c0ce6f2 [diff] |
IdentityManager: Add APIs for querying state of refresh tokens This CL adds APIs to IdentityManager for obtaining the set of all accounts with refresh tokens and querying whether the primary account is available with a refresh token. The design follows that of IdentityManager's caching of the primary account information: - IdentityManager initializes its state with the current state of ProfileOAuth2TokenService. - IdentityManager updates this state in response to notifications from PO2TS that an account's refresh token was updated/removed. TBR=bsazonov@chromium.org Bug: 806774 Change-Id: Idc4a37a15ced2e7d32f012a50e4e0d1fdb1aecdf Reviewed-on: https://chromium-review.googlesource.com/1098668 Commit-Queue: Colin Blundell <blundell@chromium.org> Reviewed-by: Mihai Sardarescu <msarda@chromium.org> Reviewed-by: Marc Treib <treib@chromium.org> Reviewed-by: Sylvain Defresne <sdefresne@chromium.org> Cr-Commit-Position: refs/heads/master@{#571451}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .