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

Issue 2712883005: Sign out profile when local_state file has been changed. (Closed)

Created:
3 years, 10 months ago by zmin
Modified:
3 years, 9 months ago
CC:
asvitkine+watch_chromium.org, chromium-reviews, rginda+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

1) Sign out profile when local_state auth info is overridden by Preferences 2) Create force-sign-in policy cache 3) Trigger ProfileIsSigninRequriedChanged() when profile is locked/unlocked due to force sign in policy. BUG=642059 Review-Url: https://codereview.chromium.org/2712883005 Cr-Commit-Position: refs/heads/master@{#457452} Committed: https://chromium.googlesource.com/chromium/src/+/d36229e8166288e84af7485819ceeb1a347465a9

Patch Set 1 #

Patch Set 2 : fix trybot error and Merge from master #

Patch Set 3 : fixup #

Total comments: 8

Patch Set 4 : rogerta's comments and Merge from master #

Patch Set 5 : Merge from master #

Total comments: 3

Patch Set 6 : Merge from master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+222 lines, -32 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_attributes_entry.cc View 3 chunks +6 lines, -12 lines 0 comments Download
M chrome/browser/profiles/profile_attributes_storage_unittest.cc View 3 chunks +39 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_info_cache.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_info_cache.cc View 1 2 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/profiles/profile_manager.cc View 1 2 3 4 5 3 chunks +22 lines, -0 lines 0 comments Download
M chrome/browser/signin/chrome_signin_client.h View 2 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/signin/chrome_signin_client.cc View 1 2 3 4 5 3 chunks +11 lines, -4 lines 0 comments Download
A chrome/browser/signin/signin_util.h View 1 chunk +19 lines, -0 lines 0 comments Download
A chrome/browser/signin/signin_util.cc View 1 2 3 1 chunk +41 lines, -0 lines 0 comments Download
A chrome/browser/signin/signin_util_unittest.cc View 1 chunk +41 lines, -0 lines 0 comments Download
M chrome/browser/signin/token_revoker_test_utils.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/signin/token_revoker_test_utils.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/signin/user_manager_screen_handler.cc View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M components/signin/core/browser/signin_client.h View 2 chunks +3 lines, -1 line 0 comments Download
M components/signin/core/browser/signin_client.cc View 1 chunk +3 lines, -1 line 0 comments Download
M components/signin/core/browser/signin_manager.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M components/signin/core/browser/signin_metrics.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 56 (41 generated)
zmin
Sorry for the big CL. I tried to break it down a little with some ...
3 years, 10 months ago (2017-02-23 22:36:31 UTC) #3
Roger Tawa OOO till Jul 10th
Hi Owen, a few nits but mostly a question about the cache. https://codereview.chromium.org/2712883005/diff/60001/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc ...
3 years, 9 months ago (2017-02-27 22:08:26 UTC) #21
zmin
https://codereview.chromium.org/2712883005/diff/60001/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): https://codereview.chromium.org/2712883005/diff/60001/chrome/browser/profiles/profile_manager.cc#newcode1559 chrome/browser/profiles/profile_manager.cc:1559: bool previous_authenticated_status = entry->IsAuthenticated(); On 2017/02/27 22:08:26, Roger Tawa ...
3 years, 9 months ago (2017-03-07 20:06:42 UTC) #24
Roger Tawa OOO till Jul 10th
lgtm Thanks Owen.
3 years, 9 months ago (2017-03-10 16:50:21 UTC) #32
anthonyvd
c/b/profiles lgtm with a small nit. https://codereview.chromium.org/2712883005/diff/120001/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): https://codereview.chromium.org/2712883005/diff/120001/chrome/browser/profiles/profile_manager.cc#newcode1577 chrome/browser/profiles/profile_manager.cc:1577: bool was_authenticated_status = ...
3 years, 9 months ago (2017-03-13 18:47:30 UTC) #33
zmin
https://codereview.chromium.org/2712883005/diff/120001/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): https://codereview.chromium.org/2712883005/diff/120001/chrome/browser/profiles/profile_manager.cc#newcode1577 chrome/browser/profiles/profile_manager.cc:1577: bool was_authenticated_status = entry->IsAuthenticated(); On 2017/03/13 18:47:30, anthonyvd wrote: ...
3 years, 9 months ago (2017-03-13 18:54:56 UTC) #34
anthonyvd
https://codereview.chromium.org/2712883005/diff/120001/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): https://codereview.chromium.org/2712883005/diff/120001/chrome/browser/profiles/profile_manager.cc#newcode1577 chrome/browser/profiles/profile_manager.cc:1577: bool was_authenticated_status = entry->IsAuthenticated(); On 2017/03/13 at 18:54:55, zmin ...
3 years, 9 months ago (2017-03-13 18:57:07 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2712883005/120001
3 years, 9 months ago (2017-03-13 19:47:30 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/384167)
3 years, 9 months ago (2017-03-13 19:57:34 UTC) #39
zmin
+jwd for histograms.xml Thanks, Owen
3 years, 9 months ago (2017-03-13 19:59:59 UTC) #41
jwd
lgtm
3 years, 9 months ago (2017-03-15 14:50:40 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2712883005/120001
3 years, 9 months ago (2017-03-15 15:44:36 UTC) #44
commit-bot: I haz the power
Failed to apply patch for chrome/test/BUILD.gn: While running git apply --index -p1; error: patch failed: ...
3 years, 9 months ago (2017-03-15 16:42:30 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2712883005/140001
3 years, 9 months ago (2017-03-16 16:09:00 UTC) #53
commit-bot: I haz the power
3 years, 9 months ago (2017-03-16 16:15:48 UTC) #56
Message was sent while issue was closed.
Committed patchset #6 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/d36229e8166288e84af7485819ce...

Powered by Google App Engine
This is Rietveld 408576698