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

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

Issue 1258313002: Send GCM id to DMServer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: adopt upstream protobuf changes Created 5 years, 4 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
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 a59a6a34933b578feeb94f0ec432bbc43aa20737..c9e2ee24dfff4e8e929ef46ef85e0fd3e9b006ec 100644
--- a/components/policy/core/common/cloud/mock_cloud_policy_client.h
+++ b/components/policy/core/common/cloud/mock_cloud_policy_client.h
@@ -34,6 +34,8 @@ class MockCloudPolicyClient : public CloudPolicyClient {
void(const enterprise_management::DeviceStatusReportRequest*,
const enterprise_management::SessionStatusReportRequest*,
const StatusCallback&));
+ MOCK_METHOD2(UpdateGcmId, void(const std::string&, const StatusCallback&));
+
// Sets the DMToken.
void SetDMToken(const std::string& token);

Powered by Google App Engine
This is Rietveld 408576698