Prevent new Browser windows from violating the IncognitoModeAvailability policy.
This policy may disable incognito mode, or set it to enforced (i.e. disable non-incognito windows). This change introduces a CHECK that prevents any code paths from opening a disabled window type; such code paths should still be fixed, but this CHECK prevents working around the policy. BUG=244246 Review URL: https://chromiumcodereview.appspot.com/15670011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204011 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment