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

Issue 661603007: Fix re-opening Chrome after the last active profile was a Guest profile. (Closed)

Created:
6 years, 2 months ago by noms (inactive)
Modified:
6 years, 2 months ago
Reviewers:
sky
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix re-opening Chrome after the last active profile was a Guest profile. BUG=423049 TEST=Start Chrome with an empty user data dir and --enable-new-avatar-menu. From the avatar menu, click on "Switch Person", and "Browse as Guest" from the user manager. Without closing any of the profile windows, choose "Exit" from the Guest profile's hot dog menu. Restart Chrome. It should start up and reopen the previous non-guest opened profile. Committed: https://crrev.com/71f71a0dbb70e2072ef15efb44c4997d58bf960d Cr-Commit-Position: refs/heads/master@{#300153}

Patch Set 1 #

Total comments: 4

Patch Set 2 : rebase #

Patch Set 3 : add dcheck #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -11 lines) Patch
M chrome/browser/ui/startup/startup_browser_creator.cc View 1 2 5 chunks +14 lines, -11 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
noms (inactive)
Hi Scott, This fixes the Chrome startup code to deal better with the last active ...
6 years, 2 months ago (2014-10-16 17:45:26 UTC) #2
sky
https://codereview.chromium.org/661603007/diff/1/chrome/browser/ui/startup/startup_browser_creator.cc File chrome/browser/ui/startup/startup_browser_creator.cc (left): https://codereview.chromium.org/661603007/diff/1/chrome/browser/ui/startup/startup_browser_creator.cc#oldcode667 chrome/browser/ui/startup/startup_browser_creator.cc:667: if (switches::IsNewAvatarMenu() && Can't this still happen? https://codereview.chromium.org/661603007/diff/1/chrome/browser/ui/startup/startup_browser_creator.cc File ...
6 years, 2 months ago (2014-10-16 19:51:12 UTC) #3
noms (inactive)
https://codereview.chromium.org/661603007/diff/1/chrome/browser/ui/startup/startup_browser_creator.cc File chrome/browser/ui/startup/startup_browser_creator.cc (left): https://codereview.chromium.org/661603007/diff/1/chrome/browser/ui/startup/startup_browser_creator.cc#oldcode667 chrome/browser/ui/startup/startup_browser_creator.cc:667: if (switches::IsNewAvatarMenu() && On 2014/10/16 19:51:12, sky wrote: > ...
6 years, 2 months ago (2014-10-16 19:57:05 UTC) #4
sky
Ok, LGTM
6 years, 2 months ago (2014-10-16 20:01:32 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/661603007/40001
6 years, 2 months ago (2014-10-17 19:11:51 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 2 months ago (2014-10-17 20:10:59 UTC) #8
commit-bot: I haz the power
6 years, 2 months ago (2014-10-17 20:12:07 UTC) #9
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/71f71a0dbb70e2072ef15efb44c4997d58bf960d
Cr-Commit-Position: refs/heads/master@{#300153}

Powered by Google App Engine
This is Rietveld 408576698