| 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.
|
| +
|
| +#ifndef CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_
|
| +#define CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_
|
| +
|
| +#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
|
| +
|
| +#endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_
|
| +
|
|
|
| Property changes on: chrome\browser\printing\cloud_print\cloud_print_consts.h
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|