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

Unified Diff: net/url_request/url_request_job.h

Issue 56043: Use HTTP status return code to make SDCH handling more robust... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/url_request/url_request_http_job.cc ('k') | net/url_request/url_request_new_ftp_job.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_job.h
===================================================================
--- net/url_request/url_request_job.h (revision 12762)
+++ net/url_request/url_request_job.h (working copy)
@@ -105,7 +105,7 @@
}
// Returns the HTTP response code for the request.
- virtual int GetResponseCode() { return -1; }
+ virtual int GetResponseCode() const { return -1; }
// Called to fetch the encoding types for this request. Only makes sense for
// some types of requests. Returns true on success. Calling this on a request
@@ -195,10 +195,10 @@
// FilterContext methods:
// These methods are not applicable to all connections.
virtual bool GetMimeType(std::string* mime_type) const { return false; }
- virtual int64 GetByteReadCount() const;
virtual bool GetURL(GURL* gurl) const;
virtual base::Time GetRequestTime() const;
virtual bool IsCachedContent() const;
+ virtual int64 GetByteReadCount() const;
virtual int GetInputStreamBufferSize() const { return kFilterBufSize; }
protected:
« no previous file with comments | « net/url_request/url_request_http_job.cc ('k') | net/url_request/url_request_new_ftp_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698