Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / common / cloud_print / cloud_print_constants.cc
blob6c9f5d3292e58b0090daafce453dc615862fd3a2
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
3 // found in the LICENSE file.
5 #include "chrome/common/cloud_print/cloud_print_constants.h"
7 namespace cloud_print {
9 const char kCloudPrintUserAgent[] = "GoogleCloudPrintProxy";
10 const char kChromeCloudPrintProxyHeader[] = "X-CloudPrint-Proxy: Chrome";
11 const char kCloudPrintPushNotificationsSource[] = "cloudprint.google.com";
13 const char kProxyIdValue[] = "proxy";
14 const char kPrinterNameValue[] = "printer";
15 const char kPrinterDescValue[] = "description";
16 const char kPrinterCapsValue[] = "capabilities";
17 const char kPrinterDisplayNameValue[] = "default_display_name";
18 const char kPrinterDefaultsValue[] = "defaults";
19 const char kPrinterStatusValue[] = "status";
20 const char kPrinterTagValue[] = "tag";
21 const char kPrinterRemoveTagValue[] = "remove_tag";
22 const char kPrinterLocalSettingsValue[] = "local_settings";
23 const char kMessageTextValue[] = "message";
24 const char kUseCDD[] = "use_cdd";
26 const char kContentTypeJSON[] = "application/json";
27 const char kContentTypePDF[] = "application/pdf";
28 const char kContentTypeXML[] = "application/xml";
29 const char kContentTypeXPS[] = "application/vnd.ms-xpsdocument";
31 const char kPrintSystemFailedMessageId[] = "printsystemfail";
32 const char kGetPrinterCapsFailedMessageId[] = "getprncapsfail";
33 const char kEnumPrintersFailedMessageId[] = "enumfail";
34 const char kZombiePrinterMessageId[] = "zombieprinter";
36 const char kSuccessValue[] = "success";
37 const char kNameValue[] = "name";
38 const char kDisplayNameValue[] = "displayName";
39 const char kIdValue[] = "id";
40 const char kTicketUrlValue[] = "ticketUrl";
41 const char kFileUrlValue[] = "fileUrl";
42 const char kPrinterListValue[] = "printers";
43 const char kJobListValue[] = "jobs";
44 const char kTitleValue[] = "title";
45 const char kOwnerValue[] = "ownerId";
46 const char kPrinterCapsHashValue[] = "capsHash";
47 const char kTagsValue[] = "tags";
48 const char kXMPPJidValue[] = "xmpp_jid";
49 const char kOAuthCodeValue[] = "authorization_code";
50 const char kCreateTimeValue[] = "createTime";
51 const char kPrinterTypeValue[] = "type";
52 const char kUserValue[] = "request.user";
53 const char kUsersValue[] = "request.users";
54 const char kLocalSettingsPendingXmppValue[] =
55 "local_settings.pending.xmpp_timeout_value";
57 const char kNotificationUpdateSettings[] = "/update_settings";
59 const char kChromeVersionTagName[] = "chrome_version";
60 const char kSystemNameTagName[] = "system_name";
61 const char kSystemVersionTagName[] = "system_version";
63 const char kCloudPrintServiceProxyTagPrefix[] = "__cp__";
64 const char kCloudPrintServiceTagsHashTagName[] = "__cp__tagshash";
65 const char kCloudPrintServiceTagDryRunFlag[] = "__cp__dry_run";
67 const char kJobFetchReasonStartup[] = "startup";
68 const char kJobFetchReasonPoll[] = "poll";
69 const char kJobFetchReasonNotified[] = "notified";
70 const char kJobFetchReasonQueryMore[] = "querymore";
71 const char kJobFetchReasonFailure[] = "failure";
72 const char kJobFetchReasonRetry[] = "retry";
74 const char kCreateLocalSettingsXmppPingFormat[] =
75 "{\"current\":{\"xmpp_timeout_value\": %d}}";
76 const char kUpdateLocalSettingsXmppPingFormat[] =
77 "{\"current\":{\"xmpp_timeout_value\": %d},\"pending\":{}}";
79 } // namespace cloud_print