Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(749)

Unified Diff: components/policy/core/common/cloud/mock_cloud_policy_client.cc

Issue 822523003: Implement device-local account policy pushing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@f_2_442800_switch_device_cloud_policy_invalidator
Patch Set: Rebased. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/policy/core/common/cloud/mock_cloud_policy_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/core/common/cloud/mock_cloud_policy_client.cc
diff --git a/components/policy/core/common/cloud/mock_cloud_policy_client.cc b/components/policy/core/common/cloud/mock_cloud_policy_client.cc
index 9a1b5a42b685cc6b5f61fad9bb491c271d7982ad..df3a2c1829c815ddf9e19988e763647a6713c6eb 100644
--- a/components/policy/core/common/cloud/mock_cloud_policy_client.cc
+++ b/components/policy/core/common/cloud/mock_cloud_policy_client.cc
@@ -35,6 +35,11 @@ void MockCloudPolicyClient::SetPolicy(const std::string& policy_type,
response = new enterprise_management::PolicyFetchResponse(policy);
}
+void MockCloudPolicyClient::SetFetchedInvalidationVersion(
+ int64_t fetched_invalidation_version) {
+ fetched_invalidation_version_ = fetched_invalidation_version;
+}
+
void MockCloudPolicyClient::SetStatus(DeviceManagementStatus status) {
status_ = status;
}
« no previous file with comments | « components/policy/core/common/cloud/mock_cloud_policy_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698