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

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

Issue 10398051: [Sync] Replace TalkMediator*/MediatorThread* with PushClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments, fix test Created 8 years, 7 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 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 10
(...skipping 18 matching lines...) Expand all
29 extern const char kPrinterCapsHashValue[]; 29 extern const char kPrinterCapsHashValue[];
30 extern const char kTagsValue[]; 30 extern const char kTagsValue[];
31 extern const char kXMPPJidValue[]; 31 extern const char kXMPPJidValue[];
32 extern const char kOAuthCodeValue[]; 32 extern const char kOAuthCodeValue[];
33 33
34 extern const char kProxyTagPrefix[]; 34 extern const char kProxyTagPrefix[];
35 extern const char kTagsHashTagName[]; 35 extern const char kTagsHashTagName[];
36 extern const char kTagDryRunFlag[]; 36 extern const char kTagDryRunFlag[];
37 extern const char kDefaultCloudPrintServerUrl[]; 37 extern const char kDefaultCloudPrintServerUrl[];
38 extern const char kCloudPrintGaiaServiceId[]; 38 extern const char kCloudPrintGaiaServiceId[];
39 extern const char kSyncGaiaServiceId[];
40 extern const char kProxyAuthUserAgent[]; 39 extern const char kProxyAuthUserAgent[];
41 extern const char kCloudPrintPushNotificationsSource[]; 40 extern const char kCloudPrintPushNotificationsSource[];
42 extern const char kCloudPrintUserAgent[]; 41 extern const char kCloudPrintUserAgent[];
43 extern const char kJobFetchReasonStartup[]; 42 extern const char kJobFetchReasonStartup[];
44 extern const char kJobFetchReasonPoll[]; 43 extern const char kJobFetchReasonPoll[];
45 extern const char kJobFetchReasonNotified[]; 44 extern const char kJobFetchReasonNotified[];
46 extern const char kJobFetchReasonQueryMore[]; 45 extern const char kJobFetchReasonQueryMore[];
47 extern const char kPrintSystemFailedMessageId[]; 46 extern const char kPrintSystemFailedMessageId[];
48 extern const char kGetPrinterCapsFailedMessageId[]; 47 extern const char kGetPrinterCapsFailedMessageId[];
49 extern const char kEnumPrintersFailedMessageId[]; 48 extern const char kEnumPrintersFailedMessageId[];
(...skipping 13 matching lines...) Expand all
63 // print jobs. We choose a random interval in seconds between these 2 values. 62 // print jobs. We choose a random interval in seconds between these 2 values.
64 const int kMinJobPollIntervalSecs = 5*60; // 5 minutes in seconds 63 const int kMinJobPollIntervalSecs = 5*60; // 5 minutes in seconds
65 const int kMaxJobPollIntervalSecs = 8*60; // 8 minutes in seconds 64 const int kMaxJobPollIntervalSecs = 8*60; // 8 minutes in seconds
66 65
67 // The number of seconds before the OAuth2 access token is due to expire that 66 // The number of seconds before the OAuth2 access token is due to expire that
68 // we try and refresh it. 67 // we try and refresh it.
69 const int kTokenRefreshGracePeriodSecs = 5*60; // 5 minutes in seconds 68 const int kTokenRefreshGracePeriodSecs = 5*60; // 5 minutes in seconds
70 69
71 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_ 70 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_CONSTS_H_
72 71
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/sync_setup_handler.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