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

Issue 372033002: Change semantics of newProfileManagement() to accountConsistency() (Closed)

Created:
6 years, 5 months ago by Mike Lerman
Modified:
6 years, 5 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, sadrul, kalyank, ben+ash_chromium.org, extensions-reviews_chromium.org, xiyuan, dzhioev (left Google)
Project:
chromium
Visibility:
Public.

Description

Change semantics from newProfileManagement() to accountConsistency(). Account Consistency should enable the Accounts Reconcilor, the multi-accounts UI in the user menu, and inform GAIA to show Manager Accounts not Add Account & Sign Out. This CL also should disable the promo card that leads a user from NewProfileManager to EnableAccountConsistency. Please note the first message of the CL contains a full list of all references to IsNewProfileManagement and why each was or was not included in this change. BUG=391497 TEST=Setting the AccountConsistency flag should control all of (and only) the synchronization of the token service and the cookie jar. All Mirror-UI should be behind newAvatarMenu and NewProfileManagement. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285253

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase #

Patch Set 3 : ProfileChooserView respects new flag semantics #

Patch Set 4 : ProfileChooserController updated #

Patch Set 5 : Rebase #

Patch Set 6 : Create AccountReconcilor in SigninTracker only with AccountConsistency enabled #

Patch Set 7 : Fix profile_chooser_controller_test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -44 lines) Patch
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/principals_private/principals_private_api.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/signin/chrome_signin_client.cc View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/signin/signin_header_helper.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/signin/signin_tracker_factory.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm View 1 2 3 4 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm View 1 2 3 4 5 6 5 chunks +8 lines, -12 lines 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view.cc View 1 2 3 4 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M components/signin/core/browser/account_reconcilor.cc View 1 5 chunks +5 lines, -5 lines 0 comments Download
M components/signin/core/common/profile_management_switches.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
Mike Lerman
Following is a list of all references, and why I did/did not change each: Skipping: ...
6 years, 5 months ago (2014-07-07 20:22:00 UTC) #1
Mike Lerman
Hi Hui, Can you review before I send out for owners reviews? Thanks!
6 years, 5 months ago (2014-07-07 20:23:32 UTC) #2
guohui
lgtm For CrOS related changes in chrome/browser/extensions/signin/gaia_auth_extension_loader.cc and chrome/renderer/chrome_content_renderer_client.cc, add nkostylev@ to confirm. https://codereview.chromium.org/372033002/diff/1/chrome/browser/signin/signin_tracker_factory.cc File ...
6 years, 5 months ago (2014-07-07 21:06:57 UTC) #3
Nikita (slow)
lgtm cc:dzhioev@
6 years, 5 months ago (2014-07-08 09:26:42 UTC) #4
Mike Lerman
https://codereview.chromium.org/372033002/diff/1/chrome/browser/signin/signin_tracker_factory.cc File chrome/browser/signin/signin_tracker_factory.cc (right): https://codereview.chromium.org/372033002/diff/1/chrome/browser/signin/signin_tracker_factory.cc#newcode22 chrome/browser/signin/signin_tracker_factory.cc:22: if (!switches::IsEnableWebBasedSignin()) On 2014/07/07 21:06:57, guohui wrote: > so ...
6 years, 5 months ago (2014-07-08 12:30:48 UTC) #5
Mike Lerman
Adding reviewers: Drew - c/b/signin and components/signin Scott - c/renderer and c/b/ui/ash Please note the ...
6 years, 5 months ago (2014-07-08 12:33:15 UTC) #6
Andrew T Wilson (Slow)
lgtm
6 years, 5 months ago (2014-07-08 13:15:51 UTC) #7
sky
LGTM - IsEnableAccountConsistency is a bit confusing as a name, in so far as the ...
6 years, 5 months ago (2014-07-09 20:24:06 UTC) #8
Mike Lerman
Hi Hui, I've added the ProfileChooser to the scope of this CL. This CL should ...
6 years, 5 months ago (2014-07-21 15:16:22 UTC) #9
guohui
On 2014/07/21 15:16:22, Mike Lerman wrote: > Hi Hui, > > I've added the ProfileChooser ...
6 years, 5 months ago (2014-07-22 17:14:04 UTC) #10
Mike Lerman
The CQ bit was checked by mlerman@chromium.org
6 years, 5 months ago (2014-07-22 19:32:50 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlerman@chromium.org/372033002/120001
6 years, 5 months ago (2014-07-22 19:33:09 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 5 months ago (2014-07-22 22:47:44 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-22 23:37:05 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_swarming on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_rel_swarming/builds/1396)
6 years, 5 months ago (2014-07-22 23:37:06 UTC) #15
noms (inactive)
The CQ bit was checked by noms@chromium.org
6 years, 5 months ago (2014-07-23 15:17:49 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlerman@chromium.org/372033002/120001
6 years, 5 months ago (2014-07-23 15:19:29 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_rel_swarming on tryserver.chromium ...
6 years, 5 months ago (2014-07-23 18:01:51 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-23 18:43:31 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_swarming on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_rel_swarming/builds/1593)
6 years, 5 months ago (2014-07-23 18:43:32 UTC) #20
Mike Lerman
The CQ bit was checked by mlerman@chromium.org
6 years, 5 months ago (2014-07-23 19:21:21 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlerman@chromium.org/372033002/120001
6 years, 5 months ago (2014-07-23 19:21:59 UTC) #22
Mike Lerman
The CQ bit was checked by mlerman@chromium.org
6 years, 5 months ago (2014-07-23 20:57:22 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/372033002/140001
6 years, 5 months ago (2014-07-23 20:57:41 UTC) #24
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-24 01:35:14 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-24 03:25:46 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_rel/builds/52463)
6 years, 5 months ago (2014-07-24 03:25:47 UTC) #27
Mike Lerman
The CQ bit was checked by mlerman@chromium.org
6 years, 5 months ago (2014-07-24 12:40:47 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlerman@chromium.org/372033002/160001
6 years, 5 months ago (2014-07-24 12:42:14 UTC) #29
commit-bot: I haz the power
6 years, 5 months ago (2014-07-24 14:31:03 UTC) #30
Message was sent while issue was closed.
Change committed as 285253

Powered by Google App Engine
This is Rietveld 408576698