| 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 { |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 // Values in the respone JSON from the cloud print server. | 44 // Values in the respone JSON from the cloud print server. |
| 45 extern const char kSuccessValue[]; | 45 extern const char kSuccessValue[]; |
| 46 extern const char kNameValue[]; | 46 extern const char kNameValue[]; |
| 47 extern const char kDisplayNameValue[]; | 47 extern const char kDisplayNameValue[]; |
| 48 extern const char kIdValue[]; | 48 extern const char kIdValue[]; |
| 49 extern const char kTicketUrlValue[]; | 49 extern const char kTicketUrlValue[]; |
| 50 extern const char kFileUrlValue[]; | 50 extern const char kFileUrlValue[]; |
| 51 extern const char kPrinterListValue[]; | 51 extern const char kPrinterListValue[]; |
| 52 extern const char kJobListValue[]; | 52 extern const char kJobListValue[]; |
| 53 extern const char kTitleValue[]; | 53 extern const char kTitleValue[]; |
| 54 extern const char kOwnerValue[]; |
| 54 extern const char kPrinterCapsHashValue[]; | 55 extern const char kPrinterCapsHashValue[]; |
| 55 extern const char kTagsValue[]; | 56 extern const char kTagsValue[]; |
| 56 extern const char kXMPPJidValue[]; | 57 extern const char kXMPPJidValue[]; |
| 57 extern const char kOAuthCodeValue[]; | 58 extern const char kOAuthCodeValue[]; |
| 58 extern const char kCreateTimeValue[]; | 59 extern const char kCreateTimeValue[]; |
| 59 extern const char kPrinterTypeValue[]; | 60 extern const char kPrinterTypeValue[]; |
| 60 extern const char kUserValue[]; | 61 extern const char kUserValue[]; |
| 61 extern const char kUsersValue[]; | 62 extern const char kUsersValue[]; |
| 62 extern const char kLocalSettingsPendingXmppValue[]; | 63 extern const char kLocalSettingsPendingXmppValue[]; |
| 63 | 64 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 // fails due to network errors | 127 // fails due to network errors |
| 127 const int kJobFirstWaitTimeSecs = 1; | 128 const int kJobFirstWaitTimeSecs = 1; |
| 128 | 129 |
| 129 // The multiplier for the wait time for retrying a job that fails due to | 130 // The multiplier for the wait time for retrying a job that fails due to |
| 130 // network errors | 131 // network errors |
| 131 const int kJobWaitTimeExponentialMultiplier = 2; | 132 const int kJobWaitTimeExponentialMultiplier = 2; |
| 132 | 133 |
| 133 } // namespace cloud_print | 134 } // namespace cloud_print |
| 134 | 135 |
| 135 #endif // CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CONSTANTS_H_ | 136 #endif // CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CONSTANTS_H_ |
| OLD | NEW |