summaryrefslogtreecommitdiffstats
path: root/chrome/service/cloud_print/printer_job_handler.h
diff options
context:
space:
mode:
authorgene@google.com <gene@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-05 19:48:53 +0000
committergene@google.com <gene@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-05 19:48:53 +0000
commit7ab27064b11f3b425c66c3c51a7b0333b2baf644 (patch)
tree69b64ce5fa82ec4d5cb16a19941108b298d4c3df /chrome/service/cloud_print/printer_job_handler.h
parente2539b12439542a8b1c4cfc821d29404077a771d (diff)
downloadchromium_src-7ab27064b11f3b425c66c3c51a7b0333b2baf644.zip
chromium_src-7ab27064b11f3b425c66c3c51a7b0333b2baf644.tar.gz
chromium_src-7ab27064b11f3b425c66c3c51a7b0333b2baf644.tar.bz2
Mark job as error if we failed to fetch job data from the server after several tries.
Do not retry on 415 error, because request will never succeed (as per discussion with Abhijit) BUG=none TEST=Verify proxy marks jobs as Error, if we failed to convert on server side. Review URL: http://codereview.chromium.org/6901159 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84283 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/service/cloud_print/printer_job_handler.h')
-rw-r--r--chrome/service/cloud_print/printer_job_handler.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/service/cloud_print/printer_job_handler.h b/chrome/service/cloud_print/printer_job_handler.h
index 6ac9cbd..574f52b 100644
--- a/chrome/service/cloud_print/printer_job_handler.h
+++ b/chrome/service/cloud_print/printer_job_handler.h
@@ -127,6 +127,13 @@ class PrinterJobHandler : public base::RefCountedThreadSafe<PrinterJobHandler>,
// Begin Delegate implementations
// CloudPrintURLFetcher::Delegate implementation.
+ virtual CloudPrintURLFetcher::ResponseAction HandleRawResponse(
+ const URLFetcher* source,
+ const GURL& url,
+ const net::URLRequestStatus& status,
+ int response_code,
+ const ResponseCookies& cookies,
+ const std::string& data);
virtual CloudPrintURLFetcher::ResponseAction HandleRawData(
const URLFetcher* source,
const GURL& url,