| 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 #ifndef CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_CONSTANTS_H_ | 5 #ifndef CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_CONSTANTS_H_ |
| 6 #define CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_CONSTANTS_H_ | 6 #define CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_CONSTANTS_H_ |
| 7 | 7 |
| 8 namespace cloud_print { | 8 namespace cloud_print { |
| 9 | 9 |
| 10 extern const char kPrivetKeyError[]; | 10 extern const char kPrivetKeyError[]; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 extern const char kPrivetErrorDeviceBusy[]; | 27 extern const char kPrivetErrorDeviceBusy[]; |
| 28 extern const char kPrivetErrorPrinterBusy[]; | 28 extern const char kPrivetErrorPrinterBusy[]; |
| 29 extern const char kPrivetErrorInvalidPrintJob[]; | 29 extern const char kPrivetErrorInvalidPrintJob[]; |
| 30 extern const char kPrivetErrorInvalidDocumentType[]; | 30 extern const char kPrivetErrorInvalidDocumentType[]; |
| 31 extern const char kPrivetErrorPendingUserAction[]; | 31 extern const char kPrivetErrorPendingUserAction[]; |
| 32 extern const char kPrivetErrorInvalidXPrivetToken[]; | 32 extern const char kPrivetErrorInvalidXPrivetToken[]; |
| 33 extern const char kPrivetErrorTimeout[]; | 33 extern const char kPrivetErrorTimeout[]; |
| 34 extern const char kPrivetErrorCancel[]; | 34 extern const char kPrivetErrorCancel[]; |
| 35 | 35 |
| 36 extern const char kPrivetV3ErrorDeviceBusy[]; | |
| 37 extern const char kPrivetV3ErrorInvalidParams[]; | |
| 38 extern const char kPrivetV3ErrorSetupUnavailable[]; | |
| 39 | |
| 40 extern const char kPrivetActionStart[]; | 36 extern const char kPrivetActionStart[]; |
| 41 extern const char kPrivetActionGetClaimToken[]; | 37 extern const char kPrivetActionGetClaimToken[]; |
| 42 extern const char kPrivetActionComplete[]; | 38 extern const char kPrivetActionComplete[]; |
| 43 extern const char kPrivetActionCancel[]; | 39 extern const char kPrivetActionCancel[]; |
| 44 | 40 |
| 45 extern const char kPrivetDefaultDeviceType[]; | 41 extern const char kPrivetDefaultDeviceType[]; |
| 46 | 42 |
| 47 extern const char kPrivetTypePrinter[]; | 43 extern const char kPrivetTypePrinter[]; |
| 48 | 44 |
| 49 extern const char kPrivetTxtKeyName[]; | 45 extern const char kPrivetTxtKeyName[]; |
| 50 extern const char kPrivetTxtKeyDescription[]; | 46 extern const char kPrivetTxtKeyDescription[]; |
| 51 extern const char kPrivetTxtKeyVersion[]; | 47 extern const char kPrivetTxtKeyVersion[]; |
| 52 extern const char kPrivetTxtKeyType[]; | 48 extern const char kPrivetTxtKeyType[]; |
| 53 extern const char kPrivetTxtKeyID[]; | 49 extern const char kPrivetTxtKeyID[]; |
| 54 extern const char kPrivetTxtKeyGcdID[]; | 50 extern const char kPrivetTxtKeyGcdID[]; |
| 55 extern const char kPrivetTxtKeyDevicesClass[]; | 51 extern const char kPrivetTxtKeyDevicesClass[]; |
| 56 | 52 |
| 57 const int kPrivetDefaultTimeout = 15; | 53 const int kPrivetDefaultTimeout = 15; |
| 58 | 54 |
| 59 const double kPrivetMaximumTimeRandomAddition = 0.2; | 55 const double kPrivetMaximumTimeRandomAddition = 0.2; |
| 60 | 56 |
| 61 const int kPrivetMinimumTimeout = 2; | 57 const int kPrivetMinimumTimeout = 2; |
| 62 | 58 |
| 63 } // namespace cloud_print | 59 } // namespace cloud_print |
| 64 | 60 |
| 65 #endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_CONSTANTS_H_ | 61 #endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_CONSTANTS_H_ |
| OLD | NEW |