New issue
Advanced search Search tips

Issue 797949 link

Starred by 2 users

Issue metadata

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

Blocked on:
issue 809433
issue 856538

Blocking:
issue 883318



Sign in to add a comment

Eliminate stale references to token service in chrome_cryptauth_service.*

Project Member Reported by blundell@chromium.org, Dec 28 2017

Issue description

ChromeCryptAuthService observes O2TS and SigninManager.
It checks whether user is authenticated to determine whether to delay startup, observing the SigninManager for signin if user is not signed in.
It checks whether a refresh token is available with PO2TS, observing PO2TS if refresh token is not available.
There is also a unittest.

This should be easily convertible to interact with IdentityManager. We might need to extend the IdentityManager observer API.

 
Components: Internals>Services>Identity
Blocking: 796544
Status: Available (was: Untriaged)
Blockedon: 809433

Comment 4 by jochen@chromium.org, Jun 26 2018

Blockedon: 856538
Blocking: -796544 883318
Labels: -Pri-3 Proj-Servicification Proj-Servicification-VendorBug Pri-1
Summary: Eliminate stale references to token service in chrome_cryptauth_service.* (was: Convert cryptauth to talk to Identity Service client lib)
The conversion is complete but there are stale references/includes lingering that should be removed.
Owner: ma...@igalia.com
Status: Started (was: Available)
I believe the only includes that can be removed are these ones:

#include "components/signin/core/browser/profile_oauth2_token_service.h"
#include "components/signin/core/browser/signin_manager.h"

I'll prepare a CL
Project Member

Comment 8 by bugdroid1@chromium.org, Oct 9

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

commit 824d44edccc8d812c418f0aaafdf74be1d701fd9
Author: Mario Sanchez Prada <mario@igalia.com>
Date: Tue Oct 09 09:09:40 2018

Eliminate stale references to token service and the SigninManager

There are two includes that are no longer used and can be safely
removed: profile_oauth2_token_service.h and signin_manager.h.

Bug:  797949 
Change-Id: I8a2faebd291dc9ae9d9cabe18241c2556ed55132
Reviewed-on: https://chromium-review.googlesource.com/c/1255522
Reviewed-by: Colin Blundell <blundell@chromium.org>
Reviewed-by: Jeremy Klein <jlklein@chromium.org>
Commit-Queue: Mario Sanchez Prada <mario@igalia.com>
Cr-Commit-Position: refs/heads/master@{#597847}
[modify] https://crrev.com/824d44edccc8d812c418f0aaafdf74be1d701fd9/chrome/browser/chromeos/cryptauth/chrome_cryptauth_service.cc

Status: Fixed (was: Started)

Sign in to add a comment