Index: chrome/browser/profiles/incognito_mode_policy_handler_unittest.cc |
diff --git a/chrome/browser/profiles/incognito_mode_policy_handler_unittest.cc b/chrome/browser/profiles/incognito_mode_policy_handler_unittest.cc |
index 5fac6d6fd25326e2bbdbd90b8f6fc3c3009fb474..f68d61805d54ff68c2b41755cef98d9f47ede9bc 100644 |
--- a/chrome/browser/profiles/incognito_mode_policy_handler_unittest.cc |
+++ b/chrome/browser/profiles/incognito_mode_policy_handler_unittest.cc |
@@ -7,6 +7,7 @@ |
#include "chrome/common/pref_names.h" |
#include "components/policy/core/browser/configuration_policy_pref_store.h" |
#include "components/policy/core/browser/configuration_policy_pref_store_test.h" |
+#include "components/policy/core/common/policy_types.h" |
#include "policy/policy_constants.h" |
namespace policy { |
@@ -35,6 +36,7 @@ class IncognitoModePolicyHandlerTest |
policy.Set(key::kIncognitoEnabled, |
POLICY_LEVEL_MANDATORY, |
POLICY_SCOPE_USER, |
+ POLICY_SOURCE_CLOUD, |
new base::FundamentalValue(incognito_enabled == |
INCOGNITO_ENABLED_TRUE), |
NULL); |
@@ -43,6 +45,7 @@ class IncognitoModePolicyHandlerTest |
policy.Set(key::kIncognitoModeAvailability, |
POLICY_LEVEL_MANDATORY, |
POLICY_SCOPE_USER, |
+ POLICY_SOURCE_CLOUD, |
new base::FundamentalValue(availability), |
NULL); |
} |