summaryrefslogtreecommitdiffstats
path: root/net/url_request
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-27 22:49:15 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-27 22:49:15 +0000
commit0f9813550e8055faab81e77a9e134b3cff3aa3b3 (patch)
tree524a73ae2ce44394af1b71847b353ebc01623a70 /net/url_request
parent8f271d57db27a0f347f8ef8841591f12c74ca83c (diff)
downloadchromium_src-0f9813550e8055faab81e77a9e134b3cff3aa3b3.zip
chromium_src-0f9813550e8055faab81e77a9e134b3cff3aa3b3.tar.gz
chromium_src-0f9813550e8055faab81e77a9e134b3cff3aa3b3.tar.bz2
Cleanup in url_request_new_ftp_job.
The header tried overriding a non-virtual method, changing its visibility. By the way, there was no implementation provided for this "overriden" method. I just hit that while fixing other things. Review URL: http://codereview.chromium.org/160173 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21730 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request')
-rw-r--r--net/url_request/url_request_new_ftp_job.cc2
-rw-r--r--net/url_request/url_request_new_ftp_job.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/net/url_request/url_request_new_ftp_job.cc b/net/url_request/url_request_new_ftp_job.cc
index 1bdd6cb..13d6d9e 100644
--- a/net/url_request/url_request_new_ftp_job.cc
+++ b/net/url_request/url_request_new_ftp_job.cc
@@ -245,7 +245,7 @@ void URLRequestNewFtpJob::OnStartCompleted(int result) {
// Clear the IO_PENDING status
SetStatus(URLRequestStatus());
if (result == net::OK) {
- URLRequestJob::NotifyHeadersComplete();
+ NotifyHeadersComplete();
} else {
NotifyStartError(URLRequestStatus(URLRequestStatus::FAILED, result));
}
diff --git a/net/url_request/url_request_new_ftp_job.h b/net/url_request/url_request_new_ftp_job.h
index 69c1fef..4cca9a0 100644
--- a/net/url_request/url_request_new_ftp_job.h
+++ b/net/url_request/url_request_new_ftp_job.h
@@ -35,8 +35,6 @@ class URLRequestNewFtpJob : public URLRequestJob {
virtual uint64 GetUploadProgress() const { return 0; }
virtual bool ReadRawData(net::IOBuffer* buf, int buf_size, int *bytes_read);
- void NotifyHeadersComplete();
-
void DestroyTransaction();
void StartTransaction();