| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/printing/cloud_print/privet_constants.h" | 5 #include "chrome/browser/printing/cloud_print/privet_constants.h" |
| 6 | 6 |
| 7 namespace cloud_print { | 7 namespace cloud_print { |
| 8 | 8 |
| 9 const char kPrivetKeyError[] = "error"; | 9 const char kPrivetKeyError[] = "error"; |
| 10 const char kPrivetInfoKeyToken[] = "x-privet-token"; | 10 const char kPrivetInfoKeyToken[] = "x-privet-token"; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 const char kPrivetErrorDeviceBusy[] = "device_busy"; | 26 const char kPrivetErrorDeviceBusy[] = "device_busy"; |
| 27 const char kPrivetErrorPrinterBusy[] = "printer_busy"; | 27 const char kPrivetErrorPrinterBusy[] = "printer_busy"; |
| 28 const char kPrivetErrorInvalidPrintJob[] = "invalid_print_job"; | 28 const char kPrivetErrorInvalidPrintJob[] = "invalid_print_job"; |
| 29 const char kPrivetErrorInvalidDocumentType[] = "invalid_document_type"; | 29 const char kPrivetErrorInvalidDocumentType[] = "invalid_document_type"; |
| 30 const char kPrivetErrorPendingUserAction[] = "pending_user_action"; | 30 const char kPrivetErrorPendingUserAction[] = "pending_user_action"; |
| 31 const char kPrivetErrorInvalidXPrivetToken[] = "invalid_x_privet_token"; | 31 const char kPrivetErrorInvalidXPrivetToken[] = "invalid_x_privet_token"; |
| 32 const char kPrivetErrorTimeout[] = "confirmation_timeout"; | 32 const char kPrivetErrorTimeout[] = "confirmation_timeout"; |
| 33 const char kPrivetErrorCancel[] = "user_cancel"; | 33 const char kPrivetErrorCancel[] = "user_cancel"; |
| 34 | 34 |
| 35 const char kPrivetV3ErrorDeviceBusy[] = "deviceBusy"; | |
| 36 const char kPrivetV3ErrorInvalidParams[] = "invalidParams"; | |
| 37 const char kPrivetV3ErrorSetupUnavailable[] = "setupUnavailable"; | |
| 38 | |
| 39 const char kPrivetActionStart[] = "start"; | 35 const char kPrivetActionStart[] = "start"; |
| 40 const char kPrivetActionGetClaimToken[] = "getClaimToken"; | 36 const char kPrivetActionGetClaimToken[] = "getClaimToken"; |
| 41 const char kPrivetActionComplete[] = "complete"; | 37 const char kPrivetActionComplete[] = "complete"; |
| 42 const char kPrivetActionCancel[] = "cancel"; | 38 const char kPrivetActionCancel[] = "cancel"; |
| 43 | 39 |
| 44 const char kPrivetDefaultDeviceType[] = "_privet._tcp.local"; | 40 const char kPrivetDefaultDeviceType[] = "_privet._tcp.local"; |
| 45 | 41 |
| 46 const char kPrivetTypePrinter[] = "printer"; | 42 const char kPrivetTypePrinter[] = "printer"; |
| 47 | 43 |
| 48 const char kPrivetTxtKeyName[] = "ty"; | 44 const char kPrivetTxtKeyName[] = "ty"; |
| 49 const char kPrivetTxtKeyDescription[] = "note"; | 45 const char kPrivetTxtKeyDescription[] = "note"; |
| 50 const char kPrivetTxtKeyVersion[] = "txtvers"; | 46 const char kPrivetTxtKeyVersion[] = "txtvers"; |
| 51 const char kPrivetTxtKeyType[] = "type"; | 47 const char kPrivetTxtKeyType[] = "type"; |
| 52 const char kPrivetTxtKeyID[] = "id"; | 48 const char kPrivetTxtKeyID[] = "id"; |
| 53 const char kPrivetTxtKeyGcdID[] = "gcd_id"; | 49 const char kPrivetTxtKeyGcdID[] = "gcd_id"; |
| 54 const char kPrivetTxtKeyDevicesClass[] = "class"; | 50 const char kPrivetTxtKeyDevicesClass[] = "class"; |
| 55 | 51 |
| 56 } // namespace cloud_print | 52 } // namespace cloud_print |
| OLD | NEW |