| 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"; |
| 11 const char kPrinterDescValue[] = "description"; | 11 const char kPrinterDescValue[] = "description"; |
| 12 const char kPrinterCapsValue[] = "capabilities"; | 12 const char kPrinterCapsValue[] = "capabilities"; |
| 13 const char kPrinterDefaultsValue[] = "defaults"; | 13 const char kPrinterDefaultsValue[] = "defaults"; |
| 14 const char kPrinterStatusValue[] = "status"; | 14 const char kPrinterStatusValue[] = "status"; |
| 15 const char kPrinterTagValue[] = "tag"; | 15 const char kPrinterTagValue[] = "tag"; |
| 16 | 16 |
| 17 // Values in the respone JSON from the cloud print server | 17 // Values in the respone JSON from the cloud print server |
| 18 const wchar_t kPrinterListValue[] = L"printers"; | 18 const char kPrinterListValue[] = "printers"; |
| 19 const wchar_t kSuccessValue[] = L"success"; | 19 const char kSuccessValue[] = "success"; |
| 20 const wchar_t kNameValue[] = L"name"; | 20 const char kNameValue[] = "name"; |
| 21 const wchar_t kIdValue[] = L"id"; | 21 const char kIdValue[] = "id"; |
| 22 const wchar_t kTicketUrlValue[] = L"ticketUrl"; | 22 const char kTicketUrlValue[] = "ticketUrl"; |
| 23 const wchar_t kFileUrlValue[] = L"fileUrl"; | 23 const char kFileUrlValue[] = "fileUrl"; |
| 24 const wchar_t kJobListValue[] = L"jobs"; | 24 const char kJobListValue[] = "jobs"; |
| 25 const wchar_t kTitleValue[] = L"title"; | 25 const char kTitleValue[] = "title"; |
| 26 const wchar_t kPrinterCapsHashValue[] = L"capsHash"; | 26 const char kPrinterCapsHashValue[] = "capsHash"; |
| 27 | 27 |
| 28 const char kDefaultCloudPrintServerUrl[] = "https://www.google.com/cloudprint"; | 28 const char kDefaultCloudPrintServerUrl[] = "https://www.google.com/cloudprint"; |
| 29 const char kCloudPrintTalkServiceUrl[] = "http://www.google.com/cloudprint"; | 29 const char kCloudPrintTalkServiceUrl[] = "http://www.google.com/cloudprint"; |
| 30 const char kGaiaUrl[] = "https://www.google.com/accounts/ClientLogin"; | 30 const char kGaiaUrl[] = "https://www.google.com/accounts/ClientLogin"; |
| 31 const char kCloudPrintGaiaServiceId[] = "cloudprint"; | 31 const char kCloudPrintGaiaServiceId[] = "cloudprint"; |
| 32 const char kSyncGaiaServiceId[] = "chromiumsync"; | 32 const char kSyncGaiaServiceId[] = "chromiumsync"; |
| 33 | 33 |
| OLD | NEW |