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

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

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/common/cloud_print/cloud_print_constants.h ('k') | no next file » | 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 #include "chrome/common/cloud_print/cloud_print_constants.h" 5 #include "chrome/common/cloud_print/cloud_print_constants.h"
6 6
7 namespace cloud_print { 7 namespace cloud_print {
8 8
9 const char kCloudPrintUserAgent[] = "GoogleCloudPrintProxy"; 9 const char kCloudPrintUserAgent[] = "GoogleCloudPrintProxy";
10 const char kChromeCloudPrintProxyHeader[] = "X-CloudPrint-Proxy: Chrome"; 10 const char kChromeCloudPrintProxyHeader[] = "X-CloudPrint-Proxy: Chrome";
(...skipping 11 matching lines...) Expand all
22 const char kPrinterRemoveTagValue[] = "remove_tag"; 22 const char kPrinterRemoveTagValue[] = "remove_tag";
23 const char kMessageTextValue[] = "message"; 23 const char kMessageTextValue[] = "message";
24 24
25 const char kPrintSystemFailedMessageId[] = "printsystemfail"; 25 const char kPrintSystemFailedMessageId[] = "printsystemfail";
26 const char kGetPrinterCapsFailedMessageId[] = "getprncapsfail"; 26 const char kGetPrinterCapsFailedMessageId[] = "getprncapsfail";
27 const char kEnumPrintersFailedMessageId[] = "enumfail"; 27 const char kEnumPrintersFailedMessageId[] = "enumfail";
28 const char kZombiePrinterMessageId[] = "zombieprinter"; 28 const char kZombiePrinterMessageId[] = "zombieprinter";
29 29
30 const char kSuccessValue[] = "success"; 30 const char kSuccessValue[] = "success";
31 const char kNameValue[] = "name"; 31 const char kNameValue[] = "name";
32 const char kDisplayNameValue[] = "displayName";
32 const char kIdValue[] = "id"; 33 const char kIdValue[] = "id";
33 const char kTicketUrlValue[] = "ticketUrl"; 34 const char kTicketUrlValue[] = "ticketUrl";
34 const char kFileUrlValue[] = "fileUrl"; 35 const char kFileUrlValue[] = "fileUrl";
35 const char kPrinterListValue[] = "printers"; 36 const char kPrinterListValue[] = "printers";
36 const char kJobListValue[] = "jobs"; 37 const char kJobListValue[] = "jobs";
37 const char kTitleValue[] = "title"; 38 const char kTitleValue[] = "title";
38 const char kPrinterCapsHashValue[] = "capsHash"; 39 const char kPrinterCapsHashValue[] = "capsHash";
39 const char kTagsValue[] = "tags"; 40 const char kTagsValue[] = "tags";
40 const char kXMPPJidValue[] = "xmpp_jid"; 41 const char kXMPPJidValue[] = "xmpp_jid";
41 const char kOAuthCodeValue[] = "authorization_code"; 42 const char kOAuthCodeValue[] = "authorization_code";
42 const char kCreateTimeValue[] = "createTime"; 43 const char kCreateTimeValue[] = "createTime";
43 const char kPrinterTypeValue[] = "type"; 44 const char kPrinterTypeValue[] = "type";
45 const char kUserValue[] = "request.user";
46 const char kUsersValue[] = "request.users";
44 47
45 const char kChromeVersionTagName[] = "chrome_version"; 48 const char kChromeVersionTagName[] = "chrome_version";
46 const char kSystemNameTagName[] = "system_name"; 49 const char kSystemNameTagName[] = "system_name";
47 const char kSystemVersionTagName[] = "system_version"; 50 const char kSystemVersionTagName[] = "system_version";
48 51
49 const char kCloudPrintServiceProxyTagPrefix[] = "__cp__"; 52 const char kCloudPrintServiceProxyTagPrefix[] = "__cp__";
50 const char kCloudPrintServiceTagsHashTagName[] = "__cp__tagshash"; 53 const char kCloudPrintServiceTagsHashTagName[] = "__cp__tagshash";
51 const char kCloudPrintServiceTagDryRunFlag[] = "__cp__dry_run"; 54 const char kCloudPrintServiceTagDryRunFlag[] = "__cp__dry_run";
52 55
53 const char kJobFetchReasonStartup[] = "startup"; 56 const char kJobFetchReasonStartup[] = "startup";
54 const char kJobFetchReasonPoll[] = "poll"; 57 const char kJobFetchReasonPoll[] = "poll";
55 const char kJobFetchReasonNotified[] = "notified"; 58 const char kJobFetchReasonNotified[] = "notified";
56 const char kJobFetchReasonQueryMore[] = "querymore"; 59 const char kJobFetchReasonQueryMore[] = "querymore";
57 const char kJobFetchReasonFailure[] = "failure"; 60 const char kJobFetchReasonFailure[] = "failure";
58 const char kJobFetchReasonRetry[] = "retry"; 61 const char kJobFetchReasonRetry[] = "retry";
59 62
60 } // namespace cloud_print 63 } // namespace cloud_print
OLDNEW
« no previous file with comments | « chrome/common/cloud_print/cloud_print_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698