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

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

Issue 845313008: Refactored device status uploading out of policy fetch infrastructure. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review feedback. Created 5 years, 11 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/device_management_service.cc ('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.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 651e8f1a535f1ee015b2b1554e714e7c1c8001c9..14aaaaed5b062cb207204743022ec128338a3936 100644
--- a/components/policy/core/common/cloud/mock_cloud_policy_client.h
+++ b/components/policy/core/common/cloud/mock_cloud_policy_client.h
@@ -30,6 +30,10 @@ class MockCloudPolicyClient : public CloudPolicyClient {
MOCK_METHOD0(Unregister, void(void));
MOCK_METHOD2(UploadCertificate,
void(const std::string&, const StatusCallback&));
+ MOCK_METHOD3(UploadDeviceStatus,
+ void(const enterprise_management::DeviceStatusReportRequest*,
+ const enterprise_management::SessionStatusReportRequest*,
+ const StatusCallback&));
// Sets the DMToken.
void SetDMToken(const std::string& token);
« no previous file with comments | « components/policy/core/common/cloud/device_management_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698