From 0f9813550e8055faab81e77a9e134b3cff3aa3b3 Mon Sep 17 00:00:00 2001 From: "phajdan.jr@chromium.org" Date: Mon, 27 Jul 2009 22:49:15 +0000 Subject: 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 --- net/url_request/url_request_new_ftp_job.cc | 2 +- net/url_request/url_request_new_ftp_job.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'net') 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(); -- cgit v1.1