summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-30 21:01:09 +0000
committerjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-30 21:01:09 +0000
commit3e23e04c1c5c6ad7a2bf0f36774773ef7c5f61bb (patch)
tree11baf71dba94747512b3041eddea9a056133a162
parent10f4b1a4dc208f5c5be40e845eb0bb349152ae46 (diff)
downloadchromium_src-3e23e04c1c5c6ad7a2bf0f36774773ef7c5f61bb.zip
chromium_src-3e23e04c1c5c6ad7a2bf0f36774773ef7c5f61bb.tar.gz
chromium_src-3e23e04c1c5c6ad7a2bf0f36774773ef7c5f61bb.tar.bz2
Move position of declaration per nit on larger CL that landed
tbr=wtc Review URL: http://codereview.chromium.org/57019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12807 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--net/url_request/url_request_job.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/url_request/url_request_job.h b/net/url_request/url_request_job.h
index af12149..c120bf1 100644
--- a/net/url_request/url_request_job.h
+++ b/net/url_request/url_request_job.h
@@ -104,9 +104,6 @@ class URLRequestJob : public base::RefCountedThreadSafe<URLRequestJob>,
return false;
}
- // Returns the HTTP response code for the request.
- 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
// that doesn't have or specify an encoding type will return false.
@@ -199,6 +196,7 @@ class URLRequestJob : public base::RefCountedThreadSafe<URLRequestJob>,
virtual base::Time GetRequestTime() const;
virtual bool IsCachedContent() const;
virtual int64 GetByteReadCount() const;
+ virtual int GetResponseCode() const { return -1; }
virtual int GetInputStreamBufferSize() const { return kFilterBufSize; }
protected: