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

Issue 57363003: Enable account reconcilor when --new-profile-management is used. (Closed)

Created:
7 years, 1 month ago by Roger Tawa OOO till Jul 10th
Modified:
7 years, 1 month ago
Reviewers:
rpetterson, acleung1, guohui
CC:
chromium-reviews, rginda+watch_chromium.org
Visibility:
Public.

Description

Enable account reconcilor when --new-profile-management is used. Move mergesession from SigninManager to reconcilor. Implement ListAccounts. Start implementing reconcile action, but still a noop for now. This CL depends on https://codereview.chromium.org/57103002/ Alan: here is an implementation of the ListAccounts. I also added lots of DVLOG() to the code. Let me know if you'd rather I took those out and put in a separate CL. Hui: please review. This CL adds more functionality to the reconcilor but its still not complete. However, it enables AC behind the flag for merge session so you don't need to do that manually. BUG=305249 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233424

Patch Set 1 #

Patch Set 2 : Fix-unit-test #

Patch Set 3 : rebased #

Total comments: 17

Patch Set 4 : Address review comments #

Patch Set 5 : Use helper function for new profile management #

Total comments: 6

Patch Set 6 : rebased #

Patch Set 7 : Make ParseListAccountsData static, add tests #

Patch Set 8 : rebased #

Patch Set 9 : Fix unsigned check in tests #

