OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // Constant defines used in the cloud print proxy code | 5 // Constant defines used in the cloud print proxy code |
6 | 6 |
7 #include "chrome/service/cloud_print/cloud_print_consts.h" | 7 #include "chrome/service/cloud_print/cloud_print_consts.h" |
8 | 8 |
9 const char kProxyIdValue[] = "proxy"; | 9 const char kProxyIdValue[] = "proxy"; |
10 const char kPrinterNameValue[] = "printer"; | 10 const char kPrinterNameValue[] = "printer"; |
(...skipping 21 matching lines...) Expand all Loading... |
32 | 32 |
33 const char kDefaultCloudPrintServerUrl[] = "https://www.google.com/cloudprint"; | 33 const char kDefaultCloudPrintServerUrl[] = "https://www.google.com/cloudprint"; |
34 const char kGaiaUrl[] = "https://www.google.com/accounts/ClientLogin"; | 34 const char kGaiaUrl[] = "https://www.google.com/accounts/ClientLogin"; |
35 const char kCloudPrintGaiaServiceId[] = "cloudprint"; | 35 const char kCloudPrintGaiaServiceId[] = "cloudprint"; |
36 const char kSyncGaiaServiceId[] = "chromiumsync"; | 36 const char kSyncGaiaServiceId[] = "chromiumsync"; |
37 const char kCloudPrintPushNotificationsSource[] = "cloudprint.google.com"; | 37 const char kCloudPrintPushNotificationsSource[] = "cloudprint.google.com"; |
38 // The cloud print server expects the X-Google-CloudPrint-Proxy header for | 38 // The cloud print server expects the X-Google-CloudPrint-Proxy header for |
39 // certain requests. | 39 // certain requests. |
40 const char kChromeCloudPrintProxyHeader[] = "X-Google-CloudPrint-Proxy: Chrome"; | 40 const char kChromeCloudPrintProxyHeader[] = "X-Google-CloudPrint-Proxy: Chrome"; |
41 | 41 |
| 42 // The request retry policy names. These strings are not valid hostnames, they |
| 43 // are just string keys. |
| 44 const char kCloudPrintAPIRetryPolicy[] = "cloudprint.google.com/api"; |
| 45 const char kJobDataRetryPolicy[] = "cloudprint.google.com/jobdata"; |
OLD | NEW |