| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #ifndef CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_ | 5 #ifndef CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_ |
| 6 #define CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_ | 6 #define CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 const std::string& proxy_id); | 37 const std::string& proxy_id); |
| 38 GURL GetUrlForPrinterRegistration(const GURL& cloud_print_server_url); | 38 GURL GetUrlForPrinterRegistration(const GURL& cloud_print_server_url); |
| 39 GURL GetUrlForPrinterUpdate(const GURL& cloud_print_server_url, | 39 GURL GetUrlForPrinterUpdate(const GURL& cloud_print_server_url, |
| 40 const std::string& printer_id); | 40 const std::string& printer_id); |
| 41 GURL GetUrlForPrinterDelete(const GURL& cloud_print_server_url, | 41 GURL GetUrlForPrinterDelete(const GURL& cloud_print_server_url, |
| 42 const std::string& printer_id, | 42 const std::string& printer_id, |
| 43 const std::string& reason); | 43 const std::string& reason); |
| 44 GURL GetUrlForJobFetch(const GURL& cloud_print_server_url, | 44 GURL GetUrlForJobFetch(const GURL& cloud_print_server_url, |
| 45 const std::string& printer_id, | 45 const std::string& printer_id, |
| 46 const std::string& reason); | 46 const std::string& reason); |
| 47 GURL GetUrlForJobCjt(const GURL& cloud_print_server_url, |
| 48 const std::string& job_id, |
| 49 const std::string& reason); |
| 47 GURL GetUrlForJobDelete(const GURL& cloud_print_server_url, | 50 GURL GetUrlForJobDelete(const GURL& cloud_print_server_url, |
| 48 const std::string& job_id); | 51 const std::string& job_id); |
| 49 GURL GetUrlForJobStatusUpdate(const GURL& cloud_print_server_url, | 52 GURL GetUrlForJobStatusUpdate(const GURL& cloud_print_server_url, |
| 50 const std::string& job_id, | 53 const std::string& job_id, |
| 51 const std::string& status_string, | 54 const std::string& status_string, |
| 52 int connector_code); | 55 int connector_code); |
| 53 GURL GetUrlForUserMessage(const GURL& cloud_print_server_url, | 56 GURL GetUrlForUserMessage(const GURL& cloud_print_server_url, |
| 54 const std::string& message_id); | 57 const std::string& message_id); |
| 55 GURL GetUrlForGetAuthCode(const GURL& cloud_print_server_url, | 58 GURL GetUrlForGetAuthCode(const GURL& cloud_print_server_url, |
| 56 const std::string& oauth_client_id, | 59 const std::string& oauth_client_id, |
| (...skipping 22 matching lines...) Expand all Loading... |
| 79 const std::string& mime_boundary, | 82 const std::string& mime_boundary, |
| 80 const std::string& proxy_tag_prefix, | 83 const std::string& proxy_tag_prefix, |
| 81 const std::string& tags_hash_tag_name); | 84 const std::string& tags_hash_tag_name); |
| 82 | 85 |
| 83 // Get the cloud print auth header from |auth_token|. | 86 // Get the cloud print auth header from |auth_token|. |
| 84 std::string GetCloudPrintAuthHeader(const std::string& auth_token); | 87 std::string GetCloudPrintAuthHeader(const std::string& auth_token); |
| 85 | 88 |
| 86 } // namespace cloud_print | 89 } // namespace cloud_print |
| 87 | 90 |
| 88 #endif // CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_ | 91 #endif // CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_ |
| OLD | NEW |