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

Issue 276463002: non-new-profile-management creates a "no-op" style account_reconcilor, (Closed)

Created:
6 years, 7 months ago by Mike Lerman
Modified:
6 years, 6 months ago
CC:
chromium-reviews, rginda+watch_chromium.org, yoshiki+watch_chromium.org
Visibility:
Public.

Description

non-new-profile-management creates a "no-op" style account_reconcilor, useful for tracking stats but won't have any real effects. Modify the AccountReconcilor_unittest to execute with the new_profile_management flag on. BUG=357693 TEST=Account Reconciler should function normally when new_profile_management flag is on. Should not have effects when the flag is off, but UMA stats (histograms) and logging (for --vmodule=account_reconcilor=1) should still trace the execution path. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272131 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272826 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273205

Patch Set 1 #

Total comments: 9

Patch Set 2 : Refactor account_reconcilor naming. Make unit tests work with the flag. #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Patch Set 5 : Fix gaia tests #

Patch Set 6 : Rebase #

Patch Set 7 : TestSigninClient for AccountReconcilorTests #

Total comments: 12

Patch Set 8 : Nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -34 lines) Patch
M chrome/browser/profiles/profile_manager.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/signin/account_reconcilor_unittest.cc View 1 2 3 4 5 6 7 9 chunks +45 lines, -18 lines 0 comments Download
A chrome/browser/signin/test_signin_client_builder.h View 1 2 3 4 5 6 1 chunk +23 lines, -0 lines 0 comments Download
A chrome/browser/signin/test_signin_client_builder.cc View 1 2 3 4 5 6 1 chunk +25 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M components/signin/core/browser/account_reconcilor.h View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M components/signin/core/browser/account_reconcilor.cc View 1 2 3 4 5 6 chunks +30 lines, -10 lines 0 comments Download
M components/signin/core/browser/test_signin_client.h View 1 2 3 4 5 6 7 2 chunks +5 lines, -0 lines 0 comments Download
M components/signin/core/browser/test_signin_client.cc View 1 2 3 4 5 6 7 1 chunk +8 lines, -2 lines 0 comments Download
M google_apis/gaia/fake_gaia.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M google_apis/gaia/fake_gaia.cc View 1 2 3 4 5 6 7 3 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 50 (0 generated)
Mike Lerman
The switch controlling the execution of the AccountReconcilor has been pushed from the ProfileManager into ...
6 years, 7 months ago (2014-05-07 14:51:48 UTC) #1
noms (inactive)
profiles lgtm, with nits about variable names :) https://codereview.chromium.org/276463002/diff/1/components/signin/core/browser/account_reconcilor.h File components/signin/core/browser/account_reconcilor.h (right): https://codereview.chromium.org/276463002/diff/1/components/signin/core/browser/account_reconcilor.h#newcode234 components/signin/core/browser/account_reconcilor.h:234: // ...
6 years, 7 months ago (2014-05-07 14:57:24 UTC) #2
Mike Lerman
On 2014/05/07 14:57:24, Monica Dinculescu wrote: > profiles lgtm, with nits about variable names :) ...
6 years, 7 months ago (2014-05-07 15:01:48 UTC) #3
Roger Tawa OOO till Jul 10th
Looks good, a few comments below. Seems like I lied to you :-) There are ...
6 years, 7 months ago (2014-05-07 16:14:45 UTC) #4
Mike Lerman
https://codereview.chromium.org/276463002/diff/1/components/signin/core/browser/account_reconcilor.cc File components/signin/core/browser/account_reconcilor.cc (right): https://codereview.chromium.org/276463002/diff/1/components/signin/core/browser/account_reconcilor.cc#newcode344 components/signin/core/browser/account_reconcilor.cc:344: VLOG(1) << "AccountReconcilor::OnCookieChanged: cookie change is ingored" On 2014/05/07 ...
6 years, 7 months ago (2014-05-08 15:17:49 UTC) #5
Roger Tawa OOO till Jul 10th
lgtm Thanks Mike.
6 years, 7 months ago (2014-05-08 15:51:36 UTC) #6
Mike Lerman
The CQ bit was checked by mlerman@chromium.org
6 years, 7 months ago (2014-05-08 16:15:55 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlerman@chromium.org/276463002/20001
6 years, 7 months ago (2014-05-08 16:17:46 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-08 20:20:26 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-08 21:21:46 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/24690)
6 years, 7 months ago (2014-05-08 21:21:46 UTC) #11
Mike Lerman
On 2014/05/08 21:21:46, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 7 months ago (2014-05-09 17:30:47 UTC) #12
Mike Lerman
The CQ bit was checked by mlerman@chromium.org
6 years, 7 months ago (2014-05-15 17:32:05 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlerman@chromium.org/276463002/20001
6 years, 7 months ago (2014-05-15 17:33:21 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-15 17:46:46 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-15 17:52:05 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/27377)
6 years, 7 months ago (2014-05-15 17:52:06 UTC) #17
Mike Lerman
The CQ bit was checked by mlerman@chromium.org
6 years, 7 months ago (2014-05-15 18:40:53 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlerman@chromium.org/276463002/40001
6 years, 7 months ago (2014-05-15 18:42:01 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-15 19:16:16 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-15 19:22:49 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/4671) linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/27423) linux_chromium_clang_dbg ...
6 years, 7 months ago (2014-05-15 19:22:50 UTC) #22
Mike Lerman
The CQ bit was checked by mlerman@chromium.org
6 years, 7 months ago (2014-05-16 13:03:42 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlerman@chromium.org/276463002/60001
6 years, 7 months ago (2014-05-16 13:04:08 UTC) #24
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-16 16:58:51 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-16 18:03:20 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/27892)
6 years, 7 months ago (2014-05-16 18:03:21 UTC) #27
Mike Lerman
Roger, Can you please take a new look, for the change I made to fake_gaia? ...
6 years, 7 months ago (2014-05-21 20:31:55 UTC) #28
Roger Tawa OOO till Jul 10th
lgtm
6 years, 7 months ago (2014-05-21 20:42:51 UTC) #29
Mike Lerman
The CQ bit was checked by mlerman@chromium.org
6 years, 7 months ago (2014-05-21 20:43:55 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlerman@chromium.org/276463002/80001
6 years, 7 months ago (2014-05-21 20:47:25 UTC) #31
commit-bot: I haz the power
Change committed as 272131
6 years, 7 months ago (2014-05-22 07:59:03 UTC) #32
Mike Lerman
On 2014/05/22 07:59:03, I haz the power (commit-bot) wrote: > Change committed as 272131 Re-opened. ...
6 years, 7 months ago (2014-05-23 12:44:05 UTC) #33
Mike Lerman
The CQ bit was checked by mlerman@chromium.org
6 years, 7 months ago (2014-05-26 13:23:16 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlerman@chromium.org/276463002/80001
6 years, 7 months ago (2014-05-26 13:24:25 UTC) #35
commit-bot: I haz the power
Change committed as 272826
6 years, 7 months ago (2014-05-26 15:48:37 UTC) #36
jochen (gone - plz use gerrit)
A revert of this CL has been created in https://codereview.chromium.org/297303003/ by jochen@chromium.org. The reason for ...
6 years, 7 months ago (2014-05-26 18:24:38 UTC) #37
Mike Lerman
A revert of this CL has been created in https://codereview.chromium.org/299313008/ by mlerman@chromium.org. The reason for ...
6 years, 7 months ago (2014-05-26 18:30:53 UTC) #38
Mike Lerman
On 2014/05/26 18:30:53, Mike Lerman wrote: > A revert of this CL has been created ...
6 years, 7 months ago (2014-05-26 18:32:48 UTC) #39
Mike Lerman
Roger, I added a fair number of changes for the TestSigninClient. Can you please re-review? ...
6 years, 7 months ago (2014-05-27 16:52:30 UTC) #40
Roger Tawa OOO till Jul 10th
lgtm with nits below. https://codereview.chromium.org/276463002/diff/110001/chrome/browser/signin/account_reconcilor_unittest.cc File chrome/browser/signin/account_reconcilor_unittest.cc (right): https://codereview.chromium.org/276463002/diff/110001/chrome/browser/signin/account_reconcilor_unittest.cc#newcode115 chrome/browser/signin/account_reconcilor_unittest.cc:115: TestingProfileManager* testing_profile_manager_; Use a scoped_ptr<TestingProfileManager> ...
6 years, 7 months ago (2014-05-27 19:15:37 UTC) #41
Mike Lerman
Thanks Roger. https://codereview.chromium.org/276463002/diff/110001/chrome/browser/signin/account_reconcilor_unittest.cc File chrome/browser/signin/account_reconcilor_unittest.cc (right): https://codereview.chromium.org/276463002/diff/110001/chrome/browser/signin/account_reconcilor_unittest.cc#newcode115 chrome/browser/signin/account_reconcilor_unittest.cc:115: TestingProfileManager* testing_profile_manager_; On 2014/05/27 19:15:38, Roger Tawa ...
6 years, 7 months ago (2014-05-27 19:43:03 UTC) #42
Mike Lerman
The CQ bit was checked by mlerman@chromium.org
6 years, 7 months ago (2014-05-28 01:28:16 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlerman@chromium.org/276463002/130001
6 years, 7 months ago (2014-05-28 01:29:35 UTC) #44
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 6 months ago (2014-05-28 03:20:16 UTC) #45
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-28 03:22:01 UTC) #46
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu_triggered_tests/builds/18152)
6 years, 6 months ago (2014-05-28 03:22:03 UTC) #47
Mike Lerman
The CQ bit was checked by mlerman@chromium.org
6 years, 6 months ago (2014-05-28 11:00:03 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlerman@chromium.org/276463002/130001
6 years, 6 months ago (2014-05-28 11:00:56 UTC) #49
commit-bot: I haz the power
6 years, 6 months ago (2014-05-28 13:51:16 UTC) #50
Message was sent while issue was closed.
Change committed as 273205

Powered by Google App Engine
This is Rietveld 408576698