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

Issue 71723002: This is the second CL of several that will eventually replace TokenService with (Closed)

Created:
7 years, 1 month ago by Roger Tawa OOO till Jul 10th
Modified:
7 years, 1 month ago
CC:
chromium-reviews
Visibility:
Public.

Description

This is the second CL of several that will eventually replace TokenService with ProfileOAuth2TokenService. In this CL, the dependencies on TS are removed from SigninManager and UbertokenFetcher. BUG=305247 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=236955

Patch Set 1 #

Patch Set 2 : Undo change to SigninTracker #

Total comments: 12

Patch Set 3 : Address review comments #

Total comments: 13

Patch Set 4 : rebased #

Patch Set 5 : Remove InitTokenService() from base class #

Patch Set 6 : dtor order comment #

Patch Set 7 : Use faks PO2TS in SM tests #

Patch Set 8 : rebased #

Patch Set 9 : Use CreateProfile function in ubertoken fetcher test #

Patch Set 10 : Fix user cloud manager policy test #

Patch Set 11 : rebased #

Patch Set 12 : rebased #

Patch Set 13 : rebased #

Patch Set 14 : rebased #

Patch Set 15 : merged #

Patch Set 16 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -157 lines) Patch
M chrome/browser/chrome_notification_types.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/signin/android_profile_oauth2_token_service.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/signin/fake_signin_manager.h View 1 2 3 4 2 chunks +0 lines, -3 lines 0 comments Download
M chrome/browser/signin/fake_signin_manager.cc View 1 2 3 4 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/signin/signin_manager.h View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/signin/signin_manager.cc View 1 2 3 4 4 chunks +17 lines, -19 lines 0 comments Download
M chrome/browser/signin/signin_manager_base.h View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/signin/signin_manager_base.cc View 1 2 3 4 1 chunk +0 lines, -11 lines 0 comments Download
M chrome/browser/signin/signin_manager_unittest.cc View 1 2 3 4 5 6 7 chunks +28 lines, -12 lines 0 comments Download
M chrome/browser/signin/signin_tracker.h View 1 chunk +3 lines, -6 lines 0 comments Download
M chrome/browser/signin/token_service_unittest.h View 3 chunks +0 lines, -41 lines 0 comments Download
M chrome/browser/signin/token_service_unittest.cc View 1 2 2 chunks +1 line, -37 lines 0 comments Download
M chrome/browser/signin/ubertoken_fetcher_unittest.cc View 1 2 3 4 5 6 7 8 6 chunks +18 lines, -13 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Roger Tawa OOO till Jul 10th
Hi Filip, Drew, Please take a look. Thanks.
7 years, 1 month ago (2013-11-13 19:16:29 UTC) #1
Roger Tawa OOO till Jul 10th
Hi Hui, Please take a look. Thanks.
7 years, 1 month ago (2013-11-13 20:16:03 UTC) #2
fgorski
Roger, overall it looks ok. There are a few things I think you should look ...
7 years, 1 month ago (2013-11-13 20:36:48 UTC) #3
Roger Tawa OOO till Jul 10th
Thanks Filip. Comments addressed, changes uploaded. https://codereview.chromium.org/71723002/diff/80001/chrome/browser/signin/signin_manager.cc File chrome/browser/signin/signin_manager.cc (left): https://codereview.chromium.org/71723002/diff/80001/chrome/browser/signin/signin_manager.cc#oldcode561 chrome/browser/signin/signin_manager.cc:561: DCHECK(!GetAuthenticatedUsername().empty()); On 2013/11/13 ...
7 years, 1 month ago (2013-11-13 20:56:12 UTC) #4
Andrew T Wilson (Slow)
lgtm, with one question around whether we really want SM to initiate token loading for ...
7 years, 1 month ago (2013-11-14 10:34:57 UTC) #5
Roger Tawa OOO till Jul 10th
Thanks Drew. Comments addressed, changes uploaded. https://codereview.chromium.org/71723002/diff/180001/chrome/browser/signin/signin_manager.cc File chrome/browser/signin/signin_manager.cc (right): https://codereview.chromium.org/71723002/diff/180001/chrome/browser/signin/signin_manager.cc#newcode126 chrome/browser/signin/signin_manager.cc:126: token_service->LoadCredentials(); On 2013/11/14 ...
7 years, 1 month ago (2013-11-14 17:04:07 UTC) #6
Andrew T Wilson (Slow)
still lgtm https://codereview.chromium.org/71723002/diff/180001/chrome/browser/signin/signin_manager_unittest.cc File chrome/browser/signin/signin_manager_unittest.cc (right): https://codereview.chromium.org/71723002/diff/180001/chrome/browser/signin/signin_manager_unittest.cc#newcode95 chrome/browser/signin/signin_manager_unittest.cc:95: profile_.reset(); On 2013/11/14 17:04:08, Roger Tawa wrote: ...
7 years, 1 month ago (2013-11-14 17:11:53 UTC) #7
Roger Tawa OOO till Jul 10th
Thanks Drew. https://codereview.chromium.org/71723002/diff/180001/chrome/browser/signin/signin_manager_unittest.cc File chrome/browser/signin/signin_manager_unittest.cc (right): https://codereview.chromium.org/71723002/diff/180001/chrome/browser/signin/signin_manager_unittest.cc#newcode95 chrome/browser/signin/signin_manager_unittest.cc:95: profile_.reset(); On 2013/11/14 17:11:54, Andrew T Wilson ...
7 years, 1 month ago (2013-11-14 18:09:32 UTC) #8
guohui
lgtm
7 years, 1 month ago (2013-11-14 19:08:27 UTC) #9
fgorski
lgtm
7 years, 1 month ago (2013-11-14 19:38:49 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rogerta@chromium.org/71723002/760001
7 years, 1 month ago (2013-11-15 17:55:33 UTC) #11
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=36573
7 years, 1 month ago (2013-11-15 18:36:36 UTC) #12
Roger Tawa OOO till Jul 10th
Hi Scott, Can you do an onwer review for chrome_notification_types.h? Just a comment change. Thanks.
7 years, 1 month ago (2013-11-15 18:40:53 UTC) #13
sky
LGTM
7 years, 1 month ago (2013-11-15 20:31:55 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rogerta@chromium.org/71723002/760001
7 years, 1 month ago (2013-11-15 22:24:58 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rogerta@chromium.org/71723002/760001
7 years, 1 month ago (2013-11-16 01:04:58 UTC) #16
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=175671
7 years, 1 month ago (2013-11-16 03:23:15 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rogerta@chromium.org/71723002/1540001
7 years, 1 month ago (2013-11-23 03:38:08 UTC) #18
commit-bot: I haz the power
Failed to apply patch for chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 1 month ago (2013-11-23 03:38:18 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rogerta@chromium.org/71723002/1660001
7 years, 1 month ago (2013-11-23 15:33:36 UTC) #20
commit-bot: I haz the power
7 years, 1 month ago (2013-11-23 19:05:03 UTC) #21
Message was sent while issue was closed.
Change committed as 236955

Powered by Google App Engine
This is Rietveld 408576698