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

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

Issue 3425021: Switched the cloud print proxy to use the Google push notifications.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Some comment changes Created 10 years, 2 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 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 10
(...skipping 15 matching lines...) Expand all
26 extern const char kFileUrlValue[]; 26 extern const char kFileUrlValue[];
27 extern const char kJobListValue[]; 27 extern const char kJobListValue[];
28 extern const char kTitleValue[]; 28 extern const char kTitleValue[];
29 extern const char kPrinterCapsHashValue[]; 29 extern const char kPrinterCapsHashValue[];
30 extern const char kPrinterTagsValue[]; 30 extern const char kPrinterTagsValue[];
31 extern const char kProxyTagPrefix[]; 31 extern const char kProxyTagPrefix[];
32 extern const char kTagsHashTagName[]; 32 extern const char kTagsHashTagName[];
33 extern const char kLocationTagName[]; 33 extern const char kLocationTagName[];
34 extern const char kDriverNameTagName[]; 34 extern const char kDriverNameTagName[];
35 extern const char kDefaultCloudPrintServerUrl[]; 35 extern const char kDefaultCloudPrintServerUrl[];
36 extern const char kCloudPrintTalkServiceUrl[];
37 extern const char kGaiaUrl[]; 36 extern const char kGaiaUrl[];
38 extern const char kCloudPrintGaiaServiceId[]; 37 extern const char kCloudPrintGaiaServiceId[];
39 extern const char kSyncGaiaServiceId[]; 38 extern const char kSyncGaiaServiceId[];
39 extern const char kCloudPrintPushNotificationsSource[];
40 40
41 // Max interval between retrying connection to the server 41 // Max interval between retrying connection to the server
42 const int64 kMaxRetryInterval = 5*60*1000; // 5 minutes in millseconds 42 const int64 kMaxRetryInterval = 5*60*1000; // 5 minutes in millseconds
43 const int64 kBaseRetryInterval = 5*1000; // 5 seconds 43 const int64 kBaseRetryInterval = 5*1000; // 5 seconds
44 const int kMaxRetryCount = 2; 44 const int kMaxRetryCount = 2;
45 const int64 kJobStatusUpdateInterval = 10*1000; // 10 seconds 45 const int64 kJobStatusUpdateInterval = 10*1000; // 10 seconds
46 // When we don't have XMPP notifications available, we resort to polling for 46 // When we don't have XMPP notifications available, we resort to polling for
47 // print jobs. We choose a random interval in seconds between these 2 values. 47 // print jobs. We choose a random interval in seconds between these 2 values.
48 const int kMinJobPollIntervalSecs = 5*60; // 5 minutes in seconds 48 const int kMinJobPollIntervalSecs = 5*60; // 5 minutes in seconds
49 const int kMaxJobPollIntervalSecs = 8*60; // 8 minutes in seconds 49 const int kMaxJobPollIntervalSecs = 8*60; // 8 minutes in seconds
50 50
51 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_ 51 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_
52 52
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