| 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_LOCAL_DISCOVERY_PRIVET_CONSTANTS_H_ | 5 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_CONSTANTS_H_ |
| 6 #define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_CONSTANTS_H_ | 6 #define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_CONSTANTS_H_ |
| 7 | 7 |
| 8 namespace local_discovery { | 8 namespace local_discovery { |
| 9 | 9 |
| 10 extern const char kPrivetKeyError[]; | 10 extern const char kPrivetKeyError[]; |
| 11 extern const char kPrivetInfoKeyToken[]; | 11 extern const char kPrivetInfoKeyToken[]; |
| 12 extern const char kPrivetInfoKeyAPIList[]; | 12 extern const char kPrivetInfoKeyAPIList[]; |
| 13 extern const char kPrivetInfoKeyID[]; | 13 extern const char kPrivetInfoKeyID[]; |
| 14 extern const char kPrivetKeyDeviceID[]; | 14 extern const char kPrivetKeyDeviceID[]; |
| 15 extern const char kPrivetKeyClaimURL[]; | 15 extern const char kPrivetKeyClaimURL[]; |
| 16 extern const char kPrivetKeyClaimToken[]; | 16 extern const char kPrivetKeyClaimToken[]; |
| 17 extern const char kPrivetKeyTimeout[]; | 17 extern const char kPrivetKeyTimeout[]; |
| 18 | 18 |
| 19 extern const char kPrivetActionNameInfo[]; | 19 extern const char kPrivetActionNameInfo[]; |
| 20 | 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 |
| 21 extern const char kPrivetErrorDeviceBusy[]; | 27 extern const char kPrivetErrorDeviceBusy[]; |
| 22 extern const char kPrivetErrorPendingUserAction[]; | 28 extern const char kPrivetErrorPendingUserAction[]; |
| 23 extern const char kPrivetErrorInvalidXPrivetToken[]; | 29 extern const char kPrivetErrorInvalidXPrivetToken[]; |
| 24 extern const char kPrivetErrorTimeout[]; | 30 extern const char kPrivetErrorTimeout[]; |
| 25 extern const char kPrivetErrorCancel[]; | 31 extern const char kPrivetErrorCancel[]; |
| 26 | 32 |
| 27 extern const char kPrivetActionStart[]; | 33 extern const char kPrivetActionStart[]; |
| 28 extern const char kPrivetActionGetClaimToken[]; | 34 extern const char kPrivetActionGetClaimToken[]; |
| 29 extern const char kPrivetActionComplete[]; | 35 extern const char kPrivetActionComplete[]; |
| 30 extern const char kPrivetActionCancel[]; | 36 extern const char kPrivetActionCancel[]; |
| 31 | 37 |
| 32 extern const char kPrivetDefaultDeviceType[]; | 38 extern const char kPrivetDefaultDeviceType[]; |
| 33 extern const char kPrivetSubtypeTemplate[]; | 39 extern const char kPrivetSubtypeTemplate[]; |
| 40 extern const char kPrivetSubtypePrinter[]; |
| 34 | 41 |
| 35 const double kPrivetMaximumTimeScaling = 1.2; | 42 const double kPrivetMaximumTimeScaling = 1.2; |
| 36 | 43 |
| 37 extern const char kPrivetTxtKeyName[]; | 44 extern const char kPrivetTxtKeyName[]; |
| 38 extern const char kPrivetTxtKeyDescription[]; | 45 extern const char kPrivetTxtKeyDescription[]; |
| 39 extern const char kPrivetTxtKeyURL[]; | 46 extern const char kPrivetTxtKeyURL[]; |
| 40 extern const char kPrivetTxtKeyType[]; | 47 extern const char kPrivetTxtKeyType[]; |
| 41 extern const char kPrivetTxtKeyID[]; | 48 extern const char kPrivetTxtKeyID[]; |
| 42 extern const char kPrivetTxtKeyConnectionState[]; | 49 extern const char kPrivetTxtKeyConnectionState[]; |
| 43 | 50 |
| 44 extern const char kPrivetConnectionStatusOnline[]; | 51 extern const char kPrivetConnectionStatusOnline[]; |
| 45 extern const char kPrivetConnectionStatusOffline[]; | 52 extern const char kPrivetConnectionStatusOffline[]; |
| 46 extern const char kPrivetConnectionStatusConnecting[]; | 53 extern const char kPrivetConnectionStatusConnecting[]; |
| 47 extern const char kPrivetConnectionStatusNotConfigured[]; | 54 extern const char kPrivetConnectionStatusNotConfigured[]; |
| 48 | 55 |
| 49 const int kPrivetDefaultTimeout = 15; | 56 const int kPrivetDefaultTimeout = 15; |
| 50 | 57 |
| 51 const double kPrivetMaximumTimeRandomAddition = 0.2; | 58 const double kPrivetMaximumTimeRandomAddition = 0.2; |
| 52 | 59 |
| 53 const int kAccountIndexUseOAuth2 = -1; | 60 const int kAccountIndexUseOAuth2 = -1; |
| 54 | 61 |
| 55 } // namespace local_discovery | 62 } // namespace local_discovery |
| 56 | 63 |
| 57 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_CONSTANTS_H_ | 64 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_CONSTANTS_H_ |
| OLD | NEW |