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

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

Issue 11038063: Support chrome_to_mobile job receiving Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix format Created 8 years, 1 month 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
OLDNEW
(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
OLDNEW
« no previous file with comments | « chrome/common/cloud_print/cloud_print_consts.h ('k') | chrome/common/cloud_print/cloud_print_helpers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698