DescriptionReopen a Guest browser and not the User Manager if another Guest browser is already open.
We currently have code that ensures that if the last used profile is Guest, we should
open the User Manager. This doesn't work if, for example, you download a file
in the Guest browser, and then click on it top open it. In this case, it's fine
to open a new Guest browser window, as one already exists (and opening the User
Manager is a very weird experience)
BUG=423118
TEST=Start Chrome with --enable-new-avatar-menu. From the avatar menu, choose "Switch person"
and launch a new Guest browser. In the Guest browser, download a file, and then click on
it from the dwonload shelf at the bottom of the browser. The file should open in a
new tab of the Guest window.
Committed: https://crrev.com/421a46965a0acd3180d0706a6dad445b5b11e164
Cr-Commit-Position: refs/heads/master@{#302431}
Patch Set 1 #
Total comments: 2
Patch Set 2 : s/size_t/bool #Patch Set 3 : whitespace #
Total comments: 2
Patch Set 4 : boolean nit #Messages
Total messages: 10 (2 generated)
|