OLD | NEW |
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 kCloudPrintPushNotificationsSource[] = "cloudprint.google.com"; | 11 const char kCloudPrintPushNotificationsSource[] = "cloudprint.google.com"; |
| 12 const char kCloudPrintAuth[] = "https://www.googleapis.com/auth/cloudprint"; |
12 | 13 |
13 const char kProxyIdValue[] = "proxy"; | 14 const char kProxyIdValue[] = "proxy"; |
14 const char kPrinterNameValue[] = "printer"; | 15 const char kPrinterNameValue[] = "printer"; |
15 const char kPrinterDescValue[] = "description"; | 16 const char kPrinterDescValue[] = "description"; |
16 const char kPrinterCapsValue[] = "capabilities"; | 17 const char kPrinterCapsValue[] = "capabilities"; |
17 const char kPrinterDisplayNameValue[] = "default_display_name"; | 18 const char kPrinterDisplayNameValue[] = "default_display_name"; |
18 const char kPrinterDefaultsValue[] = "defaults"; | 19 const char kPrinterDefaultsValue[] = "defaults"; |
19 const char kPrinterStatusValue[] = "status"; | 20 const char kPrinterStatusValue[] = "status"; |
20 const char kPrinterTagValue[] = "tag"; | 21 const char kPrinterTagValue[] = "tag"; |
21 const char kPrinterRemoveTagValue[] = "remove_tag"; | 22 const char kPrinterRemoveTagValue[] = "remove_tag"; |
(...skipping 28 matching lines...) Expand all Loading... |
50 const char kCloudPrintServiceTagDryRunFlag[] = "__cp__dry_run"; | 51 const char kCloudPrintServiceTagDryRunFlag[] = "__cp__dry_run"; |
51 | 52 |
52 const char kJobFetchReasonStartup[] = "startup"; | 53 const char kJobFetchReasonStartup[] = "startup"; |
53 const char kJobFetchReasonPoll[] = "poll"; | 54 const char kJobFetchReasonPoll[] = "poll"; |
54 const char kJobFetchReasonNotified[] = "notified"; | 55 const char kJobFetchReasonNotified[] = "notified"; |
55 const char kJobFetchReasonQueryMore[] = "querymore"; | 56 const char kJobFetchReasonQueryMore[] = "querymore"; |
56 const char kJobFetchReasonFailure[] = "failure"; | 57 const char kJobFetchReasonFailure[] = "failure"; |
57 const char kJobFetchReasonRetry[] = "retry"; | 58 const char kJobFetchReasonRetry[] = "retry"; |
58 | 59 |
59 } // namespace cloud_print | 60 } // namespace cloud_print |
60 | |
OLD | NEW |