| Index: chrome/service/cloud_print/cloud_print_consts.h
|
| diff --git a/chrome/service/cloud_print/cloud_print_consts.h b/chrome/service/cloud_print/cloud_print_consts.h
|
| deleted file mode 100644
|
| index b5fb24c6aeb27b22092bbd23fa9dc5b80d939fab..0000000000000000000000000000000000000000
|
| --- a/chrome/service/cloud_print/cloud_print_consts.h
|
| +++ /dev/null
|
| @@ -1,81 +0,0 @@
|
| -// Copyright (c) 2012 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_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_
|
| -#define CHROME_SERVICE_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[];
|
| -extern const char kPrinterTagValue[];
|
| -extern const char kPrinterRemoveTagValue[];
|
| -extern const char kMessageTextValue[];
|
| -
|
| -// Values in the respone JSON from the cloud print server
|
| -extern const char kNameValue[];
|
| -extern const char kIdValue[];
|
| -extern const char kTicketUrlValue[];
|
| -extern const char kFileUrlValue[];
|
| -extern const char kJobListValue[];
|
| -extern const char kTitleValue[];
|
| -extern const char kPrinterCapsHashValue[];
|
| -extern const char kTagsValue[];
|
| -extern const char kXMPPJidValue[];
|
| -extern const char kOAuthCodeValue[];
|
| -
|
| -extern const char kProxyTagPrefix[];
|
| -extern const char kTagsHashTagName[];
|
| -extern const char kTagDryRunFlag[];
|
| -extern const char kChromeVersionTagName[];
|
| -extern const char kSystemNameTagName[];
|
| -extern const char kSystemVersionTagName[];
|
| -
|
| -extern const char kCloudPrintGaiaServiceId[];
|
| -extern const char kProxyAuthUserAgent[];
|
| -extern const char kCloudPrintPushNotificationsSource[];
|
| -extern const char kCloudPrintUserAgent[];
|
| -extern const char kJobFetchReasonStartup[];
|
| -extern const char kJobFetchReasonPoll[];
|
| -extern const char kJobFetchReasonNotified[];
|
| -extern const char kJobFetchReasonQueryMore[];
|
| -extern const char kPrintSystemFailedMessageId[];
|
| -extern const char kGetPrinterCapsFailedMessageId[];
|
| -extern const char kEnumPrintersFailedMessageId[];
|
| -extern const char kZombiePrinterMessageId[];
|
| -
|
| -// Max retry count for job data fetch requests.
|
| -const int kJobDataMaxRetryCount = 5;
|
| -// Max retry count (infinity) for API fetch requests.
|
| -const int kCloudPrintAPIMaxRetryCount = -1;
|
| -// Max retry count (infinity) for Registration requests.
|
| -const int kCloudPrintRegisterMaxRetryCount = -1;
|
| -// Max retry count (infinity) for authentication requests.
|
| -const int kCloudPrintAuthMaxRetryCount = -1;
|
| -
|
| -// When we don't have XMPP notifications available, we resort to polling for
|
| -// print jobs. We choose a random interval in seconds between these 2 values.
|
| -const int kMinJobPollIntervalSecs = 5*60; // 5 minutes in seconds
|
| -const int kMaxJobPollIntervalSecs = 8*60; // 8 minutes in seconds
|
| -
|
| -// When we have XMPP notifications available, we ping server to keep connection
|
| -// alive or check connection status.
|
| -const int kDefaultXmppPingTimeoutSecs = 5*60; // 5 minutes in seconds
|
| -const int kMinimumXmppPingTimeoutSecs = 2*60; // 2 minutes in seconds
|
| -const int kXmppPingCheckIntervalSecs = 60;
|
| -
|
| -// Number of failed pings before we try to reinstablish XMPP connection.
|
| -const int kMaxFailedXmppPings = 2;
|
| -
|
| -// The number of seconds before the OAuth2 access token is due to expire that
|
| -// we try and refresh it.
|
| -const int kTokenRefreshGracePeriodSecs = 5*60; // 5 minutes in seconds
|
| -
|
| -#endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_
|
| -
|
|
|