Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Issue 170383005: Move TokenCacheService away from listening for Signin notifications. (Closed)

Created:
6 years, 10 months ago by blundell
Modified:
6 years, 10 months ago
Reviewers:
Yoyo Zhou
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Move TokenCacheService away from listening for Signin notifications. This change is part of eliminating the signin-related notifications in favor of having clients observe SigninManager. BUG=333997 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252088

Patch Set 1 #

Patch Set 2 : Nit #

Total comments: 2

Patch Set 3 : Respond to review #

Patch Set 4 : Call Shutdown() in unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -31 lines) Patch
M chrome/browser/extensions/token_cache/token_cache_service.h View 1 2 4 chunks +8 lines, -12 lines 0 comments Download
M chrome/browser/extensions/token_cache/token_cache_service.cc View 1 2 3 chunks +9 lines, -10 lines 0 comments Download
M chrome/browser/extensions/token_cache/token_cache_service_factory.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/token_cache/token_cache_service_unittest.cc View 1 2 3 4 chunks +5 lines, -9 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
blundell
6 years, 10 months ago (2014-02-18 16:23:33 UTC) #1
Yoyo Zhou
https://codereview.chromium.org/170383005/diff/30001/chrome/browser/extensions/token_cache/token_cache_service.cc File chrome/browser/extensions/token_cache/token_cache_service.cc (right): https://codereview.chromium.org/170383005/diff/30001/chrome/browser/extensions/token_cache/token_cache_service.cc#newcode20 chrome/browser/extensions/token_cache/token_cache_service.cc:20: SigninManagerFactory::GetForProfile(const_cast<Profile*>(profile_)) This should be in TokenCacheService::Shutdown. Also declare in ...
6 years, 10 months ago (2014-02-18 17:45:53 UTC) #2
blundell
https://codereview.chromium.org/170383005/diff/30001/chrome/browser/extensions/token_cache/token_cache_service.cc File chrome/browser/extensions/token_cache/token_cache_service.cc (right): https://codereview.chromium.org/170383005/diff/30001/chrome/browser/extensions/token_cache/token_cache_service.cc#newcode20 chrome/browser/extensions/token_cache/token_cache_service.cc:20: SigninManagerFactory::GetForProfile(const_cast<Profile*>(profile_)) Great catches, thanks. Done. On 2014/02/18 17:45:54, Yoyo ...
6 years, 10 months ago (2014-02-18 19:53:42 UTC) #3
Yoyo Zhou
LGTM
6 years, 10 months ago (2014-02-18 19:54:50 UTC) #4
blundell
The CQ bit was checked by blundell@chromium.org
6 years, 10 months ago (2014-02-18 19:56:04 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/170383005/130001
6 years, 10 months ago (2014-02-18 19:56:20 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-18 22:24:05 UTC) #7
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=228282
6 years, 10 months ago (2014-02-18 22:24:06 UTC) #8
blundell
The CQ bit was checked by blundell@chromium.org
6 years, 10 months ago (2014-02-19 14:49:54 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/170383005/480001
6 years, 10 months ago (2014-02-19 15:07:52 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/170383005/480001
6 years, 10 months ago (2014-02-19 15:35:02 UTC) #11
commit-bot: I haz the power
6 years, 10 months ago (2014-02-19 21:08:35 UTC) #12
Message was sent while issue was closed.
Change committed as 252088

Powered by Google App Engine
This is Rietveld 408576698