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

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

Issue 14215009: Changed cloud print private API to pass all page settings as single object. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
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";
11 const char kCloudPrintGaiaServiceId[] = "cloudprint"; 11 const char kCloudPrintGaiaServiceId[] = "cloudprint";
12 const char kProxyAuthUserAgent[] = "ChromiumBrowser"; 12 const char kProxyAuthUserAgent[] = "ChromiumBrowser";
13 const char kCloudPrintPushNotificationsSource[] = "cloudprint.google.com"; 13 const char kCloudPrintPushNotificationsSource[] = "cloudprint.google.com";
14 14
15 const char kProxyIdValue[] = "proxy"; 15 const char kProxyIdValue[] = "proxy";
16 const char kPrinterNameValue[] = "printer"; 16 const char kPrinterNameValue[] = "printer";
17 const char kPrinterDescValue[] = "description"; 17 const char kPrinterDescValue[] = "description";
18 const char kPrinterCapsValue[] = "capabilities"; 18 const char kPrinterCapsValue[] = "capabilities";
19 const char kPrinterDisplayNameValue[] = "default_display_name";
19 const char kPrinterDefaultsValue[] = "defaults"; 20 const char kPrinterDefaultsValue[] = "defaults";
20 const char kPrinterStatusValue[] = "status"; 21 const char kPrinterStatusValue[] = "status";
21 const char kPrinterTagValue[] = "tag"; 22 const char kPrinterTagValue[] = "tag";
22 const char kPrinterRemoveTagValue[] = "remove_tag"; 23 const char kPrinterRemoveTagValue[] = "remove_tag";
23 const char kMessageTextValue[] = "message"; 24 const char kMessageTextValue[] = "message";
24 25
25 const char kPrintSystemFailedMessageId[] = "printsystemfail"; 26 const char kPrintSystemFailedMessageId[] = "printsystemfail";
26 const char kGetPrinterCapsFailedMessageId[] = "getprncapsfail"; 27 const char kGetPrinterCapsFailedMessageId[] = "getprncapsfail";
27 const char kEnumPrintersFailedMessageId[] = "enumfail"; 28 const char kEnumPrintersFailedMessageId[] = "enumfail";
28 const char kZombiePrinterMessageId[] = "zombieprinter"; 29 const char kZombiePrinterMessageId[] = "zombieprinter";
(...skipping 23 matching lines...) Expand all
52 53
53 const char kJobFetchReasonStartup[] = "startup"; 54 const char kJobFetchReasonStartup[] = "startup";
54 const char kJobFetchReasonPoll[] = "poll"; 55 const char kJobFetchReasonPoll[] = "poll";
55 const char kJobFetchReasonNotified[] = "notified"; 56 const char kJobFetchReasonNotified[] = "notified";
56 const char kJobFetchReasonQueryMore[] = "querymore"; 57 const char kJobFetchReasonQueryMore[] = "querymore";
57 const char kJobFetchReasonFailure[] = "failure"; 58 const char kJobFetchReasonFailure[] = "failure";
58 const char kJobFetchReasonRetry[] = "retry"; 59 const char kJobFetchReasonRetry[] = "retry";
59 60
60 } // namespace cloud_print 61 } // namespace cloud_print
61 62
OLDNEW
« no previous file with comments | « chrome/common/cloud_print/cloud_print_constants.h ('k') | chrome/common/extensions/api/cloud_print_private.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698