DescriptionDon't open the 'stats for nerds' in a non-incognito window when incognito is forced.
Incognito mode may be always-on by configuration policy. When that is set then
the TaskManager shouldn't open a new non-incognito window.
The TaskManager doesn't have an associated Profile, so it uses the last used
Profile. This change introduces a getter for the last used allowed Profile,
which returns the OTR Profile if that's dictated by policy.
BUG=244246
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203128
Patch Set 1 #Patch Set 2 : renamed getter, left a comment at GetLastUsedProfile #
Messages
Total messages: 7 (0 generated)
|