| 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"; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 const char kSuccessValue[] = "success"; | 36 const char kSuccessValue[] = "success"; |
| 37 const char kNameValue[] = "name"; | 37 const char kNameValue[] = "name"; |
| 38 const char kDisplayNameValue[] = "displayName"; | 38 const char kDisplayNameValue[] = "displayName"; |
| 39 const char kIdValue[] = "id"; | 39 const char kIdValue[] = "id"; |
| 40 const char kTicketUrlValue[] = "ticketUrl"; | 40 const char kTicketUrlValue[] = "ticketUrl"; |
| 41 const char kFileUrlValue[] = "fileUrl"; | 41 const char kFileUrlValue[] = "fileUrl"; |
| 42 const char kPrinterListValue[] = "printers"; | 42 const char kPrinterListValue[] = "printers"; |
| 43 const char kJobListValue[] = "jobs"; | 43 const char kJobListValue[] = "jobs"; |
| 44 const char kTitleValue[] = "title"; | 44 const char kTitleValue[] = "title"; |
| 45 const char kOwnerValue[] = "ownerId"; |
| 45 const char kPrinterCapsHashValue[] = "capsHash"; | 46 const char kPrinterCapsHashValue[] = "capsHash"; |
| 46 const char kTagsValue[] = "tags"; | 47 const char kTagsValue[] = "tags"; |
| 47 const char kXMPPJidValue[] = "xmpp_jid"; | 48 const char kXMPPJidValue[] = "xmpp_jid"; |
| 48 const char kOAuthCodeValue[] = "authorization_code"; | 49 const char kOAuthCodeValue[] = "authorization_code"; |
| 49 const char kCreateTimeValue[] = "createTime"; | 50 const char kCreateTimeValue[] = "createTime"; |
| 50 const char kPrinterTypeValue[] = "type"; | 51 const char kPrinterTypeValue[] = "type"; |
| 51 const char kUserValue[] = "request.user"; | 52 const char kUserValue[] = "request.user"; |
| 52 const char kUsersValue[] = "request.users"; | 53 const char kUsersValue[] = "request.users"; |
| 53 const char kLocalSettingsPendingXmppValue[] = | 54 const char kLocalSettingsPendingXmppValue[] = |
| 54 "local_settings.pending.xmpp_timeout_value"; | 55 "local_settings.pending.xmpp_timeout_value"; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 69 const char kJobFetchReasonQueryMore[] = "querymore"; | 70 const char kJobFetchReasonQueryMore[] = "querymore"; |
| 70 const char kJobFetchReasonFailure[] = "failure"; | 71 const char kJobFetchReasonFailure[] = "failure"; |
| 71 const char kJobFetchReasonRetry[] = "retry"; | 72 const char kJobFetchReasonRetry[] = "retry"; |
| 72 | 73 |
| 73 const char kCreateLocalSettingsXmppPingFormat[] = | 74 const char kCreateLocalSettingsXmppPingFormat[] = |
| 74 "{\"current\":{\"xmpp_timeout_value\": %d}}"; | 75 "{\"current\":{\"xmpp_timeout_value\": %d}}"; |
| 75 const char kUpdateLocalSettingsXmppPingFormat[] = | 76 const char kUpdateLocalSettingsXmppPingFormat[] = |
| 76 "{\"current\":{\"xmpp_timeout_value\": %d},\"pending\":{}}"; | 77 "{\"current\":{\"xmpp_timeout_value\": %d},\"pending\":{}}"; |
| 77 | 78 |
| 78 } // namespace cloud_print | 79 } // namespace cloud_print |
| OLD | NEW |