Patch Set 10 : Fix unsigned check in tests again #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+343 lines, -59 lines) Patch
M chrome/browser/profiles/profile_manager.cc View 1 2 3 4 2 chunks +4 lines, -0 lines 1 comment Download
M chrome/browser/signin/account_reconcilor.h View 1 2 3 4 5 6 3 chunks +52 lines, -7 lines 0 comments Download
M chrome/browser/signin/account_reconcilor.cc View 1 2 3 4 5 6 6 chunks +193 lines, -17 lines 0 comments Download
M chrome/browser/signin/account_reconcilor_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +34 lines, -0 lines 0 comments Download
M chrome/browser/signin/signin_manager.h View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/signin/signin_manager.cc View 1 chunk +0 lines, -29 lines 0 comments Download
M google_apis/gaia/gaia_auth_consumer.h View 1 chunk +3 lines, -0 lines 0 comments Download
M google_apis/gaia/gaia_auth_fetcher.h View 3 chunks +8 lines, -0 lines 0 comments Download
M google_apis/gaia/gaia_auth_fetcher.cc View 4 chunks +26 lines, -0 lines 0 comments Download
M google_apis/gaia/gaia_auth_fetcher_unittest.cc View 1 2 chunks +15 lines, -0 lines 0 comments Download
M google_apis/gaia/gaia_urls.h View 2 chunks +2 lines, -0 lines 0 comments Download
M google_apis/gaia/gaia_urls.cc View 3 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Roger Tawa OOO till Jul 10th
7 years, 1 month ago (2013-11-03 14:51:31 UTC) #1
acleung1
LOG's fine, I just had some high level questions first. https://codereview.chromium.org/57363003/diff/430001/chrome/browser/signin/account_reconcilor.cc File chrome/browser/signin/account_reconcilor.cc (right): https://codereview.chromium.org/57363003/diff/430001/chrome/browser/signin/account_reconcilor.cc#newcode134 ...
7 years, 1 month ago (2013-11-04 21:18:59 UTC) #2
guohui
lgtm https://codereview.chromium.org/57363003/diff/430001/chrome/browser/signin/account_reconcilor.cc File chrome/browser/signin/account_reconcilor.cc (right): https://codereview.chromium.org/57363003/diff/430001/chrome/browser/signin/account_reconcilor.cc#newcode162 chrome/browser/signin/account_reconcilor.cc:162: GoogleAutoLoginHelper* helper = new GoogleAutoLoginHelper(profile_); another helper? we ...
7 years, 1 month ago (2013-11-04 22:44:15 UTC) #3
guohui
lgtm
7 years, 1 month ago (2013-11-04 22:44:16 UTC) #4
Roger Tawa OOO till Jul 10th
Thanks Alan, Hui. Changes uploaded. https://codereview.chromium.org/57363003/diff/430001/chrome/browser/signin/account_reconcilor.cc File chrome/browser/signin/account_reconcilor.cc (right): https://codereview.chromium.org/57363003/diff/430001/chrome/browser/signin/account_reconcilor.cc#newcode134 chrome/browser/signin/account_reconcilor.cc:134: DVLOG(1) << "AccountReconcilor::Observe: cookies ...
7 years, 1 month ago (2013-11-04 23:38:42 UTC) #5
Roger Tawa OOO till Jul 10th
Hi Rachel, Can you please do an owner review for profile_manager? Thanks.
7 years, 1 month ago (2013-11-04 23:43:14 UTC) #6
acleung1
https://codereview.chromium.org/57363003/diff/430001/chrome/browser/signin/account_reconcilor.cc File chrome/browser/signin/account_reconcilor.cc (right): https://codereview.chromium.org/57363003/diff/430001/chrome/browser/signin/account_reconcilor.cc#newcode162 chrome/browser/signin/account_reconcilor.cc:162: GoogleAutoLoginHelper* helper = new GoogleAutoLoginHelper(profile_); On 2013/11/04 23:38:42, Roger ...
7 years, 1 month ago (2013-11-05 00:04:27 UTC) #7
rpetterson
profiles/ LGTM
7 years, 1 month ago (2013-11-05 00:16:15 UTC) #8
Roger Tawa OOO till Jul 10th
Thanks Alan. Unit tests always good. PTAL. https://codereview.chromium.org/57363003/diff/660001/chrome/browser/signin/account_reconcilor.cc File chrome/browser/signin/account_reconcilor.cc (right): https://codereview.chromium.org/57363003/diff/660001/chrome/browser/signin/account_reconcilor.cc#newcode207 chrome/browser/signin/account_reconcilor.cc:207: FinishReconcileAction(); On ...
7 years, 1 month ago (2013-11-05 21:33:28 UTC) #9
acleung1
lgtm
7 years, 1 month ago (2013-11-06 00:27:01 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/57363003/1000001
7 years, 1 month ago (2013-11-06 20:44:39 UTC) #11
commit-bot: I haz the power
Change committed as 233424
7 years, 1 month ago (2013-11-07 00:03:53 UTC) #12
acleung1
https://codereview.chromium.org/57363003/diff/1000001/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): https://codereview.chromium.org/57363003/diff/1000001/chrome/browser/profiles/profile_manager.cc#newcode811 chrome/browser/profiles/profile_manager.cc:811: AccountReconcilorFactory::GetForProfile(profile); Hmm this works when I patched it in ...
7 years, 1 month ago (2013-11-07 03:46:31 UTC) #13
Roger Tawa OOO till Jul 10th
7 years, 1 month ago (2013-11-07 03:59:59 UTC) #14
Hi Alan,

Sorry, I don't know why it would stopped working on android. Let me know if
you need anything from me.
On Nov 6, 2013 10:46 PM, <acleung@chromium.org> wrote:

>
> https://codereview.chromium.org/57363003/diff/1000001/
> chrome/browser/profiles/profile_manager.cc
> File chrome/browser/profiles/profile_manager.cc (right):
>
> https://codereview.chromium.org/57363003/diff/1000001/
> chrome/browser/profiles/profile_manager.cc#newcode811
> chrome/browser/profiles/profile_manager.cc:811:
> AccountReconcilorFactory::GetForProfile(profile);
> Hmm this works when I patched it in a few days ago but when I sync just
> now we stop hitting this path on Android.
>
> I will look into it unless you happen to know why.
>
> https://codereview.chromium.org/57363003/
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698