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

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

Issue 23658020: Printer list for Google Cloud Print (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/cloud_print/cloud_print_constants.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 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 21 matching lines...) Expand all
32 32
33 // Value of "code" parameter in cloud print "/message" requests. 33 // Value of "code" parameter in cloud print "/message" requests.
34 extern const char kPrintSystemFailedMessageId[]; 34 extern const char kPrintSystemFailedMessageId[];
35 extern const char kGetPrinterCapsFailedMessageId[]; 35 extern const char kGetPrinterCapsFailedMessageId[];
36 extern const char kEnumPrintersFailedMessageId[]; 36 extern const char kEnumPrintersFailedMessageId[];
37 extern const char kZombiePrinterMessageId[]; 37 extern const char kZombiePrinterMessageId[];
38 38
39 // Values in the respone JSON from the cloud print server. 39 // Values in the respone JSON from the cloud print server.
40 extern const char kSuccessValue[]; 40 extern const char kSuccessValue[];
41 extern const char kNameValue[]; 41 extern const char kNameValue[];
42 extern const char kDisplayNameValue[];
42 extern const char kIdValue[]; 43 extern const char kIdValue[];
43 extern const char kTicketUrlValue[]; 44 extern const char kTicketUrlValue[];
44 extern const char kFileUrlValue[]; 45 extern const char kFileUrlValue[];
45 extern const char kPrinterListValue[]; 46 extern const char kPrinterListValue[];
46 extern const char kJobListValue[]; 47 extern const char kJobListValue[];
47 extern const char kTitleValue[]; 48 extern const char kTitleValue[];
48 extern const char kPrinterCapsHashValue[]; 49 extern const char kPrinterCapsHashValue[];
49 extern const char kTagsValue[]; 50 extern const char kTagsValue[];
50 extern const char kXMPPJidValue[]; 51 extern const char kXMPPJidValue[];
51 extern const char kOAuthCodeValue[]; 52 extern const char kOAuthCodeValue[];
52 extern const char kCreateTimeValue[]; 53 extern const char kCreateTimeValue[];
53 extern const char kPrinterTypeValue[]; 54 extern const char kPrinterTypeValue[];
55 extern const char kUserValue[];
56 extern const char kUsersValue[];
54 57
55 // Printer tag names. Don't need prefixes. They will be added on submit. 58 // Printer tag names. Don't need prefixes. They will be added on submit.
56 extern const char kChromeVersionTagName[]; 59 extern const char kChromeVersionTagName[];
57 extern const char kSystemNameTagName[]; 60 extern const char kSystemNameTagName[];
58 extern const char kSystemVersionTagName[]; 61 extern const char kSystemVersionTagName[];
59 62
60 // Tags for cloud print service. 63 // Tags for cloud print service.
61 extern const char kCloudPrintServiceProxyTagPrefix[]; 64 extern const char kCloudPrintServiceProxyTagPrefix[];
62 extern const char kCloudPrintServiceTagsHashTagName[]; 65 extern const char kCloudPrintServiceTagsHashTagName[];
63 extern const char kCloudPrintServiceTagDryRunFlag[]; 66 extern const char kCloudPrintServiceTagDryRunFlag[];
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 // fails due to network errors 113 // fails due to network errors
111 const int kJobFirstWaitTimeSecs = 1; 114 const int kJobFirstWaitTimeSecs = 1;
112 115
113 // The multiplier for the wait time for retrying a job that fails due to 116 // The multiplier for the wait time for retrying a job that fails due to
114 // network errors 117 // network errors
115 const int kJobWaitTimeExponentialMultiplier = 2; 118 const int kJobWaitTimeExponentialMultiplier = 2;
116 119
117 } // namespace cloud_print 120 } // namespace cloud_print
118 121
119 #endif // CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CONSTANTS_H_ 122 #endif // CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/cloud_print/cloud_print_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698