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_PRINTER_JOB_HANDLER_H_ | 5 #ifndef CHROME_SERVICE_CLOUD_PRINT_PRINTER_JOB_HANDLER_H_ |
6 #define CHROME_SERVICE_CLOUD_PRINT_PRINTER_JOB_HANDLER_H_ | 6 #define CHROME_SERVICE_CLOUD_PRINT_PRINTER_JOB_HANDLER_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 CloudPrintURLFetcher::ResponseAction HandlePrintTicketResponse( | 187 CloudPrintURLFetcher::ResponseAction HandlePrintTicketResponse( |
188 const net::URLFetcher* source, | 188 const net::URLFetcher* source, |
189 const GURL& url, | 189 const GURL& url, |
190 const std::string& data); | 190 const std::string& data); |
191 | 191 |
192 CloudPrintURLFetcher::ResponseAction HandlePrintDataResponse( | 192 CloudPrintURLFetcher::ResponseAction HandlePrintDataResponse( |
193 const net::URLFetcher* source, | 193 const net::URLFetcher* source, |
194 const GURL& url, | 194 const GURL& url, |
195 const std::string& data); | 195 const std::string& data); |
196 | 196 |
197 CloudPrintURLFetcher::ResponseAction HandleSuccessStatusUpdateResponse( | 197 CloudPrintURLFetcher::ResponseAction HandleInProgressStatusUpdateResponse( |
198 const net::URLFetcher* source, | 198 const net::URLFetcher* source, |
199 const GURL& url, | 199 const GURL& url, |
200 base::DictionaryValue* json_data, | 200 base::DictionaryValue* json_data, |
201 bool succeeded); | 201 bool succeeded); |
202 | 202 |
203 CloudPrintURLFetcher::ResponseAction HandleFailureStatusUpdateResponse( | 203 CloudPrintURLFetcher::ResponseAction HandleFailureStatusUpdateResponse( |
204 const net::URLFetcher* source, | 204 const net::URLFetcher* source, |
205 const GURL& url, | 205 const GURL& url, |
206 base::DictionaryValue* json_data, | 206 base::DictionaryValue* json_data, |
207 bool succeeded); | 207 bool succeeded); |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 | 300 |
301 // This typedef is to workaround the issue with certain versions of | 301 // This typedef is to workaround the issue with certain versions of |
302 // Visual Studio where it gets confused between multiple Delegate | 302 // Visual Studio where it gets confused between multiple Delegate |
303 // classes and gives a C2500 error. (I saw this error on the try bots - | 303 // classes and gives a C2500 error. (I saw this error on the try bots - |
304 // the workaround was not needed for my machine). | 304 // the workaround was not needed for my machine). |
305 typedef PrinterJobHandler::Delegate PrinterJobHandlerDelegate; | 305 typedef PrinterJobHandler::Delegate PrinterJobHandlerDelegate; |
306 | 306 |
307 } // namespace cloud_print | 307 } // namespace cloud_print |
308 | 308 |
309 #endif // CHROME_SERVICE_CLOUD_PRINT_PRINTER_JOB_HANDLER_H_ | 309 #endif // CHROME_SERVICE_CLOUD_PRINT_PRINTER_JOB_HANDLER_H_ |
OLD | NEW |