OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2010 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_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_ |
| 6 #define CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 |
| 10 // Constant defines used in the cloud print proxy code |
| 11 extern const char kProxyIdValue[]; |
| 12 extern const char kPrinterNameValue[]; |
| 13 extern const char kPrinterDescValue[]; |
| 14 extern const char kPrinterCapsValue[]; |
| 15 extern const char kPrinterDefaultsValue[]; |
| 16 extern const char kPrinterStatusValue[]; |
| 17 // Values in the respone JSON from the cloud print server |
| 18 extern const wchar_t kPrinterListValue[]; |
| 19 extern const wchar_t kSuccessValue[]; |
| 20 extern const wchar_t kNameValue[]; |
| 21 extern const wchar_t kIdValue[]; |
| 22 extern const wchar_t kTicketUrlValue[]; |
| 23 extern const wchar_t kFileUrlValue[]; |
| 24 extern const wchar_t kJobListValue[]; |
| 25 extern const wchar_t kTitleValue[]; |
| 26 extern const wchar_t kPrinterCapsHashValue[]; |
| 27 |
| 28 extern const char kCloudPrintServerUrl[]; |
| 29 |
| 30 // Max interval between retrying connection to the server |
| 31 const int64 kMaxRetryInterval = 5*60*1000; // 5 minutes in millseconds |
| 32 const int64 kBaseRetryInterval = 5*1000; // 5 seconds |
| 33 const int kMaxRetryCount = 5; |
| 34 const int64 kJobStatusUpdateInterval = 10*1000; // 10 seconds |
| 35 |
| 36 #endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_ |
| 37 |
OLD | NEW |