New issue
Advanced search Search tips

Issue 884205 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Oct 8
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug

Blocking:
issue 880848
issue 885178



Sign in to add a comment

Develop IdentityManager::Observer::OnRefreshTokensLoaded() API that corresponds to O2TS::Observer::OnRefreshTokensLoaded()

Project Member Reported by blundell@chromium.org, Sep 14

Issue description

Ideally we would get rid of this notification entirely by hiding the loading of tokens from disk within the Identity Service as an implementation detail, but that's a long-term design goal (see  crbug.com/749535 ). In the meantime it has a non-negligible number of consumers, so we should develop an equivalent IdentityManager::Observer API to facilitate porting.
 
Blocking: 885178
Summary: Develop IdentityManager::Observer::OnRefreshTokensLoaded() API that corresponds to O2TS::Observer::OnRefreshTokensLoaded() (was: Develop IdentityManager::Observer API that corresponds to O2TS::Observer::OnRefreshTokensLoaded())
Unittests of the new API should be added that are similar to the unittests of the existing IdentityManager::Observer APIs: triggering the observer callback from the backing PO2TS object and verifying that a callback reaches an IdentityManager::Observer.
Labels: Proj-Servicification-VendorBug
Owner: svil...@igalia.com
Status: Assigned (was: Available)
taking this
Project Member

Comment 5 by bugdroid1@chromium.org, Oct 8

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d94b2c31d2d1f5e7d8667c364f1ffeae8dd5bd80

commit d94b2c31d2d1f5e7d8667c364f1ffeae8dd5bd80
Author: Sergio Villar Senin <svillar@igalia.com>
Date: Mon Oct 08 09:20:25 2018

Add IdentityManager::Observer::OnRefreshTokensLoaded() API

It corresponds to O2TS::Observer::OnRefreshTokensLoaded(). The loading
of tokens from disk should ideally be an implementation detail of
identity service but as there is a non trivial amount of consumers we
should add this API to ease the transition.

Bug:  884205 
Change-Id: Ica449d4461e16c1a2652d1acdf8fc23939eca8ad
Reviewed-on: https://chromium-review.googlesource.com/c/1251264
Commit-Queue: Sergio Villar <svillar@igalia.com>
Reviewed-by: Colin Blundell <blundell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#597500}
[modify] https://crrev.com/d94b2c31d2d1f5e7d8667c364f1ffeae8dd5bd80/services/identity/public/cpp/identity_manager.cc
[modify] https://crrev.com/d94b2c31d2d1f5e7d8667c364f1ffeae8dd5bd80/services/identity/public/cpp/identity_manager.h
[modify] https://crrev.com/d94b2c31d2d1f5e7d8667c364f1ffeae8dd5bd80/services/identity/public/cpp/identity_manager_unittest.cc

Status: Fixed (was: Assigned)
Closing...

Sign in to add a comment