 Chromium Code Reviews
 Chromium Code Reviews Issue 2254003:
  Changed values of Cloud Print GAIA service id and Talk service URL to product...  (Closed) 
  Base URL: svn://chrome-svn/chrome/trunk/src/
    
  
    Issue 2254003:
  Changed values of Cloud Print GAIA service id and Talk service URL to product...  (Closed) 
  Base URL: svn://chrome-svn/chrome/trunk/src/| 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 | 15 | 
| 16 // Values in the respone JSON from the cloud print server | 16 // Values in the respone JSON from the cloud print server | 
| 17 const wchar_t kPrinterListValue[] = L"printers"; | 17 const wchar_t kPrinterListValue[] = L"printers"; | 
| 18 const wchar_t kSuccessValue[] = L"success"; | 18 const wchar_t kSuccessValue[] = L"success"; | 
| 19 const wchar_t kNameValue[] = L"name"; | 19 const wchar_t kNameValue[] = L"name"; | 
| 20 const wchar_t kIdValue[] = L"id"; | 20 const wchar_t kIdValue[] = L"id"; | 
| 21 const wchar_t kTicketUrlValue[] = L"ticketUrl"; | 21 const wchar_t kTicketUrlValue[] = L"ticketUrl"; | 
| 22 const wchar_t kFileUrlValue[] = L"fileUrl"; | 22 const wchar_t kFileUrlValue[] = L"fileUrl"; | 
| 23 const wchar_t kJobListValue[] = L"jobs"; | 23 const wchar_t kJobListValue[] = L"jobs"; | 
| 24 const wchar_t kTitleValue[] = L"title"; | 24 const wchar_t kTitleValue[] = L"title"; | 
| 25 const wchar_t kPrinterCapsHashValue[] = L"capsHash"; | 25 const wchar_t kPrinterCapsHashValue[] = L"capsHash"; | 
| 26 | 26 | 
| 27 const char kDefaultCloudPrintServerUrl[] = "https://www.google.com/cloudprint"; | 27 const char kDefaultCloudPrintServerUrl[] = "https://www.google.com/cloudprint"; | 
| 28 // TODO(sanjeevr): Change this to a real one. | 28 const char kCloudPrintTalkServiceUrl[] = "http://www.google.com/cloudprint"; | 
| 
M-A Ruel
2010/05/27 21:28:47
Not https?
 
sanjeevr
2010/05/27 22:05:08
No, this is just a string to identify the service
 | |
| 29 const char kCloudPrintTalkServiceUrl[] = "http://www.google.com/printing"; | |
| 30 const char kGaiaUrl[] = "https://www.google.com/accounts/ClientLogin"; | 29 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. | 30 const char kCloudPrintGaiaServiceId[] = "cloudprint"; | 
| 32 const char kCloudPrintGaiaServiceId[] = "print"; | |
| 33 const char kSyncGaiaServiceId[] = "chromiumsync"; | 31 const char kSyncGaiaServiceId[] = "chromiumsync"; | 
| 34 | 32 | 
| OLD | NEW |