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

Side by Side Diff: chrome/common/cloud_print/cloud_print_constants.h

Issue 14215009: Changed cloud print private API to pass all page settings as single object. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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_COMMON_CLOUD_PRINT_CLOUD_PRINT_CONSTANTS_H_ 5 #ifndef CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CONSTANTS_H_
6 #define CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CONSTANTS_H_ 6 #define CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CONSTANTS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 namespace cloud_print { 10 namespace cloud_print {
11 11
12 // The string to be appended to the user-agent for cloud print requests. 12 // The string to be appended to the user-agent for cloud print requests.
13 extern const char kCloudPrintUserAgent[]; 13 extern const char kCloudPrintUserAgent[];
14 // The proxy header required by cloud print server. 14 // The proxy header required by cloud print server.
15 extern const char kChromeCloudPrintProxyHeader[]; 15 extern const char kChromeCloudPrintProxyHeader[];
16 // The service id of cloud print used in gaia authentication. 16 // The service id of cloud print used in gaia authentication.
17 extern const char kCloudPrintGaiaServiceId[]; 17 extern const char kCloudPrintGaiaServiceId[];
18 // The user agent string used in gaia authentication. 18 // The user agent string used in gaia authentication.
19 extern const char kProxyAuthUserAgent[]; 19 extern const char kProxyAuthUserAgent[];
20 // The source of cloud print notifications. 20 // The source of cloud print notifications.
21 extern const char kCloudPrintPushNotificationsSource[]; 21 extern const char kCloudPrintPushNotificationsSource[];
22 22
23 // Values used to register or update a printer with the cloud print service. 23 // Values used to register or update a printer with the cloud print service.
24 extern const char kProxyIdValue[]; 24 extern const char kProxyIdValue[];
25 extern const char kPrinterNameValue[]; 25 extern const char kPrinterNameValue[];
26 extern const char kPrinterDescValue[]; 26 extern const char kPrinterDescValue[];
27 extern const char kPrinterCapsValue[]; 27 extern const char kPrinterCapsValue[];
28 extern const char kPrinterDisplayNameValue[];
28 extern const char kPrinterDefaultsValue[]; 29 extern const char kPrinterDefaultsValue[];
29 extern const char kPrinterStatusValue[]; 30 extern const char kPrinterStatusValue[];
30 extern const char kPrinterTagValue[]; 31 extern const char kPrinterTagValue[];
31 extern const char kPrinterRemoveTagValue[]; 32 extern const char kPrinterRemoveTagValue[];
32 extern const char kMessageTextValue[]; 33 extern const char kMessageTextValue[];
33 34
34 // Value of "code" parameter in cloud print "/message" requests. 35 // Value of "code" parameter in cloud print "/message" requests.
35 extern const char kPrintSystemFailedMessageId[]; 36 extern const char kPrintSystemFailedMessageId[];
36 extern const char kGetPrinterCapsFailedMessageId[]; 37 extern const char kGetPrinterCapsFailedMessageId[];
37 extern const char kEnumPrintersFailedMessageId[]; 38 extern const char kEnumPrintersFailedMessageId[];
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 const int kJobFirstWaitTimeSecs = 1; 113 const int kJobFirstWaitTimeSecs = 1;
113 114
114 // The multiplier for the wait time for retrying a job that fails due to 115 // The multiplier for the wait time for retrying a job that fails due to
115 // network errors 116 // network errors
116 const int kJobWaitTimeExponentialMultiplier = 2; 117 const int kJobWaitTimeExponentialMultiplier = 2;
117 118
118 } // namespace cloud_print 119 } // namespace cloud_print
119 120
120 #endif // CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CONSTANTS_H_ 121 #endif // CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CONSTANTS_H_
121 122
OLDNEW
« no previous file with comments | « chrome/browser/printing/cloud_print/cloud_print_proxy_service.cc ('k') | chrome/common/cloud_print/cloud_print_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698