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

Unified Diff: components/policy/proto/device_management_backend.proto

Issue 1258313002: Send GCM id to DMServer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: protobuf change Created 5 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/proto/device_management_backend.proto
diff --git a/components/policy/proto/device_management_backend.proto b/components/policy/proto/device_management_backend.proto
index d196a4c015718ed46fd8adb57e5709bd2ecc31b8..f3bfde7410682cab6052977fc47f130610e7a4ca 100644
--- a/components/policy/proto/device_management_backend.proto
+++ b/components/policy/proto/device_management_backend.proto
@@ -998,6 +998,16 @@ message DeviceAttributeUpdateResponse {
optional ResultType result = 1;
}
+// Sent by the client to server to update the mapping from GCM id to DM token
+// on the server side.
+message GcmIdMappingRequest {
+ optional string gcm_id = 1;
+}
+
+// Response for GcmIdMappingRequest, an empty message for now.
+message GcmIdMappingResponse {
+}
+
// Request from the DMAgent on the device to the DMServer. This is
// container for all requests from device to server. The overall HTTP
// request MUST be in the following format:
@@ -1098,6 +1108,9 @@ message DeviceManagementRequest {
// Update device attribute.
optional DeviceAttributeUpdateRequest device_attribute_update_request
= 15;
+
+ // Update the GCM id to DM token mapping.
+ optional GcmIdMappingRequest gcm_id_mapping_request = 16;
}
// Response from server to device.
@@ -1162,4 +1175,7 @@ message DeviceManagementResponse {
// Response to update device attribute.
optional DeviceAttributeUpdateResponse device_attribute_update_response = 16;
+
+ // Response to GCM id mapping request.
+ optional GcmIdMappingResponse gcm_id_mapping_response = 17;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698