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

Side by Side Diff: chrome/browser/printing/cloud_print/cloud_print_consts.h

Issue 1566047: First cut of Cloud Print Proxy implementation. The code is not enabled for no... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Final review changes Created 10 years, 8 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/browser/printing/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')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(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
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/printing/cloud_print/cloud_print_consts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698