Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/printing/cloud_print/ » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/cloud_print/cloud_print_consts.h
--- chrome/browser/printing/cloud_print/cloud_print_consts.h (revision 0)
+++ chrome/browser/printing/cloud_print/cloud_print_consts.h (revision 0)
@@ -0,0 +1,37 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+#include "base/basictypes.h"
+// Constant defines used in the cloud print proxy code
+extern const char kProxyIdValue[];
+extern const char kPrinterNameValue[];
+extern const char kPrinterDescValue[];
+extern const char kPrinterCapsValue[];
+extern const char kPrinterDefaultsValue[];
+extern const char kPrinterStatusValue[];
+// Values in the respone JSON from the cloud print server
+extern const wchar_t kPrinterListValue[];
+extern const wchar_t kSuccessValue[];
+extern const wchar_t kNameValue[];
+extern const wchar_t kIdValue[];
+extern const wchar_t kTicketUrlValue[];
+extern const wchar_t kFileUrlValue[];
+extern const wchar_t kJobListValue[];
+extern const wchar_t kTitleValue[];
+extern const wchar_t kPrinterCapsHashValue[];
+extern const char kCloudPrintServerUrl[];
+// Max interval between retrying connection to the server
+const int64 kMaxRetryInterval = 5*60*1000; // 5 minutes in millseconds
+const int64 kBaseRetryInterval = 5*1000; // 5 seconds
+const int kMaxRetryCount = 5;
+const int64 kJobStatusUpdateInterval = 10*1000; // 10 seconds
Property changes on: chrome\browser\printing\cloud_print\cloud_print_consts.h
Added: svn:eol-style
+ LF
« no previous file with comments | « no previous file | chrome/browser/printing/cloud_print/ » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698