commit | 0610146f3b67f0e78c0415ecf098f3a92ac34ac1 | [log] [tgz] |
---|---|---|
author | Colin Blundell <blundell@chromium.org> | Wed May 23 10:23:23 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed May 23 10:23:23 2018 |
tree | 2658a07a9fccbe5097a380c53e6e7234639b62fb | |
parent | 5deb2c97c5dd54699d4b15939df86533f7f44e43 [diff] |
Port ExtensionDownloader away from IdentityProvider IdentityProvider is deprecated as a general-purpose means of interacting with the user's Google accounts. This CL ports ExtensionDownloader away from it, having it instead take in the OAuth2TokenService directly as well as a callback that returns the account to use with the webstore. It also clarifies the lifetime relationship between ExtensionDownloader and the ProfileOAuth2TokenService/SigninManager instances on which it depends for authentication. In the long term ExtensionDownloader will be ported to interact with the Identity Service for its use case. This CL is an incremental step on the path that also fills the more near-term goal of eliminating usages of IdentityProvider. Bug: 809966, 809927 Change-Id: I6b82cc318bd807d559e1701391ed3e02fcb489aa Reviewed-on: https://chromium-review.googlesource.com/1051810 Commit-Queue: Colin Blundell <blundell@chromium.org> Reviewed-by: Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#561024}
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 .