Index: chrome/browser/policy/device_management_backend_impl.cc |
diff --git a/chrome/browser/policy/device_management_backend_impl.cc b/chrome/browser/policy/device_management_backend_impl.cc |
index 8eb1d959895512a470a34fa92d0107c1d603c584..5bb492233144daa18d6296a5f927d02bb260da52 100644 |
--- a/chrome/browser/policy/device_management_backend_impl.cc |
+++ b/chrome/browser/policy/device_management_backend_impl.cc |
@@ -208,11 +208,6 @@ void DeviceManagementJobBase::HandleResponse( |
OnError(DeviceManagementBackend::kErrorResponseDecoding); |
return; |
} |
- if (response.has_error() && |
- response.error() != em::DeviceManagementResponse_ErrorCode_SUCCESS) { |
- // TODO(pastarmovj): If we want to support legacy error codes in the |
- // protobuf this is the place to do so. |
- } |
OnResponse(response); |
return; |
} |