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

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

Issue 1276853003: Revert of Send GCM id to DMServer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« 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/proto/device_management_backend.proto
diff --git a/components/policy/proto/device_management_backend.proto b/components/policy/proto/device_management_backend.proto
index cd5e9b08bce5f140ab35da336fffa876f8cff316..7756f2390ab6661fc6272cfd0cb752976c0d9000 100644
--- a/components/policy/proto/device_management_backend.proto
+++ b/components/policy/proto/device_management_backend.proto
@@ -1021,15 +1021,6 @@
optional ResultType result = 1;
}
-// Sent by the client to server to update the mapping from GCM id to device_id
-// on the server side.
-message GcmIdUpdateRequest {
- optional string gcm_id = 1;
-}
-
-// Response for GcmIdUpdateRequest, an empty message for now.
-message GcmIdUpdateResponse {}
-
// 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:
@@ -1052,7 +1043,6 @@
// * remote_commands
// * attribute_update_permission
// * attribute_update
-// * gcm_id_update
//
// * devicetype: MUST BE "1" for Android or "2" for Chrome OS.
// * apptype: MUST BE Android or Chrome.
@@ -1062,8 +1052,7 @@
// * For register and ping requests
// Authorization: GoogleLogin auth=<auth cookie for Mobile Sync>
//
-// * For unregister, policy, status, cert_upload, remote commands requests,
-// and gcm id update requests
+// * For unregister, policy, status, cert_upload and remote commands requests
// Authorization: GoogleDMToken token=<dm token from register>
//
// * The Authorization header isn't used for enterprise_check
@@ -1086,7 +1075,6 @@
// remote_commands: remote_command_request
// attribute_update_permission: device_attribute_update_permission_request
// attribute_update: device_attribute_update_request
-// gcm_id_update: gcm_id_update_request
//
message DeviceManagementRequest {
// Register request.
@@ -1133,9 +1121,6 @@
// Update device attribute.
optional DeviceAttributeUpdateRequest device_attribute_update_request
= 15;
-
- // Update the GCM id to device_id mapping.
- optional GcmIdUpdateRequest gcm_id_update_request = 16;
}
// Response from server to device.
@@ -1200,7 +1185,4 @@
// Response to update device attribute.
optional DeviceAttributeUpdateResponse device_attribute_update_response = 16;
-
- // Response to GCM id update request.
- optional GcmIdUpdateResponse gcm_id_update_response = 17;
-}
+}
« 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