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

Issue 809313009: Make the SigninErrorController a PKS. (Closed)

Created:
5 years, 11 months ago by Mike Lerman
Modified:
5 years, 11 months ago
CC:
chromium-reviews, tim+watch_chromium.org, dbeam+watch-options_chromium.org, zea+watch_chromium.org, tfarina, maxbogue+watch_chromium.org, pvalenzuela+watch_chromium.org, pam+watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make the SigninErrorController a PKS. This is a prelude to https://codereview.chromium.org/813133003/, which will introduce some dependencies between the SigninErrorController and some other PKSes. To make these cleaner, this is a yak shave to move the SigninErrorController out from being a member of the ProfileOAuth2TokenService (which is a ProfileKeyedService) and into its own PKS. BUG=434829 Committed: https://crrev.com/3247f076b4c8b9be5281d34b217c9236688a6725 Cr-Commit-Position: refs/heads/master@{#310774}

Patch Set 1 #

Patch Set 2 : Fix compiler errors #

Patch Set 3 : ios compile #

Patch Set 4 : ios and mac compile #

Patch Set 5 : Copyrighted: 2015 #

Total comments: 4

Patch Set 6 : Remove unnecessary header #

Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -128 lines) Patch
M chrome/browser/profiles/profiles_state.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/signin/android_profile_oauth2_token_service.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/signin/android_profile_oauth2_token_service.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/signin/fake_profile_oauth2_token_service_builder.cc View 1 3 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/signin/profile_oauth2_token_service_factory.cc View 1 3 chunks +4 lines, -1 line 0 comments Download
A chrome/browser/signin/signin_error_controller_factory.h View 1 2 3 4 1 chunk +37 lines, -0 lines 0 comments Download
A chrome/browser/signin/signin_error_controller_factory.cc View 1 2 3 4 1 chunk +32 lines, -0 lines 0 comments Download
M chrome/browser/signin/signin_error_notifier_ash_unittest.cc View 1 2 3 4 5 2 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/signin/signin_error_notifier_factory_ash.cc View 1 3 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/signin/signin_global_error_factory.cc View 1 3 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/signin/signin_global_error_unittest.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/signin/signin_ui_util.cc View 3 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/sync/sync_ui_util.cc View 4 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/sync/sync_ui_util_unittest.cc View 1 3 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller_unittest.mm View 1 2 3 3 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/sync/one_click_signin_helper.cc View 3 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/options/supervised_user_import_handler.cc View 5 chunks +6 lines, -11 lines 0 comments Download
M chrome/browser/ui/webui/options/sync_setup_handler.cc View 4 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/options/sync_setup_handler_unittest.cc View 1 3 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/signin/inline_login_handler_impl.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M components/signin/core/browser/mutable_profile_oauth2_token_service.h View 1 3 chunks +3 lines, -2 lines 0 comments Download
M components/signin/core/browser/mutable_profile_oauth2_token_service.cc View 1 4 chunks +15 lines, -9 lines 0 comments Download
M components/signin/core/browser/mutable_profile_oauth2_token_service_unittest.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M components/signin/core/browser/profile_oauth2_token_service.h View 1 5 chunks +9 lines, -12 lines 0 comments Download
M components/signin/core/browser/profile_oauth2_token_service.cc View 1 chunk +9 lines, -10 lines 0 comments Download
M components/signin/core/browser/signin_error_controller.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M components/signin/ios/browser/profile_oauth2_token_service_ios.h View 1 2 4 chunks +6 lines, -3 lines 0 comments Download
M components/signin/ios/browser/profile_oauth2_token_service_ios.mm View 1 2 3 3 chunks +11 lines, -9 lines 0 comments Download
M components/signin/ios/browser/profile_oauth2_token_service_ios_unittest.mm View 1 2 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 13 (2 generated)
Mike Lerman
Hi all, Outside of signin this is mostly a refactoring CL. Please reviews. rsesek - ...
5 years, 11 months ago (2015-01-08 15:53:15 UTC) #2
pavely
c/b/sync lgtm
5 years, 11 months ago (2015-01-08 19:46:07 UTC) #3
noms (inactive)
profiles lgtm. Whew, this was an easy one.
5 years, 11 months ago (2015-01-08 21:16:40 UTC) #4
Evan Stade
webui lgtm
5 years, 11 months ago (2015-01-08 21:44:51 UTC) #5
Robert Sesek
cocoa/ LGTM
5 years, 11 months ago (2015-01-08 21:51:31 UTC) #6
Roger Tawa OOO till Jul 10th
https://codereview.chromium.org/809313009/diff/80001/chrome/browser/signin/signin_error_notifier_ash_unittest.cc File chrome/browser/signin/signin_error_notifier_ash_unittest.cc (right): https://codereview.chromium.org/809313009/diff/80001/chrome/browser/signin/signin_error_notifier_ash_unittest.cc#newcode20 chrome/browser/signin/signin_error_notifier_ash_unittest.cc:20: #include "components/signin/core/browser/profile_oauth2_token_service.h" I think you can remove this header ...
5 years, 11 months ago (2015-01-08 22:30:54 UTC) #7
Mike Lerman
https://codereview.chromium.org/809313009/diff/80001/chrome/browser/signin/signin_error_notifier_ash_unittest.cc File chrome/browser/signin/signin_error_notifier_ash_unittest.cc (right): https://codereview.chromium.org/809313009/diff/80001/chrome/browser/signin/signin_error_notifier_ash_unittest.cc#newcode20 chrome/browser/signin/signin_error_notifier_ash_unittest.cc:20: #include "components/signin/core/browser/profile_oauth2_token_service.h" On 2015/01/08 22:30:54, Roger Tawa wrote: > ...
5 years, 11 months ago (2015-01-09 14:27:08 UTC) #8
Roger Tawa OOO till Jul 10th
lgtm OK sounds good Mike.
5 years, 11 months ago (2015-01-09 15:31:03 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/809313009/100001
5 years, 11 months ago (2015-01-09 15:32:16 UTC) #11
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 11 months ago (2015-01-09 16:24:07 UTC) #12
commit-bot: I haz the power
5 years, 11 months ago (2015-01-09 16:24:49 UTC) #13
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/3247f076b4c8b9be5281d34b217c9236688a6725
Cr-Commit-Position: refs/heads/master@{#310774}

Powered by Google App Engine
This is Rietveld 408576698