| Index: chrome/browser/policy/device_management_service.cc
|
| diff --git a/chrome/browser/policy/device_management_service.cc b/chrome/browser/policy/device_management_service.cc
|
| index 8db4b16a658b870fe3b51b5286a189f78575a663..18aca46b5bd441c6be2da9f2b44efc2de052ad10 100644
|
| --- a/chrome/browser/policy/device_management_service.cc
|
| +++ b/chrome/browser/policy/device_management_service.cc
|
| @@ -57,6 +57,7 @@ const char kDMTokenAuthHeader[] = "Authorization: GoogleDMToken token=";
|
| const int kSuccess = 200;
|
| const int kInvalidArgument = 400;
|
| const int kInvalidAuthCookieOrDMToken = 401;
|
| +const int kMissingLicenses = 402;
|
| const int kDeviceManagementNotAllowed = 403;
|
| const int kInvalidURL = 404; // This error is not coming from the GFE.
|
| const int kInvalidSerialNumber = 405;
|
| @@ -338,6 +339,9 @@ void DeviceManagementRequestJobImpl::HandleResponse(
|
| case kInvalidAuthCookieOrDMToken:
|
| ReportError(DM_STATUS_SERVICE_MANAGEMENT_TOKEN_INVALID);
|
| return;
|
| + case kMissingLicenses:
|
| + ReportError(DM_STATUS_MISSING_LICENSES);
|
| + return;
|
| case kDeviceManagementNotAllowed:
|
| ReportError(DM_STATUS_SERVICE_MANAGEMENT_NOT_SUPPORTED);
|
| return;
|
|
|