Don'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 Review URL: https://chromiumcodereview.appspot.com/16072014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203128 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment