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

Unified Diff: chrome/browser/policy/device_management_backend_impl.cc

Issue 6880031: Merge server-side changes of the cloud policy protocol (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years, 8 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 | chrome/browser/policy/device_management_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « no previous file | chrome/browser/policy/device_management_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698