| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_CONSTANTS_H_ | |
| 6 #define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_CONSTANTS_H_ | |
| 7 | |
| 8 namespace local_discovery { | |
| 9 | |
| 10 extern const char kPrivetKeyError[]; | |
| 11 extern const char kPrivetInfoKeyToken[]; | |
| 12 extern const char kPrivetInfoKeyAPIList[]; | |
| 13 extern const char kPrivetInfoKeyID[]; | |
| 14 extern const char kPrivetKeyDeviceID[]; | |
| 15 extern const char kPrivetKeyClaimURL[]; | |
| 16 extern const char kPrivetKeyClaimToken[]; | |
| 17 extern const char kPrivetKeyTimeout[]; | |
| 18 | |
| 19 extern const char kPrivetActionNameInfo[]; | |
| 20 | |
| 21 extern const char kPrivetInfoPath[]; | |
| 22 extern const char kPrivetRegisterPath[]; | |
| 23 extern const char kPrivetCapabilitiesPath[]; | |
| 24 extern const char kPrivetSubmitdocPath[]; | |
| 25 extern const char kPrivetCreatejobPath[]; | |
| 26 | |
| 27 extern const char kPrivetErrorDeviceBusy[]; | |
| 28 extern const char kPrivetErrorPrinterBusy[]; | |
| 29 extern const char kPrivetErrorInvalidPrintJob[]; | |
| 30 extern const char kPrivetErrorInvalidDocumentType[]; | |
| 31 extern const char kPrivetErrorPendingUserAction[]; | |
| 32 extern const char kPrivetErrorInvalidXPrivetToken[]; | |
| 33 extern const char kPrivetErrorTimeout[]; | |
| 34 extern const char kPrivetErrorCancel[]; | |
| 35 | |
| 36 extern const char kPrivetV3ErrorDeviceBusy[]; | |
| 37 extern const char kPrivetV3ErrorInvalidParams[]; | |
| 38 extern const char kPrivetV3ErrorSetupUnavailable[]; | |
| 39 | |
| 40 extern const char kPrivetActionStart[]; | |
| 41 extern const char kPrivetActionGetClaimToken[]; | |
| 42 extern const char kPrivetActionComplete[]; | |
| 43 extern const char kPrivetActionCancel[]; | |
| 44 | |
| 45 extern const char kPrivetDefaultDeviceType[]; | |
| 46 extern const char kPrivetSubtypeTemplate[]; | |
| 47 | |
| 48 extern const char kPrivetTypePrinter[]; | |
| 49 | |
| 50 const double kPrivetMaximumTimeScaling = 1.2; | |
| 51 | |
| 52 extern const char kPrivetTxtKeyName[]; | |
| 53 extern const char kPrivetTxtKeyDescription[]; | |
| 54 extern const char kPrivetTxtKeyURL[]; | |
| 55 extern const char kPrivetTxtKeyVersion[]; | |
| 56 extern const char kPrivetTxtKeyType[]; | |
| 57 extern const char kPrivetTxtKeyID[]; | |
| 58 extern const char kPrivetTxtKeyConnectionState[]; | |
| 59 extern const char kPrivetTxtKeyGcdID[]; | |
| 60 extern const char kPrivetTxtKeyDevicesClass[]; | |
| 61 | |
| 62 extern const char kPrivetConnectionStatusOnline[]; | |
| 63 extern const char kPrivetConnectionStatusOffline[]; | |
| 64 extern const char kPrivetConnectionStatusConnecting[]; | |
| 65 extern const char kPrivetConnectionStatusNotConfigured[]; | |
| 66 | |
| 67 const int kPrivetDefaultTimeout = 15; | |
| 68 | |
| 69 const double kPrivetMaximumTimeRandomAddition = 0.2; | |
| 70 | |
| 71 const int kPrivetMinimumTimeout = 2; | |
| 72 | |
| 73 const int kAccountIndexUseOAuth2 = -1; | |
| 74 | |
| 75 } // namespace local_discovery | |
| 76 | |
| 77 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_CONSTANTS_H_ | |
| OLD | NEW |