| Index: chrome/browser/signin/signin_header_helper.cc
|
| diff --git a/chrome/browser/signin/signin_header_helper.cc b/chrome/browser/signin/signin_header_helper.cc
|
| index 864e489bba9648a9885e0a72cf982f116c54414e..2ecb241a377f340de31fe9104fa0a788ebde2c3f 100644
|
| --- a/chrome/browser/signin/signin_header_helper.cc
|
| +++ b/chrome/browser/signin/signin_header_helper.cc
|
| @@ -177,9 +177,9 @@ bool AppendMirrorRequestHeaderIfPossible(
|
| std::string account_id(io_data->google_services_account_id()->GetValue());
|
|
|
| int profile_mode_mask = PROFILE_MODE_DEFAULT;
|
| - // TODO(guohui): Needs to check for parent control as well.
|
| if (io_data->incognito_availibility()->GetValue() ==
|
| - IncognitoModePrefs::DISABLED) {
|
| + IncognitoModePrefs::DISABLED ||
|
| + io_data->ArePlatformParentalControlsEnabledCached()) {
|
| profile_mode_mask |= PROFILE_MODE_INCOGNITO_DISABLED;
|
| }
|
|
|
|
|