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 0896dfaa3515b0d4bffcdcdf346039b5b08bb131..bd9a8d12c05e4d9f3325479099a5e63825b6eae3 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,7 +11,6 @@ |
#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" |
@@ -105,7 +104,7 @@ |
policy::PolicyMap policy; |
policy.Set(policy::key::kExtensionInstallForcelist, |
policy::POLICY_LEVEL_MANDATORY, policy::POLICY_SCOPE_MACHINE, |
- policy::POLICY_SOURCE_CLOUD, forcelist.release(), nullptr); |
+ forcelist.release(), NULL); |
// Set the policy and wait until the extension is installed. |
extensions::TestExtensionRegistryObserver observer( |