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

Issue 148513010: Eliminate ProfileOAuth2TokenService being a BCKS. (Closed)

Created:
6 years, 10 months ago by blundell
Modified:
6 years, 10 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Eliminate ProfileOAuth2TokenService being a BCKS. This CL introduces a level of indirection around ProfileOAuth2TokenService (ProfileOAuth2TokenServiceWrapper) to eliminate PO2TS being a BCKS. The only purpose of the wrapper class is to glue a PO2TS instance to a Profile; the wrapper has no public API. In particular, PO2TSFactory still vends PO2TS instances. BUG=334187 TBR=jochen Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251444

Patch Set 1 #

Total comments: 20

Patch Set 2 : Response to review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -68 lines) Patch
M chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos_unittest.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/identity/account_tracker_unittest.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/invalidation/gcm_network_channel_delegate_impl_unittest.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/managed_mode/managed_user_service_unittest.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/signin/account_reconcilor_unittest.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/signin/android_profile_oauth2_token_service.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/signin/fake_profile_oauth2_token_service.h View 1 2 chunks +0 lines, -15 lines 0 comments Download
M chrome/browser/signin/fake_profile_oauth2_token_service.cc View 1 1 chunk +0 lines, -17 lines 0 comments Download
A chrome/browser/signin/fake_profile_oauth2_token_service_wrapper.h View 1 1 chunk +40 lines, -0 lines 0 comments Download
A chrome/browser/signin/fake_profile_oauth2_token_service_wrapper.cc View 1 1 chunk +38 lines, -0 lines 0 comments Download
M chrome/browser/signin/mutable_profile_oauth2_token_service.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/signin/profile_oauth2_token_service.h View 1 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/signin/profile_oauth2_token_service_factory.h View 2 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/signin/profile_oauth2_token_service_factory.cc View 1 3 chunks +45 lines, -8 lines 0 comments Download
M chrome/browser/signin/profile_oauth2_token_service_request_unittest.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/signin/signin_global_error_unittest.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/signin/signin_manager_unittest.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/signin/signin_tracker_unittest.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_autofill_unittest.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_password_unittest.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_preference_unittest.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_session_unittest.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_startup_unittest.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_typed_url_unittest.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/sync/profile_sync_service_unittest.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/browser/profile_chooser_controller_unittest.mm View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/sync/one_click_signin_helper_unittest.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
blundell
https://codereview.chromium.org/148513010/diff/1/chrome/browser/signin/android_profile_oauth2_token_service.h File chrome/browser/signin/android_profile_oauth2_token_service.h (right): https://codereview.chromium.org/148513010/diff/1/chrome/browser/signin/android_profile_oauth2_token_service.h#newcode71 chrome/browser/signin/android_profile_oauth2_token_service.h:71: friend class ProfileOAuth2TokenServiceWrapperImpl; Alternatively, perhaps I should just make ...
6 years, 10 months ago (2014-02-10 16:19:16 UTC) #1
Roger Tawa OOO till Jul 10th
https://codereview.chromium.org/148513010/diff/1/chrome/browser/signin/android_profile_oauth2_token_service.h File chrome/browser/signin/android_profile_oauth2_token_service.h (right): https://codereview.chromium.org/148513010/diff/1/chrome/browser/signin/android_profile_oauth2_token_service.h#newcode71 chrome/browser/signin/android_profile_oauth2_token_service.h:71: friend class ProfileOAuth2TokenServiceWrapperImpl; On 2014/02/10 16:19:16, blundell wrote: > ...
6 years, 10 months ago (2014-02-10 19:49:13 UTC) #2
blundell
Thanks for all the great comments! https://codereview.chromium.org/148513010/diff/1/chrome/browser/signin/android_profile_oauth2_token_service.h File chrome/browser/signin/android_profile_oauth2_token_service.h (right): https://codereview.chromium.org/148513010/diff/1/chrome/browser/signin/android_profile_oauth2_token_service.h#newcode71 chrome/browser/signin/android_profile_oauth2_token_service.h:71: friend class ProfileOAuth2TokenServiceWrapperImpl; ...
6 years, 10 months ago (2014-02-13 16:07:06 UTC) #3
Roger Tawa OOO till Jul 10th
lgtm
6 years, 10 months ago (2014-02-14 13:25:37 UTC) #4
blundell
The CQ bit was checked by blundell@chromium.org
6 years, 10 months ago (2014-02-14 13:26:57 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/148513010/180001
6 years, 10 months ago (2014-02-14 13:27:05 UTC) #6
blundell
TBR=jochen for //chrome/browser changes outside of //chrome/browser/signin
6 years, 10 months ago (2014-02-14 16:23:28 UTC) #7
blundell
The CQ bit was unchecked by blundell@chromium.org
6 years, 10 months ago (2014-02-14 16:23:41 UTC) #8
blundell
The CQ bit was checked by blundell@chromium.org
6 years, 10 months ago (2014-02-14 16:23:51 UTC) #9
Paweł Hajdan Jr.
The CQ bit was unchecked by phajdan.jr@chromium.org
6 years, 10 months ago (2014-02-14 19:57:43 UTC) #10
Paweł Hajdan Jr.
The CQ bit was checked by phajdan.jr@chromium.org
6 years, 10 months ago (2014-02-14 20:09:38 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/148513010/180001
6 years, 10 months ago (2014-02-14 20:11:52 UTC) #12
commit-bot: I haz the power
6 years, 10 months ago (2014-02-14 23:58:36 UTC) #13
Message was sent while issue was closed.
Change committed as 251444

Powered by Google App Engine
This is Rietveld 408576698