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

Side by Side Diff: chrome/browser/policy/proto/device_management_backend.proto

Issue 7200026: Switch test server to new-style "device gone" status code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | net/tools/testserver/device_management.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 syntax = "proto2"; 5 syntax = "proto2";
6 6
7 option optimize_for = LITE_RUNTIME; 7 option optimize_for = LITE_RUNTIME;
8 8
9 package enterprise_management; 9 package enterprise_management;
10 10
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 // Response from server to device. 244 // Response from server to device.
245 // 245 //
246 // The server uses the following numbers as HTTP status codes 246 // The server uses the following numbers as HTTP status codes
247 // to report top-level errors. 247 // to report top-level errors.
248 // 248 //
249 // 200 OK: valid response is returned to client. 249 // 200 OK: valid response is returned to client.
250 // 400 Bad Request: invalid argument. 250 // 400 Bad Request: invalid argument.
251 // 401 Unauthorized: invalid auth cookie or DM token. 251 // 401 Unauthorized: invalid auth cookie or DM token.
252 // 403 Forbidden: device management is not allowed. 252 // 403 Forbidden: device management is not allowed.
253 // 404 Not Found: the request URL is invalid. 253 // 404 Not Found: the request URL is invalid.
254 // 410 Gone: device is unknown to the server.
254 // 491 Request Pending: the request is pending approval. 255 // 491 Request Pending: the request is pending approval.
255 // 500 Internal Server Error: most likely a bug in DM server. 256 // 500 Internal Server Error: most likely a bug in DM server.
256 // 503 Service Unavailable: most likely a backend error. 257 // 503 Service Unavailable: most likely a backend error.
257 // 901 Device Not Found: the device id is not found. 258 // 901 Device Not Found: the device id is not found.
258 // 902 Policy Not Found: the policy is not found. 259 // 902 Policy Not Found: the policy is not found.
259 message DeviceManagementResponse { 260 message DeviceManagementResponse {
260 // Error message. 261 // Error message.
261 optional string error_message = 2; 262 optional string error_message = 2;
262 263
263 // Register response 264 // Register response
264 optional DeviceRegisterResponse register_response = 3; 265 optional DeviceRegisterResponse register_response = 3;
265 266
266 // Unregister response 267 // Unregister response
267 optional DeviceUnregisterResponse unregister_response = 4; 268 optional DeviceUnregisterResponse unregister_response = 4;
268 269
269 // Policy response. 270 // Policy response.
270 optional DevicePolicyResponse policy_response = 5; 271 optional DevicePolicyResponse policy_response = 5;
271 } 272 }
OLDNEW
« no previous file with comments | « no previous file | net/tools/testserver/device_management.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698