Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Side by Side Diff: chrome/service/cloud_print/cloud_print_consts.h

Issue 2232002: Added CUPS options to the printer information. Options get uploaded to the cl... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/service/cloud_print/cloud_print_consts.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 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_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_ 5 #ifndef CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_
6 #define CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_ 6 #define CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 // Constant defines used in the cloud print proxy code 10 // Constant defines used in the cloud print proxy code
11 extern const char kProxyIdValue[]; 11 extern const char kProxyIdValue[];
12 extern const char kPrinterNameValue[]; 12 extern const char kPrinterNameValue[];
13 extern const char kPrinterDescValue[]; 13 extern const char kPrinterDescValue[];
14 extern const char kPrinterCapsValue[]; 14 extern const char kPrinterCapsValue[];
15 extern const char kPrinterDefaultsValue[]; 15 extern const char kPrinterDefaultsValue[];
16 extern const char kPrinterStatusValue[]; 16 extern const char kPrinterStatusValue[];
17 extern const char kPrinterTagValue[];
17 // Values in the respone JSON from the cloud print server 18 // Values in the respone JSON from the cloud print server
18 extern const wchar_t kPrinterListValue[]; 19 extern const wchar_t kPrinterListValue[];
19 extern const wchar_t kSuccessValue[]; 20 extern const wchar_t kSuccessValue[];
20 extern const wchar_t kNameValue[]; 21 extern const wchar_t kNameValue[];
21 extern const wchar_t kIdValue[]; 22 extern const wchar_t kIdValue[];
22 extern const wchar_t kTicketUrlValue[]; 23 extern const wchar_t kTicketUrlValue[];
23 extern const wchar_t kFileUrlValue[]; 24 extern const wchar_t kFileUrlValue[];
24 extern const wchar_t kJobListValue[]; 25 extern const wchar_t kJobListValue[];
25 extern const wchar_t kTitleValue[]; 26 extern const wchar_t kTitleValue[];
26 extern const wchar_t kPrinterCapsHashValue[]; 27 extern const wchar_t kPrinterCapsHashValue[];
27 28
28 extern const char kDefaultCloudPrintServerUrl[]; 29 extern const char kDefaultCloudPrintServerUrl[];
29 extern const char kCloudPrintTalkServiceUrl[]; 30 extern const char kCloudPrintTalkServiceUrl[];
30 extern const char kGaiaUrl[]; 31 extern const char kGaiaUrl[];
31 extern const char kCloudPrintGaiaServiceId[]; 32 extern const char kCloudPrintGaiaServiceId[];
32 extern const char kSyncGaiaServiceId[]; 33 extern const char kSyncGaiaServiceId[];
33 34
34 // Max interval between retrying connection to the server 35 // Max interval between retrying connection to the server
35 const int64 kMaxRetryInterval = 5*60*1000; // 5 minutes in millseconds 36 const int64 kMaxRetryInterval = 5*60*1000; // 5 minutes in millseconds
36 const int64 kBaseRetryInterval = 5*1000; // 5 seconds 37 const int64 kBaseRetryInterval = 5*1000; // 5 seconds
37 const int kMaxRetryCount = 5; 38 const int kMaxRetryCount = 5;
38 const int64 kJobStatusUpdateInterval = 10*1000; // 10 seconds 39 const int64 kJobStatusUpdateInterval = 10*1000; // 10 seconds
39 40
40 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_ 41 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_
41 42
OLDNEW
« no previous file with comments | « no previous file | chrome/service/cloud_print/cloud_print_consts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698