Index: chrome/browser/policy/file_selection_dialogs_policy_handler_unittest.cc |
diff --git a/chrome/browser/policy/file_selection_dialogs_policy_handler_unittest.cc b/chrome/browser/policy/file_selection_dialogs_policy_handler_unittest.cc |
index 8392ff94dc8ce3e95c997bb79ab671d100ea8ef6..f743751a3477afd8e79bb331bc85da1a5e723ed9 100644 |
--- a/chrome/browser/policy/file_selection_dialogs_policy_handler_unittest.cc |
+++ b/chrome/browser/policy/file_selection_dialogs_policy_handler_unittest.cc |
@@ -7,6 +7,7 @@ |
#include "chrome/browser/policy/file_selection_dialogs_policy_handler.h" |
#include "chrome/common/pref_names.h" |
#include "components/policy/core/common/policy_map.h" |
+#include "components/policy/core/common/policy_types.h" |
#include "policy/policy_constants.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -30,6 +31,7 @@ TEST_F(FileSelectionDialogsPolicyTest, EnableFileSelectionDialogs) { |
policy_.Set(key::kAllowFileSelectionDialogs, |
POLICY_LEVEL_MANDATORY, |
POLICY_SCOPE_USER, |
+ POLICY_SOURCE_CLOUD, |
new base::FundamentalValue(true), |
NULL); |
handler_.ApplyPolicySettings(policy_, &prefs_); |
@@ -43,6 +45,7 @@ TEST_F(FileSelectionDialogsPolicyTest, DisableFileSelectionDialogs) { |
policy_.Set(key::kAllowFileSelectionDialogs, |
POLICY_LEVEL_MANDATORY, |
POLICY_SCOPE_USER, |
+ POLICY_SOURCE_CLOUD, |
new base::FundamentalValue(false), |
NULL); |
handler_.ApplyPolicySettings(policy_, &prefs_); |