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

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

Issue 10968031: Added ConnectorSettings class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 // Constant defines used in the cloud print proxy code 10 // Constant defines used in the cloud print proxy code
(...skipping 15 matching lines...) Expand all
26 extern const char kJobListValue[]; 26 extern const char kJobListValue[];
27 extern const char kTitleValue[]; 27 extern const char kTitleValue[];
28 extern const char kPrinterCapsHashValue[]; 28 extern const char kPrinterCapsHashValue[];
29 extern const char kTagsValue[]; 29 extern const char kTagsValue[];
30 extern const char kXMPPJidValue[]; 30 extern const char kXMPPJidValue[];
31 extern const char kOAuthCodeValue[]; 31 extern const char kOAuthCodeValue[];
32 32
33 extern const char kProxyTagPrefix[]; 33 extern const char kProxyTagPrefix[];
34 extern const char kTagsHashTagName[]; 34 extern const char kTagsHashTagName[];
35 extern const char kTagDryRunFlag[]; 35 extern const char kTagDryRunFlag[];
36 extern const char kDefaultCloudPrintServerUrl[];
37 extern const char kCloudPrintGaiaServiceId[]; 36 extern const char kCloudPrintGaiaServiceId[];
38 extern const char kProxyAuthUserAgent[]; 37 extern const char kProxyAuthUserAgent[];
39 extern const char kCloudPrintPushNotificationsSource[]; 38 extern const char kCloudPrintPushNotificationsSource[];
40 extern const char kCloudPrintUserAgent[]; 39 extern const char kCloudPrintUserAgent[];
41 extern const char kJobFetchReasonStartup[]; 40 extern const char kJobFetchReasonStartup[];
42 extern const char kJobFetchReasonPoll[]; 41 extern const char kJobFetchReasonPoll[];
43 extern const char kJobFetchReasonNotified[]; 42 extern const char kJobFetchReasonNotified[];
44 extern const char kJobFetchReasonQueryMore[]; 43 extern const char kJobFetchReasonQueryMore[];
45 extern const char kPrintSystemFailedMessageId[]; 44 extern const char kPrintSystemFailedMessageId[];
46 extern const char kGetPrinterCapsFailedMessageId[]; 45 extern const char kGetPrinterCapsFailedMessageId[];
(...skipping 13 matching lines...) Expand all
60 // print jobs. We choose a random interval in seconds between these 2 values. 59 // print jobs. We choose a random interval in seconds between these 2 values.
61 const int kMinJobPollIntervalSecs = 5*60; // 5 minutes in seconds 60 const int kMinJobPollIntervalSecs = 5*60; // 5 minutes in seconds
62 const int kMaxJobPollIntervalSecs = 8*60; // 8 minutes in seconds 61 const int kMaxJobPollIntervalSecs = 8*60; // 8 minutes in seconds
63 62
64 // The number of seconds before the OAuth2 access token is due to expire that 63 // The number of seconds before the OAuth2 access token is due to expire that
65 // we try and refresh it. 64 // we try and refresh it.
66 const int kTokenRefreshGracePeriodSecs = 5*60; // 5 minutes in seconds 65 const int kTokenRefreshGracePeriodSecs = 5*60; // 5 minutes in seconds
67 66
68 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_ 67 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_
69 68
OLDNEW
« no previous file with comments | « chrome/service/cloud_print/cloud_print_connector.cc ('k') | chrome/service/cloud_print/cloud_print_consts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698