| 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 | 16 |
| 16 // Values in the respone JSON from the cloud print server | 17 // Values in the respone JSON from the cloud print server |
| 17 const wchar_t kPrinterListValue[] = L"printers"; | 18 const wchar_t kPrinterListValue[] = L"printers"; |
| 18 const wchar_t kSuccessValue[] = L"success"; | 19 const wchar_t kSuccessValue[] = L"success"; |
| 19 const wchar_t kNameValue[] = L"name"; | 20 const wchar_t kNameValue[] = L"name"; |
| 20 const wchar_t kIdValue[] = L"id"; | 21 const wchar_t kIdValue[] = L"id"; |
| 21 const wchar_t kTicketUrlValue[] = L"ticketUrl"; | 22 const wchar_t kTicketUrlValue[] = L"ticketUrl"; |
| 22 const wchar_t kFileUrlValue[] = L"fileUrl"; | 23 const wchar_t kFileUrlValue[] = L"fileUrl"; |
| 23 const wchar_t kJobListValue[] = L"jobs"; | 24 const wchar_t kJobListValue[] = L"jobs"; |
| 24 const wchar_t kTitleValue[] = L"title"; | 25 const wchar_t kTitleValue[] = L"title"; |
| 25 const wchar_t kPrinterCapsHashValue[] = L"capsHash"; | 26 const wchar_t kPrinterCapsHashValue[] = L"capsHash"; |
| 26 | 27 |
| 27 const char kDefaultCloudPrintServerUrl[] = "https://www.google.com/cloudprint"; | 28 const char kDefaultCloudPrintServerUrl[] = "https://www.google.com/cloudprint"; |
| 28 // TODO(sanjeevr): Change this to a real one. | 29 // TODO(sanjeevr): Change this to a real one. |
| 29 const char kCloudPrintTalkServiceUrl[] = "http://www.google.com/printing"; | 30 const char kCloudPrintTalkServiceUrl[] = "http://www.google.com/printing"; |
| 30 const char kGaiaUrl[] = "https://www.google.com/accounts/ClientLogin"; | 31 const char kGaiaUrl[] = "https://www.google.com/accounts/ClientLogin"; |
| 31 // TODO(sanjeevr): Change this to a real one once we get a GAIA service id. | 32 // TODO(sanjeevr): Change this to a real one once we get a GAIA service id. |
| 32 const char kCloudPrintGaiaServiceId[] = "print"; | 33 const char kCloudPrintGaiaServiceId[] = "print"; |
| 33 const char kSyncGaiaServiceId[] = "chromiumsync"; | 34 const char kSyncGaiaServiceId[] = "chromiumsync"; |
| 34 | 35 |
| OLD | NEW |