Index: chrome/browser/extensions/api/storage/settings_apitest.cc |
diff --git a/chrome/browser/extensions/api/storage/settings_apitest.cc b/chrome/browser/extensions/api/storage/settings_apitest.cc |
index 50f03832c4738db1228ec127532e75d1472e0f2b..9ac951ee189cd1dc183d8342c8d7527e8906bb59 100644 |
--- a/chrome/browser/extensions/api/storage/settings_apitest.cc |
+++ b/chrome/browser/extensions/api/storage/settings_apitest.cc |
@@ -35,6 +35,7 @@ |
#include "components/policy/core/common/policy_bundle.h" |
#include "components/policy/core/common/policy_map.h" |
#include "components/policy/core/common/policy_namespace.h" |
+#include "components/policy/core/common/policy_types.h" |
#include "components/policy/core/common/schema.h" |
#include "components/policy/core/common/schema_map.h" |
#include "components/policy/core/common/schema_registry.h" |
@@ -134,8 +135,8 @@ class ExtensionSettingsApiTest : public ExtensionApiTest { |
scoped_ptr<policy::PolicyBundle> bundle(new policy::PolicyBundle()); |
policy::PolicyMap& policy_map = bundle->Get(policy::PolicyNamespace( |
policy::POLICY_DOMAIN_EXTENSIONS, kManagedStorageExtensionId)); |
- policy_map.LoadFrom( |
- &policies, policy::POLICY_LEVEL_MANDATORY, policy::POLICY_SCOPE_USER); |
+ policy_map.LoadFrom(&policies, policy::POLICY_LEVEL_MANDATORY, |
+ policy::POLICY_SCOPE_USER, policy::POLICY_SOURCE_CLOUD); |
policy_provider_.UpdatePolicy(bundle.Pass()); |
} |
#endif |