| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 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 | 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_COMMON_CLOUD_PRINT_CLOUD_PRINT_CONSTANTS_H_ | 5 #ifndef CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CONSTANTS_H_ |
| 6 #define CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CONSTANTS_H_ | 6 #define CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CONSTANTS_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 | 9 |
| 10 namespace cloud_print { | 10 namespace cloud_print { |
| 11 | 11 |
| 12 // The string to be appended to the user-agent for cloud print requests. | 12 // The string to be appended to the user-agent for cloud print requests. |
| 13 extern const char kCloudPrintUserAgent[]; | 13 extern const char kCloudPrintUserAgent[]; |
| 14 // The proxy header required by cloud print server. | 14 // The proxy header required by cloud print server. |
| 15 extern const char kChromeCloudPrintProxyHeader[]; | 15 extern const char kChromeCloudPrintProxyHeader[]; |
| 16 // The source of cloud print notifications. | 16 // The source of cloud print notifications. |
| 17 extern const char kCloudPrintPushNotificationsSource[]; | 17 extern const char kCloudPrintPushNotificationsSource[]; |
| 18 // The cloud print OAuth2 scope. |
| 19 extern const char kCloudPrintAuth[]; |
| 18 | 20 |
| 19 // Values used to register or update a printer with the cloud print service. | 21 // Values used to register or update a printer with the cloud print service. |
| 20 extern const char kProxyIdValue[]; | 22 extern const char kProxyIdValue[]; |
| 21 extern const char kPrinterNameValue[]; | 23 extern const char kPrinterNameValue[]; |
| 22 extern const char kPrinterDescValue[]; | 24 extern const char kPrinterDescValue[]; |
| 23 extern const char kPrinterCapsValue[]; | 25 extern const char kPrinterCapsValue[]; |
| 24 extern const char kPrinterDisplayNameValue[]; | 26 extern const char kPrinterDisplayNameValue[]; |
| 25 extern const char kPrinterDefaultsValue[]; | 27 extern const char kPrinterDefaultsValue[]; |
| 26 extern const char kPrinterStatusValue[]; | 28 extern const char kPrinterStatusValue[]; |
| 27 extern const char kPrinterTagValue[]; | 29 extern const char kPrinterTagValue[]; |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 // fails due to network errors | 110 // fails due to network errors |
| 109 const int kJobFirstWaitTimeSecs = 1; | 111 const int kJobFirstWaitTimeSecs = 1; |
| 110 | 112 |
| 111 // The multiplier for the wait time for retrying a job that fails due to | 113 // The multiplier for the wait time for retrying a job that fails due to |
| 112 // network errors | 114 // network errors |
| 113 const int kJobWaitTimeExponentialMultiplier = 2; | 115 const int kJobWaitTimeExponentialMultiplier = 2; |
| 114 | 116 |
| 115 } // namespace cloud_print | 117 } // namespace cloud_print |
| 116 | 118 |
| 117 #endif // CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CONSTANTS_H_ | 119 #endif // CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CONSTANTS_H_ |
| 118 | |
| OLD | NEW |