OLD | NEW |
(Empty) | |
| 1 // Copyright 2012 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_COMMON_CLOUD_PRINT_CLOUD_PRINT_CONSTANTS_H_ |
| 6 #define CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CONSTANTS_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 |
| 10 namespace cloud_print { |
| 11 |
| 12 // The string to be appended to the user-agent for cloudprint requests. |
| 13 extern const char kCloudPrintUserAgent[]; |
| 14 // The proxy header required by cloud print server. |
| 15 extern const char kChromeCloudPrintProxyHeader[]; |
| 16 // The service id of cloud print used in gaia authentication. |
| 17 extern const char kCloudPrintGaiaServiceId[]; |
| 18 // The user agent string used in gaia authentication. |
| 19 extern const char kProxyAuthUserAgent[]; |
| 20 // The source of cloud print notifications. |
| 21 extern const char kCloudPrintPushNotificationsSource[]; |
| 22 |
| 23 // Values in parameters when updating or registering a printer at cloud print |
| 24 // server. |
| 25 extern const char kProxyIdValue[]; |
| 26 extern const char kPrinterNameValue[]; |
| 27 extern const char kPrinterDescValue[]; |
| 28 extern const char kPrinterCapsValue[]; |
| 29 extern const char kPrinterDefaultsValue[]; |
| 30 extern const char kPrinterStatusValue[]; |
| 31 extern const char kPrinterTagValue[]; |
| 32 extern const char kPrinterRemoveTagValue[]; |
| 33 extern const char kMessageTextValue[]; |
| 34 |
| 35 // Value of "code" parameter in cloud print "/message" requests. |
| 36 extern const char kPrintSystemFailedMessageId[]; |
| 37 extern const char kGetPrinterCapsFailedMessageId[]; |
| 38 extern const char kEnumPrintersFailedMessageId[]; |
| 39 extern const char kZombiePrinterMessageId[]; |
| 40 |
| 41 // Values in the respone JSON from the cloud print server. |
| 42 extern const char kSuccessValue[]; |
| 43 extern const char kNameValue[]; |
| 44 extern const char kIdValue[]; |
| 45 extern const char kTicketUrlValue[]; |
| 46 extern const char kFileUrlValue[]; |
| 47 extern const char kPrinterListValue[]; |
| 48 extern const char kJobListValue[]; |
| 49 extern const char kTitleValue[]; |
| 50 extern const char kPrinterCapsHashValue[]; |
| 51 extern const char kTagsValue[]; |
| 52 extern const char kXMPPJidValue[]; |
| 53 extern const char kOAuthCodeValue[]; |
| 54 extern const char kCreateTimeValue[]; |
| 55 extern const char kPrinterTypeValue[]; |
| 56 |
| 57 // Printer tag names. Don't need prefixes. They will be added on submit. |
| 58 extern const char kChromeVersionTagName[]; |
| 59 extern const char kSystemNameTagName[]; |
| 60 extern const char kSystemVersionTagName[]; |
| 61 |
| 62 } // namespace cloud_print |
| 63 |
| 64 #endif // CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CONSTANTS_H_ |
| 65 |
OLD | NEW |