commit | bf464fb2dc29d16cbafab8ac624d417da7ffa377 | [log] [tgz] |
---|---|---|
author | Sylvain Defresne <sdefresne@chromium.org> | Wed Jun 19 16:11:52 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jun 19 16:11:52 2019 |
tree | 6d89b048887f929c8bda4c539eab9adcf945d300 | |
parent | ef3bd9ac9e2d33381341d30336e88e4922dc6e13 [diff] |
Improve CreateAccessTokenFetcher{,ForAccount,ForClient} APIs Change OAuth2TokenService::CreateAccessTokenFetcher to return a std::unique_ptr<...> instead of a raw pointer. Mark CreateAccessTokenFetcher{,ForAccount,ForClient} method with WARN_UNUSED_RESULT to ensure the newly created object is used. Fix a unit test that was not using the fetcher. Bug: none Change-Id: I670ed6dea48f6d9a1bdf4e384370fe1eff68570a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1663136 Commit-Queue: Sylvain Defresne <sdefresne@chromium.org> Reviewed-by: Colin Blundell <blundell@chromium.org> Reviewed-by: Mihai Sardarescu <msarda@chromium.org> Cr-Commit-Position: refs/heads/master@{#670506}
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 .