Disable incognito link if parental control is on
commite3fd0bd10b02144e394532f2be15cfc0cfe27382
authorguohui@chromium.org <guohui@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 20 Jun 2014 22:46:35 +0000 (20 22:46 +0000)
committerguohui@chromium.org <guohui@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 20 Jun 2014 22:46:35 +0000 (20 22:46 +0000)
tree714abe2193addfe9f8641a81e7b4bd89e4bd3842
parentdb25a7e9bf34e638a1cbb4c8974ca566c22eb62c
Disable incognito link if parental control is on

The CL disables the incognito link on the gaia page if parental control is on. It adds a cached version for windows parental control check so that it may be accessed from IO thread. A similar CL for thread-safe android parental control check is under review at https://chrome-internal-review.googlesource.com/#/c/166265/.

BUG=383682

Review URL: https://codereview.chromium.org/336213005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278848 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/chrome_browser_main_win.cc
chrome/browser/prefs/incognito_mode_prefs.cc
chrome/browser/prefs/incognito_mode_prefs.h
chrome/browser/signin/signin_header_helper.cc