| 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_SERVICE_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_ | 5 #ifndef CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_SERVICE_HELPERS_H_ |
| 6 #define CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_ | 6 #define CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_SERVICE_HELPERS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "chrome/service/cloud_print/print_system.h" | 11 #include "chrome/service/cloud_print/print_system.h" |
| 12 #include "url/gurl.h" | 12 #include "url/gurl.h" |
| 13 | 13 |
| 14 namespace cloud_print { | 14 namespace cloud_print { |
| 15 | 15 |
| 16 // Helper methods for the cloud print proxy code. | 16 // Helper methods for the cloud print proxy code. |
| (...skipping 16 matching lines...) Expand all Loading... |
| 33 const std::string& mime_boundary); | 33 const std::string& mime_boundary); |
| 34 | 34 |
| 35 // Returns true if tags indicate a dry run (test) job. | 35 // Returns true if tags indicate a dry run (test) job. |
| 36 bool IsDryRunJob(const std::vector<std::string>& tags); | 36 bool IsDryRunJob(const std::vector<std::string>& tags); |
| 37 | 37 |
| 38 // Created cloud print auth header from the auth token stored in the store. | 38 // Created cloud print auth header from the auth token stored in the store. |
| 39 std::string GetCloudPrintAuthHeaderFromStore(); | 39 std::string GetCloudPrintAuthHeaderFromStore(); |
| 40 | 40 |
| 41 } // namespace cloud_print | 41 } // namespace cloud_print |
| 42 | 42 |
| 43 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_ | 43 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_SERVICE_HELPERS_H_ |
| OLD | NEW |