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

Unified Diff: net/tools/testserver/device_management.py

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/policy/proto/device_management_backend.proto ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/testserver/device_management.py
diff --git a/net/tools/testserver/device_management.py b/net/tools/testserver/device_management.py
index 4cf2bba74c4bb43bfa8278f9807260e36e203768..0526ed680751eac6d6f49d5eb0101b84d2c90467 100644
--- a/net/tools/testserver/device_management.py
+++ b/net/tools/testserver/device_management.py
@@ -533,7 +533,7 @@ class RequestHandler(object):
if (not token_info or
not request_device_id or
token_info['device_id'] != request_device_id):
- error = 901
+ error = 410
else:
return (token_info, None)
« no previous file with comments | « chrome/browser/policy/proto/device_management_backend.proto ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698