Index: cloud_print/gcp20/prototype/privet_http_server.cc |
diff --git a/cloud_print/gcp20/prototype/privet_http_server.cc b/cloud_print/gcp20/prototype/privet_http_server.cc |
index 0a210591ddbb5b205a7ddc5e1ffec6ff41c92fca..45e633dd4b7f76d8f6c8263a2d30e57c0dae9e3d 100644 |
--- a/cloud_print/gcp20/prototype/privet_http_server.cc |
+++ b/cloud_print/gcp20/prototype/privet_http_server.cc |
@@ -315,6 +315,10 @@ void PrivetHttpServer::ProcessRegistrationStatus( |
case REG_ERROR_INVALID_ACTION: |
*current_response = CreateError("invalid_action"); |
break; |
+ case REG_ERROR_OFFLINE: |
+ *current_response = CreateError("offline"); |
+ break; |
+ |
case REG_ERROR_SERVER_ERROR: { |
std::string description; |
delegate_->GetRegistrationServerError(&description); |