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

Issue 9295044: Start moving signin code out of browser/sync. (Closed)

Created:
8 years, 10 months ago by Andrew T Wilson (Slow)
Modified:
8 years, 10 months ago
CC:
chromium-reviews, Raghu Simha, ncarter (slow), akalin, tim (not reviewing), Yaron, nyquist, Roger Tawa OOO till Jul 10th, sail
Visibility:
Public.

Description

Start moving signin code out of browser/sync. This starts to break the dependency between sync and the signin UI. BUG=111859 TEST=run ALL the login test cases! Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=122030

Patch Set 1 #

Patch Set 2 : Checkpoint after getting unit_tests running. #

Patch Set 3 : Checkpoint because my machine is acting weird and I don't want to lose stuff. #

Patch Set 4 : Another ToT merge in preparation for testing cros. #

Patch Set 5 : Removed debugging cruft. #

Patch Set 6 : Updated with fixes for cros. #

Patch Set 7 : Fixed unit test #

Total comments: 20

Patch Set 8 : Review feedback #

Total comments: 15

Patch Set 9 : Addressed review feedback. #

Total comments: 18

Patch Set 10 : Moar review feedback changes. #

Total comments: 4

Patch Set 11 : Cleaned up unnecessary inclusions of signin_manager.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+805 lines, -745 lines) Patch
M chrome/browser/signin/signin_manager.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/signin/signin_manager.cc View 1 2 3 4 5 3 chunks +11 lines, -5 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.h View 1 2 3 4 5 6 7 8 4 chunks +12 lines, -15 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 3 4 5 6 7 8 9 chunks +41 lines, -50 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_mock.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/sync/sync_setup_flow.h View 1 5 chunks +2 lines, -18 lines 0 comments Download
M chrome/browser/sync/sync_setup_flow.cc View 1 2 3 4 12 chunks +3 lines, -157 lines 0 comments Download
M chrome/browser/sync/sync_setup_flow_handler.h View 1 2 3 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/sync/sync_setup_wizard.h View 1 2 3 4 chunks +3 lines, -21 lines 0 comments Download
M chrome/browser/sync/sync_setup_wizard.cc View 1 2 3 4 chunks +9 lines, -52 lines 0 comments Download
M chrome/browser/sync/sync_setup_wizard_unittest.cc View 1 2 3 4 5 6 7 8 13 chunks +57 lines, -278 lines 0 comments Download
M chrome/browser/ui/webui/options/options_sync_setup_handler.h View 1 2 3 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/ui/webui/options/options_sync_setup_handler.cc View 1 2 1 chunk +0 lines, -18 lines 0 comments Download
A chrome/browser/ui/webui/signin/login_ui_service.h View 1 2 3 4 5 6 7 8 9 1 chunk +59 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/signin/login_ui_service.cc View 1 2 3 4 5 6 7 8 9 1 chunk +60 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/signin/login_ui_service_factory.h View 1 2 3 4 5 6 7 1 chunk +41 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/signin/login_ui_service_factory.cc View 1 2 3 1 chunk +36 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/signin/signin_tracker.h View 1 2 3 4 5 6 7 8 9 1 chunk +110 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/signin/signin_tracker.cc View 1 2 3 4 5 6 7 8 9 1 chunk +98 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/sync_promo/sync_promo_handler.h View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc View 1 2 3 2 chunks +1 line, -19 lines 0 comments Download
M chrome/browser/ui/webui/sync_promo/sync_promo_handler2.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/sync_promo/sync_promo_handler2.cc View 1 2 3 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/ui/webui/sync_setup_handler.h View 1 2 3 4 5 6 7 8 9 6 chunks +64 lines, -15 lines 0 comments Download
M chrome/browser/ui/webui/sync_setup_handler.cc View 1 2 3 4 5 6 7 8 9 10 chunks +183 lines, -73 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Andrew T Wilson (Slow)
OK, this is the biggest part of the refactoring - hopefully moving the rest of ...
8 years, 10 months ago (2012-02-10 01:53:26 UTC) #1
Andrew T Wilson (Slow)
FYI, Yaron/Nyquist - I'm happy to help merge this to Chrome Mobile.
8 years, 10 months ago (2012-02-10 20:52:31 UTC) #2
James Hawkins
https://chromiumcodereview.appspot.com/9295044/diff/20004/chrome/browser/ui/webui/signin/login_ui_service.cc File chrome/browser/ui/webui/signin/login_ui_service.cc (right): https://chromiumcodereview.appspot.com/9295044/diff/20004/chrome/browser/ui/webui/signin/login_ui_service.cc#newcode30 chrome/browser/ui/webui/signin/login_ui_service.cc:30: if (current_login_ui() == ui) What are the use cases ...
8 years, 10 months ago (2012-02-10 23:08:01 UTC) #3
Andrew T Wilson (Slow)
Updated per James' review feedback. https://chromiumcodereview.appspot.com/9295044/diff/20004/chrome/browser/ui/webui/signin/login_ui_service.cc File chrome/browser/ui/webui/signin/login_ui_service.cc (right): https://chromiumcodereview.appspot.com/9295044/diff/20004/chrome/browser/ui/webui/signin/login_ui_service.cc#newcode30 chrome/browser/ui/webui/signin/login_ui_service.cc:30: if (current_login_ui() == ui) ...
8 years, 10 months ago (2012-02-11 01:50:45 UTC) #4
Andrew T Wilson (Slow)
FYI Roger re: new signin refactoring. James, any further comments? Tim: Qui tacet consentire...
8 years, 10 months ago (2012-02-13 17:54:45 UTC) #5
tim (not reviewing)
still reviewing most of the bulk of this change, sorry for slowness.. taking me a ...
8 years, 10 months ago (2012-02-14 02:11:20 UTC) #6
Andrew T Wilson (Slow)
Please take another look. http://codereview.chromium.org/9295044/diff/28003/chrome/browser/sync/profile_sync_service.cc File chrome/browser/sync/profile_sync_service.cc (right): http://codereview.chromium.org/9295044/diff/28003/chrome/browser/sync/profile_sync_service.cc#newcode734 chrome/browser/sync/profile_sync_service.cc:734: // Got some kind of ...
8 years, 10 months ago (2012-02-14 05:23:51 UTC) #7
tim (not reviewing)
http://codereview.chromium.org/9295044/diff/10004/chrome/browser/ui/webui/signin/login_ui_service.cc File chrome/browser/ui/webui/signin/login_ui_service.cc (right): http://codereview.chromium.org/9295044/diff/10004/chrome/browser/ui/webui/signin/login_ui_service.cc#newcode31 chrome/browser/ui/webui/signin/login_ui_service.cc:31: ui_ = NULL; Oh, I see. Wait, when is ...
8 years, 10 months ago (2012-02-14 17:22:28 UTC) #8
Andrew T Wilson (Slow)
OK, addressed your feedback (I think) - PTAL. http://codereview.chromium.org/9295044/diff/10004/chrome/browser/ui/webui/signin/login_ui_service.cc File chrome/browser/ui/webui/signin/login_ui_service.cc (right): http://codereview.chromium.org/9295044/diff/10004/chrome/browser/ui/webui/signin/login_ui_service.cc#newcode31 chrome/browser/ui/webui/signin/login_ui_service.cc:31: ui_ ...
8 years, 10 months ago (2012-02-14 20:52:36 UTC) #9
tim (not reviewing)
Thanks for the changes. LGTM!
8 years, 10 months ago (2012-02-15 01:10:16 UTC) #10
Andrew T Wilson (Slow)
On 2012/02/15 01:10:16, timsteele wrote: > Thanks for the changes. LGTM! Thanks, Tim. James, you're ...
8 years, 10 months ago (2012-02-15 01:17:33 UTC) #11
James Hawkins
LGTM with two nits. http://codereview.chromium.org/9295044/diff/12009/chrome/browser/sync/profile_sync_service_mock.h File chrome/browser/sync/profile_sync_service_mock.h (right): http://codereview.chromium.org/9295044/diff/12009/chrome/browser/sync/profile_sync_service_mock.h#newcode21 chrome/browser/sync/profile_sync_service_mock.h:21: class SigninManager; nit: Appears unused. ...
8 years, 10 months ago (2012-02-15 01:50:50 UTC) #12
Andrew T Wilson (Slow)
http://codereview.chromium.org/9295044/diff/12009/chrome/browser/sync/profile_sync_service_mock.h File chrome/browser/sync/profile_sync_service_mock.h (right): http://codereview.chromium.org/9295044/diff/12009/chrome/browser/sync/profile_sync_service_mock.h#newcode21 chrome/browser/sync/profile_sync_service_mock.h:21: class SigninManager; On 2012/02/15 01:50:50, James Hawkins wrote: > ...
8 years, 10 months ago (2012-02-15 02:08:50 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/atwilson@chromium.org/9295044/38001
8 years, 10 months ago (2012-02-15 02:12:33 UTC) #14
commit-bot: I haz the power
8 years, 10 months ago (2012-02-15 04:08:43 UTC) #15
Change committed as 122030

Powered by Google App Engine
This is Rietveld 408576698