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 #ifndef CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_ | 5 #ifndef CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_ |
6 #define CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_ | 6 #define CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "chrome/service/cloud_print/printer_info.h" | 10 #include "chrome/service/cloud_print/print_system.h" |
11 #include "googleurl/src/gurl.h" | 11 #include "googleurl/src/gurl.h" |
12 | 12 |
13 class DictionaryValue; | 13 class DictionaryValue; |
14 class Task; | 14 class Task; |
15 class URLFetcher; | 15 class URLFetcher; |
16 | 16 |
17 // Helper methods for the cloud print proxy code. | 17 // Helper methods for the cloud print proxy code. |
18 class CloudPrintHelpers { | 18 class CloudPrintHelpers { |
19 public: | 19 public: |
20 static GURL GetUrlForPrinterRegistration(const GURL& cloud_print_server_url); | 20 static GURL GetUrlForPrinterRegistration(const GURL& cloud_print_server_url); |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 // Create a MIME boundary marker (27 '-' characters followed by 16 hex digits). | 68 // Create a MIME boundary marker (27 '-' characters followed by 16 hex digits). |
69 static void CreateMimeBoundaryForUpload(std::string *out); | 69 static void CreateMimeBoundaryForUpload(std::string *out); |
70 | 70 |
71 private: | 71 private: |
72 CloudPrintHelpers() { | 72 CloudPrintHelpers() { |
73 } | 73 } |
74 }; | 74 }; |
75 | 75 |
76 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_ | 76 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_HELPERS_H_ |
77 | 77 |
OLD | NEW |