Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Side by Side Diff: chrome/service/cloud_print/printer_job_handler.h

Issue 18890005: Set task into IN_PROCESS before sending to printer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/service/cloud_print/printer_job_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/service/cloud_print/printer_job_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698