| 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" | |
| 9 | 8 |
| 10 namespace cloud_print { | 9 namespace cloud_print { |
| 11 | 10 |
| 12 // The string to be appended to the user-agent for cloud print requests. | 11 // The string to be appended to the user-agent for cloud print requests. |
| 13 extern const char kCloudPrintUserAgent[]; | 12 extern const char kCloudPrintUserAgent[]; |
| 14 // The proxy header required by cloud print server. | 13 // The proxy header required by cloud print server. |
| 15 extern const char kChromeCloudPrintProxyHeader[]; | 14 extern const char kChromeCloudPrintProxyHeader[]; |
| 16 // The source of cloud print notifications. | 15 // The source of cloud print notifications. |
| 17 extern const char kCloudPrintPushNotificationsSource[]; | 16 extern const char kCloudPrintPushNotificationsSource[]; |
| 18 | 17 |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 // fails due to network errors | 126 // fails due to network errors |
| 128 const int kJobFirstWaitTimeSecs = 1; | 127 const int kJobFirstWaitTimeSecs = 1; |
| 129 | 128 |
| 130 // The multiplier for the wait time for retrying a job that fails due to | 129 // The multiplier for the wait time for retrying a job that fails due to |
| 131 // network errors | 130 // network errors |
| 132 const int kJobWaitTimeExponentialMultiplier = 2; | 131 const int kJobWaitTimeExponentialMultiplier = 2; |
| 133 | 132 |
| 134 } // namespace cloud_print | 133 } // namespace cloud_print |
| 135 | 134 |
| 136 #endif // CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CONSTANTS_H_ | 135 #endif // CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CONSTANTS_H_ |
| OLD | NEW |