Chromium Code Reviews| 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 // Values in parameters when updating or registering a printer at cloud print | |
|
msw
2012/11/09 23:18:17
nit: remove duplicated comments.
Chen Yu
2012/11/13 14:02:15
Done.
| |
| 10 // server. | |
| 11 const char kProxyIdValue[] = "proxy"; | |
| 12 const char kPrinterNameValue[] = "printer"; | |
| 13 const char kPrinterDescValue[] = "description"; | |
| 14 const char kPrinterCapsValue[] = "capabilities"; | |
| 15 const char kPrinterDefaultsValue[] = "defaults"; | |
| 16 const char kPrinterStatusValue[] = "status"; | |
| 17 const char kPrinterTagValue[] = "tag"; | |
| 18 const char kPrinterRemoveTagValue[] = "remove_tag"; | |
| 19 const char kMessageTextValue[] = "message"; | |
| 20 | |
| 21 // Values in the respone JSON from the cloud print server | |
|
msw
2012/11/09 23:18:17
nit: remove duplicated comments.
Chen Yu
2012/11/13 14:02:15
Done.
| |
| 22 const char kSuccessValue[] = "success"; | |
| 23 const char kNameValue[] = "name"; | |
| 24 const char kIdValue[] = "id"; | |
| 25 const char kTicketUrlValue[] = "ticketUrl"; | |
| 26 const char kFileUrlValue[] = "fileUrl"; | |
| 27 const char kPrinterListValue[] = "printers"; | |
| 28 const char kJobListValue[] = "jobs"; | |
| 29 const char kTitleValue[] = "title"; | |
| 30 const char kPrinterCapsHashValue[] = "capsHash"; | |
| 31 const char kTagsValue[] = "tags"; | |
| 32 const char kXMPPJidValue[] = "xmpp_jid"; | |
| 33 const char kOAuthCodeValue[] = "authorization_code"; | |
| 34 const char kCreateTimeValue[] = "createTime"; | |
| 35 const char kPrinterTypeValue[] = "type"; | |
| 36 | |
| 37 // Printer tag names. Don't need prefixes. They will be added on submit. | |
|
msw
2012/11/09 23:18:17
nit: put this comment in the header; split the lis
Chen Yu
2012/11/13 14:02:15
Done.
| |
| 38 const char kChromeVersionTagName[] = "chrome_version"; | |
| 39 const char kSystemNameTagName[] = "system_name"; | |
| 40 const char kSystemVersionTagName[] = "system_version"; | |
| 41 | |
| 42 // Certain cloud print requests require Chrome's X-CloudPrint-Proxy header. | |
|
msw
2012/11/09 23:18:17
nit: put this comment in the header.
Chen Yu
2012/11/13 14:02:15
Done.
| |
| 43 const char kChromeCloudPrintProxyHeader[] = "X-CloudPrint-Proxy: Chrome"; | |
| 44 | |
| 45 } // namespace cloud_print | |
| 46 | |
| OLD | NEW |