OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #include "chrome/common/cloud_print/cloud_print_consts.h" |
| 6 |
| 7 namespace cloud_print { |
| 8 |
| 9 const char kProxyIdValue[] = "proxy"; |
| 10 const char kPrinterNameValue[] = "printer"; |
| 11 const char kPrinterDescValue[] = "description"; |
| 12 const char kPrinterCapsValue[] = "capabilities"; |
| 13 const char kPrinterDefaultsValue[] = "defaults"; |
| 14 const char kPrinterStatusValue[] = "status"; |
| 15 const char kPrinterTagValue[] = "tag"; |
| 16 const char kPrinterRemoveTagValue[] = "remove_tag"; |
| 17 const char kMessageTextValue[] = "message"; |
| 18 |
| 19 // Values in the respone JSON from the cloud print server |
| 20 const char kSuccessValue[] = "success"; |
| 21 const char kNameValue[] = "name"; |
| 22 const char kIdValue[] = "id"; |
| 23 const char kTicketUrlValue[] = "ticketUrl"; |
| 24 const char kFileUrlValue[] = "fileUrl"; |
| 25 const char kPrinterListValue[] = "printers"; |
| 26 const char kJobListValue[] = "jobs"; |
| 27 const char kTitleValue[] = "title"; |
| 28 const char kPrinterCapsHashValue[] = "capsHash"; |
| 29 const char kTagsValue[] = "tags"; |
| 30 const char kXMPPJidValue[] = "xmpp_jid"; |
| 31 const char kOAuthCodeValue[] = "authorization_code"; |
| 32 const char kCreateTimeValue[] = "createTime"; |
| 33 const char kPrinterTypeValue[] = "type"; |
| 34 |
| 35 // Tag names. Don't need prefixes. They will be added on submit. |
| 36 const char kChromeVersionTagName[] = "chrome_version"; |
| 37 const char kSystemNameTagName[] = "system_name"; |
| 38 const char kSystemVersionTagName[] = "system_version"; |
| 39 |
| 40 // Certain cloud print requests require Chrome's X-CloudPrint-Proxy header. |
| 41 const char kChromeCloudPrintProxyHeader[] = "X-CloudPrint-Proxy: Chrome"; |
| 42 |
| 43 } // namespace cloud_print |
| 44 |
OLD | NEW |