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

Issue 694593002: Profile unlock should always use session restore, regardless of system preference. (Closed)

Created:
6 years, 1 month ago by Mike Lerman
Modified:
6 years, 1 month ago
Reviewers:
bcwhite, msw
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Profile unlock should always use session restore, regardless of system preference. The UserManager will now set the ProfileInfoCache's "signin required" bit to false after the browser's opened rather than before, so that it can be read during startup. BUG=420762 Committed: https://crrev.com/aa6da7f1cad568965c6b6bb30cc9103cfbdaee57 Cr-Commit-Position: refs/heads/master@{#302459}

Patch Set 1 #

Total comments: 1

Patch Set 2 : brian's comment #

Patch Set 3 : Make startup code more flexible for tests (and cold starts?) #

Total comments: 2

Patch Set 4 : msw nits #

Patch Set 5 : Rebase #

Patch Set 6 : Add a profile manager instance to the unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -2 lines) Patch
M chrome/browser/ui/startup/session_crashed_infobar_delegate_unittest.cc View 1 2 3 4 5 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/startup/startup_browser_creator.cc View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/signin/user_manager_screen_handler.cc View 1 2 3 4 2 chunks +9 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (6 generated)
Mike Lerman
Hi Brian and Mike, Can you please review this CL? Brian - user_manager_screen_handler.cc Mike - ...
6 years, 1 month ago (2014-10-30 18:35:12 UTC) #2
bcwhite
lgtm https://codereview.chromium.org/694593002/diff/1/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc File chrome/browser/ui/webui/signin/user_manager_screen_handler.cc (right): https://codereview.chromium.org/694593002/diff/1/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc#newcode725 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc:725: // Unlock the profile after browser opens so ...
6 years, 1 month ago (2014-10-30 19:39:44 UTC) #3
msw
lgtm
6 years, 1 month ago (2014-10-30 19:43:27 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/694593002/20001
6 years, 1 month ago (2014-10-30 20:17:32 UTC) #6
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/74977)
6 years, 1 month ago (2014-10-30 20:43:23 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/694593002/20001
6 years, 1 month ago (2014-10-30 21:03:13 UTC) #10
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/75001) linux_chromium_chromeos_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel/builds/7114) linux_chromium_rel_ng ...
6 years, 1 month ago (2014-10-30 21:24:44 UTC) #12
Mike Lerman
Had to modify the startup_browser_creator because the Profile may not be in the ProfileInfoCache. I ...
6 years, 1 month ago (2014-10-30 22:26:01 UTC) #13
msw
lgtm with nits https://codereview.chromium.org/694593002/diff/40001/chrome/browser/ui/startup/startup_browser_creator.cc File chrome/browser/ui/startup/startup_browser_creator.cc (right): https://codereview.chromium.org/694593002/diff/40001/chrome/browser/ui/startup/startup_browser_creator.cc#newcode398 chrome/browser/ui/startup/startup_browser_creator.cc:398: // If called during CreatePrimaryProfile on ...
6 years, 1 month ago (2014-10-30 22:29:50 UTC) #14
Mike Lerman
Hi Mike, There was an issue with a unit test that did not have a ...
6 years, 1 month ago (2014-11-03 03:50:32 UTC) #15
Mike Lerman
Hi Mike, I'm aiming to hit this week's dev channel, so I'm going to hit ...
6 years, 1 month ago (2014-11-03 18:35:18 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/694593002/100001
6 years, 1 month ago (2014-11-03 18:35:51 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:100001)
6 years, 1 month ago (2014-11-03 19:17:26 UTC) #19
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/aa6da7f1cad568965c6b6bb30cc9103cfbdaee57 Cr-Commit-Position: refs/heads/master@{#302459}
6 years, 1 month ago (2014-11-03 19:18:24 UTC) #20
msw
6 years, 1 month ago (2014-11-03 19:27:55 UTC) #21
Message was sent while issue was closed.
still lgtm

Powered by Google App Engine
This is Rietveld 408576698