Index: components/policy/core/common/cloud/mock_cloud_policy_client.h |
diff --git a/components/policy/core/common/cloud/mock_cloud_policy_client.h b/components/policy/core/common/cloud/mock_cloud_policy_client.h |
index 3d4b2bba57b02816484e266e7bb02d1110d10a42..4e6db4bc9253250d81fa5a3551b8452ef714aea0 100644 |
--- a/components/policy/core/common/cloud/mock_cloud_policy_client.h |
+++ b/components/policy/core/common/cloud/mock_cloud_policy_client.h |
@@ -9,7 +9,6 @@ |
#include "base/basictypes.h" |
#include "components/policy/core/common/cloud/cloud_policy_client.h" |
-#include "components/policy/core/common/cloud/cloud_policy_constants.h" |
#include "testing/gmock/include/gmock/gmock.h" |
namespace policy { |
@@ -33,7 +32,8 @@ class MockCloudPolicyClient : public CloudPolicyClient { |
void SetDMToken(const std::string& token); |
// Injects policy. |
- void SetPolicy(const PolicyNamespaceKey& policy_ns_key, |
+ void SetPolicy(const std::string& policy_type, |
+ const std::string& settings_entity_id, |
const enterprise_management::PolicyFetchResponse& policy); |
// Sets the status field. |
@@ -50,7 +50,7 @@ class MockCloudPolicyClient : public CloudPolicyClient { |
using CloudPolicyClient::last_policy_timestamp_; |
using CloudPolicyClient::public_key_version_; |
using CloudPolicyClient::public_key_version_valid_; |
- using CloudPolicyClient::namespaces_to_fetch_; |
+ using CloudPolicyClient::types_to_fetch_; |
using CloudPolicyClient::invalidation_version_; |
using CloudPolicyClient::invalidation_payload_; |
using CloudPolicyClient::fetched_invalidation_version_; |