| Index: chrome/browser/profiles/incognito_mode_policy_handler.cc
|
| diff --git a/chrome/browser/profiles/incognito_mode_policy_handler.cc b/chrome/browser/profiles/incognito_mode_policy_handler.cc
|
| index 57afa0369fd727bd50a52f500ceb429845723889..224af9dcb9b2dcb8ce6b996a1f6fe3f00a82dc29 100644
|
| --- a/chrome/browser/profiles/incognito_mode_policy_handler.cc
|
| +++ b/chrome/browser/profiles/incognito_mode_policy_handler.cc
|
| @@ -29,7 +29,7 @@ bool IncognitoModePolicyHandler::CheckPolicySettings(const PolicyMap& policies,
|
| int int_value = IncognitoModePrefs::ENABLED;
|
| if (!availability->GetAsInteger(&int_value)) {
|
| errors->AddError(key::kIncognitoModeAvailability, IDS_POLICY_TYPE_ERROR,
|
| - base::Value::GetTypeName(base::Value::TYPE_INTEGER));
|
| + base::Value::GetTypeName(base::Value::Type::INTEGER));
|
| return false;
|
| }
|
| IncognitoModePrefs::Availability availability_enum_value;
|
| @@ -46,9 +46,9 @@ bool IncognitoModePolicyHandler::CheckPolicySettings(const PolicyMap& policies,
|
| const base::Value* deprecated_enabled =
|
| policies.GetValue(key::kIncognitoEnabled);
|
| if (deprecated_enabled &&
|
| - !deprecated_enabled->IsType(base::Value::TYPE_BOOLEAN)) {
|
| + !deprecated_enabled->IsType(base::Value::Type::BOOLEAN)) {
|
| errors->AddError(key::kIncognitoEnabled, IDS_POLICY_TYPE_ERROR,
|
| - base::Value::GetTypeName(base::Value::TYPE_BOOLEAN));
|
| + base::Value::GetTypeName(base::Value::Type::BOOLEAN));
|
| return false;
|
| }
|
| return true;
|
|
|