Index: chrome/browser/extensions/api/enterprise_device_attributes/enterprise_device_attributes_apitest.cc |
diff --git a/chrome/browser/extensions/api/enterprise_device_attributes/enterprise_device_attributes_apitest.cc b/chrome/browser/extensions/api/enterprise_device_attributes/enterprise_device_attributes_apitest.cc |
index bd9a8d12c05e4d9f3325479099a5e63825b6eae3..0896dfaa3515b0d4bffcdcdf346039b5b08bb131 100644 |
--- a/chrome/browser/extensions/api/enterprise_device_attributes/enterprise_device_attributes_apitest.cc |
+++ b/chrome/browser/extensions/api/enterprise_device_attributes/enterprise_device_attributes_apitest.cc |
@@ -11,6 +11,7 @@ |
#include "chromeos/dbus/fake_session_manager_client.h" |
#include "chromeos/login/user_names.h" |
#include "components/policy/core/common/mock_configuration_policy_provider.h" |
+#include "components/policy/core/common/policy_types.h" |
#include "content/public/browser/notification_service.h" |
#include "content/public/test/test_utils.h" |
#include "extensions/browser/api_test_utils.h" |
@@ -104,7 +105,7 @@ class EnterpriseDeviceAttributesTest : public ExtensionApiTest { |
policy::PolicyMap policy; |
policy.Set(policy::key::kExtensionInstallForcelist, |
policy::POLICY_LEVEL_MANDATORY, policy::POLICY_SCOPE_MACHINE, |
- forcelist.release(), NULL); |
+ policy::POLICY_SOURCE_CLOUD, forcelist.release(), nullptr); |
// Set the policy and wait until the extension is installed. |
extensions::TestExtensionRegistryObserver observer( |