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

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

Issue 147953009: Fallback to CDD/CJT if connector can't initialize XPS API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 {
(...skipping 14 matching lines...) Expand all
25 extern const char kPrinterCapsValue[]; 25 extern const char kPrinterCapsValue[];
26 extern const char kPrinterDisplayNameValue[]; 26 extern const char kPrinterDisplayNameValue[];
27 extern const char kPrinterDefaultsValue[]; 27 extern const char kPrinterDefaultsValue[];
28 extern const char kPrinterStatusValue[]; 28 extern const char kPrinterStatusValue[];
29 extern const char kPrinterTagValue[]; 29 extern const char kPrinterTagValue[];
30 extern const char kPrinterRemoveTagValue[]; 30 extern const char kPrinterRemoveTagValue[];
31 extern const char kPrinterLocalSettingsValue[]; 31 extern const char kPrinterLocalSettingsValue[];
32 extern const char kMessageTextValue[]; 32 extern const char kMessageTextValue[];
33 extern const char kUseCDD[]; 33 extern const char kUseCDD[];
34 34
35 extern const char kContentTypeCDD[]; 35 extern const char kContentTypeJSON[];
36 extern const char kContentTypePDF[]; 36 extern const char kContentTypePDF[];
37 extern const char kContentTypeXML[]; 37 extern const char kContentTypeXML[];
38 extern const char kContentTypeXPS[]; 38 extern const char kContentTypeXPS[];
39 39
40 // Value of "code" parameter in cloud print "/message" requests. 40 // Value of "code" parameter in cloud print "/message" requests.
41 extern const char kPrintSystemFailedMessageId[]; 41 extern const char kPrintSystemFailedMessageId[];
42 extern const char kGetPrinterCapsFailedMessageId[]; 42 extern const char kGetPrinterCapsFailedMessageId[];
43 extern const char kEnumPrintersFailedMessageId[]; 43 extern const char kEnumPrintersFailedMessageId[];
44 extern const char kZombiePrinterMessageId[]; 44 extern const char kZombiePrinterMessageId[];
45 45
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // fails due to network errors 128 // fails due to network errors
129 const int kJobFirstWaitTimeSecs = 1; 129 const int kJobFirstWaitTimeSecs = 1;
130 130
131 // The multiplier for the wait time for retrying a job that fails due to 131 // The multiplier for the wait time for retrying a job that fails due to
132 // network errors 132 // network errors
133 const int kJobWaitTimeExponentialMultiplier = 2; 133 const int kJobWaitTimeExponentialMultiplier = 2;
134 134
135 } // namespace cloud_print 135 } // namespace cloud_print
136 136
137 #endif // CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CONSTANTS_H_ 137 #endif // CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CONSTANTS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/common/cloud_print/cloud_print_constants.cc » ('j') | chrome/service/cloud_print/print_system_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698