New issue
Advanced search Search tips

Issue 883318 link

Starred by 2 users

Issue metadata

Status: Started
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug


Sign in to add a comment

Port consumers of ProfileOAuth2TokenService to use IdentityManager

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

Issue description

Tracking bug; see blocking bugs. blundell@ coordinating.
 
Blockedon: 880848 882464 882864 882862
Blockedon: 797949
Blockedon: 797946
Blockedon: 809440
Blockedon: 883722
Blockedon: 885174
Blockedon: 885178
Blockedon: 886599
Blockedon: 886600
Blockedon: 887245
Blockedon: 887264
Blockedon: 887266
Blockedon: 890236
Blockedon: 890237
Project Member

Comment 15 by bugdroid1@chromium.org, Oct 5

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

commit 838777d5d885ae3ec431945fdb097d40b6a33ca9
Author: Jialiu Lin <jialiul@chromium.org>
Date: Fri Oct 05 23:16:19 2018

Seed AccountTrackerService and SigninManager properly in Arc* tests

During the migration to IdentityManager, we noticed that some Arc*
related tests setup are incomplete, such that they will potentially fail
after IdentityManager migration.

This CL adds more initial test setup to seed AccountTrackerService and
SigninManager properly. No behavior or logic change.

Bug: 883318,  892116 
Change-Id: I4db443d7bd0c7df396e1c188743b869d2b9c2e82
Reviewed-on: https://chromium-review.googlesource.com/c/1265079
Reviewed-by: Yusuke Sato <yusukes@chromium.org>
Reviewed-by: Yury Khmel <khmel@chromium.org>
Commit-Queue: Jialiu Lin <jialiul@chromium.org>
Cr-Commit-Position: refs/heads/master@{#597361}
[modify] https://crrev.com/838777d5d885ae3ec431945fdb097d40b6a33ca9/chrome/browser/chromeos/arc/arc_session_manager_browsertest.cc
[modify] https://crrev.com/838777d5d885ae3ec431945fdb097d40b6a33ca9/chrome/browser/chromeos/arc/auth/arc_auth_service_browsertest.cc

Blockedon: 893133
Blockedon: 893134
Blockedon: 893504
Blockedon: 894075
Blockedon: 895772
Blockedon: 896180
Blockedon: 890775
Blockedon: 901859
Blockedon: 903857
Blockedon: 904404
Blockedon: 903862
Blockedon: 903859
Blockedon: 904406
Blockedon: 904407
Blockedon: 904412
Blockedon: 905243
Blockedon: 905282
Blockedon: 905280
Blockedon: 905279
Blockedon: 905247
Blockedon: 905689
Blockedon: 906020
Blockedon: 906021
Blockedon: 906023
Blockedon: 906025
Blockedon: 906615
Blockedon: 906579
Blockedon: 890797
Blockedon: 908410
Blockedon: 908412
Blockedon: 908810
Blockedon: 909715
Blockedon: 910203
Blockedon: 910581
Blockedon: 809966
Blockedon: 911170
Blockedon: 911172
Blockedon: 911675
Blockedon: 911676
Blockedon: 890789
Blockedon: 911682
Blockedon: 912137
Blockedon: 797899
Blockedon: 797927
Blockedon: 890795
Blockedon: 912145
Blockedon: 912150
Blockedon: 912171
Blockedon: 808989
Blockedon: 913388
Blockedon: 898810
Blockedon: 890811
Blockedon: 913392
Blockedon: 913393
Blockedon: 913481
Blockedon: 809539
Blockedon: 797931
Blockedon: 913876
Blockedon: 913877
Blockedon: 913895
Blockedon: 910151
Blockedon: 913924
Blockedon: 913927
Blockedon: 913928
Blockedon: 903907
Blockedon: 915149
Project Member

Comment 82 by bugdroid1@chromium.org, Dec 18

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

commit a36bf5fb9879bb398dd659f480d7968ba125c883
Author: Colin Blundell <blundell@chromium.org>
Date: Tue Dec 18 09:53:01 2018

Disallow new inclusions of SigninManager/ProfileOAuth2TokenService

Per https://groups.google.com/a/chromium.org/d/msg/chromium-dev/dgFLuxqZt1o/iEqkyoQQBwAJ,
prospective clients of these API surfaces should instead be using
IdentityManager. Contact identity-service-dev@ with any questions.

Where possible, inclusions are disallowed with "-". Where there are
existing usages that still need to be converted, inclusions are instead
disallowed with "!".

Note that the CQ will effectively not report any meaningful results for
this CL, as its usage of checkdeps doesn't run in directories where only
DEPS files have been changed. Here is the result of a local full run
of checkdeps.py:

blundell:src(forbid_new_inclusions) $  ./buildtools/checkdeps/checkdeps.py
Using base directory: /usr/local/google/home/blundell/clankium/src
Checking: /usr/local/google/home/blundell/clankium/src

SUCCESS

Finally, this CL also just strips out dependencies entirely that I
determined to be stale.

Bug: 883318, 883330
Change-Id: I3e9eb74497e18dbf437d5bfe1f4457b91574031f
Reviewed-on: https://chromium-review.googlesource.com/c/1374986
Reviewed-by: Kyle Horimoto <khorimoto@chromium.org>
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Reviewed-by: Mihai Sardarescu <msarda@chromium.org>
Commit-Queue: Colin Blundell <blundell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#617429}
[modify] https://crrev.com/a36bf5fb9879bb398dd659f480d7968ba125c883/chrome/browser/DEPS
[modify] https://crrev.com/a36bf5fb9879bb398dd659f480d7968ba125c883/chromeos/components/tether/BUILD.gn
[modify] https://crrev.com/a36bf5fb9879bb398dd659f480d7968ba125c883/chromeos/components/tether/DEPS
[modify] https://crrev.com/a36bf5fb9879bb398dd659f480d7968ba125c883/chromeos/services/device_sync/DEPS
[modify] https://crrev.com/a36bf5fb9879bb398dd659f480d7968ba125c883/components/autofill/core/browser/DEPS
[modify] https://crrev.com/a36bf5fb9879bb398dd659f480d7968ba125c883/components/browser_sync/DEPS
[modify] https://crrev.com/a36bf5fb9879bb398dd659f480d7968ba125c883/components/ntp_snippets/DEPS
[modify] https://crrev.com/a36bf5fb9879bb398dd659f480d7968ba125c883/components/password_manager/core/browser/BUILD.gn
[modify] https://crrev.com/a36bf5fb9879bb398dd659f480d7968ba125c883/components/password_manager/core/browser/DEPS
[modify] https://crrev.com/a36bf5fb9879bb398dd659f480d7968ba125c883/components/search_provider_logos/DEPS
[modify] https://crrev.com/a36bf5fb9879bb398dd659f480d7968ba125c883/components/suggestions/DEPS
[modify] https://crrev.com/a36bf5fb9879bb398dd659f480d7968ba125c883/components/sync/driver/DEPS
[modify] https://crrev.com/a36bf5fb9879bb398dd659f480d7968ba125c883/components/sync/user_events/DEPS
[modify] https://crrev.com/a36bf5fb9879bb398dd659f480d7968ba125c883/ios/chrome/browser/DEPS
[modify] https://crrev.com/a36bf5fb9879bb398dd659f480d7968ba125c883/ios/chrome/test/DEPS
[modify] https://crrev.com/a36bf5fb9879bb398dd659f480d7968ba125c883/ios/web_view/internal/DEPS

Project Member

Comment 83 by bugdroid1@chromium.org, Dec 18

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

commit 4f4a6388719e185574a628756e7d4335a8a90a1d
Author: Colin Blundell <blundell@chromium.org>
Date: Tue Dec 18 10:00:14 2018

Revert "Disallow new inclusions of SigninManager/ProfileOAuth2TokenService"

This reverts commit a36bf5fb9879bb398dd659f480d7968ba125c883.

Reason for revert: Whoops, just realized that a checkdeps failure got introduced in the last iteration, which will trigger on the waterfall. Proactively reverting and will make the small adjustment needed.

Original change's description:
> Disallow new inclusions of SigninManager/ProfileOAuth2TokenService
> 
> Per https://groups.google.com/a/chromium.org/d/msg/chromium-dev/dgFLuxqZt1o/iEqkyoQQBwAJ,
> prospective clients of these API surfaces should instead be using
> IdentityManager. Contact identity-service-dev@ with any questions.
> 
> Where possible, inclusions are disallowed with "-". Where there are
> existing usages that still need to be converted, inclusions are instead
> disallowed with "!".
> 
> Note that the CQ will effectively not report any meaningful results for
> this CL, as its usage of checkdeps doesn't run in directories where only
> DEPS files have been changed. Here is the result of a local full run
> of checkdeps.py:
> 
> blundell:src(forbid_new_inclusions) $  ./buildtools/checkdeps/checkdeps.py
> Using base directory: /usr/local/google/home/blundell/clankium/src
> Checking: /usr/local/google/home/blundell/clankium/src
> 
> SUCCESS
> 
> Finally, this CL also just strips out dependencies entirely that I
> determined to be stale.
> 
> Bug: 883318, 883330
> Change-Id: I3e9eb74497e18dbf437d5bfe1f4457b91574031f
> Reviewed-on: https://chromium-review.googlesource.com/c/1374986
> Reviewed-by: Kyle Horimoto <khorimoto@chromium.org>
> Reviewed-by: Jochen Eisinger <jochen@chromium.org>
> Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
> Reviewed-by: Mihai Sardarescu <msarda@chromium.org>
> Commit-Queue: Colin Blundell <blundell@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#617429}

TBR=khorimoto@chromium.org,blundell@chromium.org,msarda@chromium.org,sdefresne@chromium.org,jochen@chromium.org

Change-Id: Ie6085179746cf06937c5506dc74ef4b5af0b6d75
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 883318, 883330
Reviewed-on: https://chromium-review.googlesource.com/c/1382074
Reviewed-by: Colin Blundell <blundell@chromium.org>
Commit-Queue: Colin Blundell <blundell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#617431}
[modify] https://crrev.com/4f4a6388719e185574a628756e7d4335a8a90a1d/chrome/browser/DEPS
[modify] https://crrev.com/4f4a6388719e185574a628756e7d4335a8a90a1d/chromeos/components/tether/BUILD.gn
[modify] https://crrev.com/4f4a6388719e185574a628756e7d4335a8a90a1d/chromeos/components/tether/DEPS
[modify] https://crrev.com/4f4a6388719e185574a628756e7d4335a8a90a1d/chromeos/services/device_sync/DEPS
[modify] https://crrev.com/4f4a6388719e185574a628756e7d4335a8a90a1d/components/autofill/core/browser/DEPS
[modify] https://crrev.com/4f4a6388719e185574a628756e7d4335a8a90a1d/components/browser_sync/DEPS
[modify] https://crrev.com/4f4a6388719e185574a628756e7d4335a8a90a1d/components/ntp_snippets/DEPS
[modify] https://crrev.com/4f4a6388719e185574a628756e7d4335a8a90a1d/components/password_manager/core/browser/BUILD.gn
[modify] https://crrev.com/4f4a6388719e185574a628756e7d4335a8a90a1d/components/password_manager/core/browser/DEPS
[modify] https://crrev.com/4f4a6388719e185574a628756e7d4335a8a90a1d/components/search_provider_logos/DEPS
[modify] https://crrev.com/4f4a6388719e185574a628756e7d4335a8a90a1d/components/suggestions/DEPS
[modify] https://crrev.com/4f4a6388719e185574a628756e7d4335a8a90a1d/components/sync/driver/DEPS
[modify] https://crrev.com/4f4a6388719e185574a628756e7d4335a8a90a1d/components/sync/user_events/DEPS
[modify] https://crrev.com/4f4a6388719e185574a628756e7d4335a8a90a1d/ios/chrome/browser/DEPS
[modify] https://crrev.com/4f4a6388719e185574a628756e7d4335a8a90a1d/ios/chrome/test/DEPS
[modify] https://crrev.com/4f4a6388719e185574a628756e7d4335a8a90a1d/ios/web_view/internal/DEPS

Project Member

Comment 84 by bugdroid1@chromium.org, Dec 18

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

commit d55fde86cc9f332843862dfa443742c9025c10a1
Author: Colin Blundell <blundell@chromium.org>
Date: Tue Dec 18 16:04:37 2018

Disallow new inclusions of SigninManager/ProfileOAuth2TokenService

Per https://groups.google.com/a/chromium.org/d/msg/chromium-dev/dgFLuxqZt1o/iEqkyoQQBwAJ,
prospective clients of these API surfaces should instead be using
IdentityManager. Contact identity-service-dev@ with any questions.

Where possible, inclusions are disallowed with "-". Where there are
existing usages that still need to be converted, inclusions are instead
disallowed with "!".

Note that the CQ will effectively not report any meaningful results for
this CL, as its usage of checkdeps doesn't run in directories where only
DEPS files have been changed. Here is the result of a local full run
of checkdeps.py:

blundell:src(forbid_new_inclusions) $  ./buildtools/checkdeps/checkdeps.py
Using base directory: /usr/local/google/home/blundell/clankium/src
Checking: /usr/local/google/home/blundell/clankium/src

SUCCESS

Finally, this CL also just strips out dependencies entirely that I
determined to be stale.

This CL is a reland of https://chromium-review.googlesource.com/c/1374986
with a minor fix for a checkdeps error in PS2.

Note: Adding NOTRY=true as the only bot that's failing is the iOS
simulator bot, which is having timeout issues that are totally unrelated
to this CL.

TBR=msarda@chromium.org
NOTRY=true

Bug: 883318, 883330
Change-Id: I40971fdbfef00b4416ff7bfec875514706c0e26f
Reviewed-on: https://chromium-review.googlesource.com/c/1382092
Commit-Queue: Colin Blundell <blundell@chromium.org>
Reviewed-by: Mihai Sardarescu <msarda@chromium.org>
Reviewed-by: Colin Blundell <blundell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#617509}
[modify] https://crrev.com/d55fde86cc9f332843862dfa443742c9025c10a1/chrome/browser/DEPS
[modify] https://crrev.com/d55fde86cc9f332843862dfa443742c9025c10a1/chromeos/components/tether/BUILD.gn
[modify] https://crrev.com/d55fde86cc9f332843862dfa443742c9025c10a1/chromeos/components/tether/DEPS
[modify] https://crrev.com/d55fde86cc9f332843862dfa443742c9025c10a1/chromeos/services/device_sync/DEPS
[modify] https://crrev.com/d55fde86cc9f332843862dfa443742c9025c10a1/components/autofill/core/browser/DEPS
[modify] https://crrev.com/d55fde86cc9f332843862dfa443742c9025c10a1/components/browser_sync/DEPS
[modify] https://crrev.com/d55fde86cc9f332843862dfa443742c9025c10a1/components/ntp_snippets/DEPS
[modify] https://crrev.com/d55fde86cc9f332843862dfa443742c9025c10a1/components/password_manager/core/browser/BUILD.gn
[modify] https://crrev.com/d55fde86cc9f332843862dfa443742c9025c10a1/components/password_manager/core/browser/DEPS
[modify] https://crrev.com/d55fde86cc9f332843862dfa443742c9025c10a1/components/search_provider_logos/DEPS
[modify] https://crrev.com/d55fde86cc9f332843862dfa443742c9025c10a1/components/suggestions/DEPS
[modify] https://crrev.com/d55fde86cc9f332843862dfa443742c9025c10a1/components/sync/driver/DEPS
[modify] https://crrev.com/d55fde86cc9f332843862dfa443742c9025c10a1/components/sync/user_events/DEPS
[modify] https://crrev.com/d55fde86cc9f332843862dfa443742c9025c10a1/ios/chrome/browser/DEPS
[modify] https://crrev.com/d55fde86cc9f332843862dfa443742c9025c10a1/ios/chrome/test/DEPS
[modify] https://crrev.com/d55fde86cc9f332843862dfa443742c9025c10a1/ios/web_view/internal/DEPS

Blockedon: 917837
Blockedon: 890790
Blockedon: 920225
Blockedon: 920237

Comment 89 by blundell@google.com, Jan 16 (6 days ago)

Blockedon: 922410

Comment 90 by blundell@chromium.org, Jan 16 (6 days ago)

Blockedon: 922555

Sign in to add a comment