diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-30 21:34:02 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-30 21:34:02 +0000 |
commit | 6981d96328621a75557dbf843c5aab83bf4f55a3 (patch) | |
tree | 8a95daea7aad9b8bce1ced62fda4068ed296125a /webkit/fileapi/file_writer_delegate.h | |
parent | d4e04a67c7f529bc8137c2dc5618e5a8c2123a13 (diff) | |
download | chromium_src-6981d96328621a75557dbf843c5aab83bf4f55a3.zip chromium_src-6981d96328621a75557dbf843c5aab83bf4f55a3.tar.gz chromium_src-6981d96328621a75557dbf843c5aab83bf4f55a3.tar.bz2 |
net: Remove typedef net::URLRequest URLRequest;
BUG=64263
TEST=compiled locally, trybots
Review URL: http://codereview.chromium.org/5384002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67762 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi/file_writer_delegate.h')
-rw-r--r-- | webkit/fileapi/file_writer_delegate.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/webkit/fileapi/file_writer_delegate.h b/webkit/fileapi/file_writer_delegate.h index ed35ce6..8e90a23 100644 --- a/webkit/fileapi/file_writer_delegate.h +++ b/webkit/fileapi/file_writer_delegate.h @@ -20,28 +20,28 @@ namespace fileapi { class FileSystemOperation; -class FileWriterDelegate : public URLRequest::Delegate { +class FileWriterDelegate : public net::URLRequest::Delegate { public: FileWriterDelegate( FileSystemOperation* write_operation, int64 offset); virtual ~FileWriterDelegate(); - void Start(base::PlatformFile file, URLRequest* request); + void Start(base::PlatformFile file, net::URLRequest* request); base::PlatformFile file() { return file_; } virtual void OnReceivedRedirect( - URLRequest* request, const GURL& new_url, bool* defer_redirect); + net::URLRequest* request, const GURL& new_url, bool* defer_redirect); virtual void OnAuthRequired( - URLRequest* request, net::AuthChallengeInfo* auth_info); + net::URLRequest* request, net::AuthChallengeInfo* auth_info); virtual void OnCertificateRequested( - URLRequest* request, net::SSLCertRequestInfo* cert_request_info); + net::URLRequest* request, net::SSLCertRequestInfo* cert_request_info); virtual void OnSSLCertificateError( - URLRequest* request, int cert_error, net::X509Certificate* cert); - virtual void OnResponseStarted(URLRequest* request); - virtual void OnReadCompleted(URLRequest* request, int bytes_read); + net::URLRequest* request, int cert_error, net::X509Certificate* cert); + virtual void OnResponseStarted(net::URLRequest* request); + virtual void OnReadCompleted(net::URLRequest* request, int bytes_read); private: void Read(); @@ -60,7 +60,7 @@ class FileWriterDelegate : public URLRequest::Delegate { int bytes_read_; scoped_refptr<net::IOBufferWithSize> io_buffer_; scoped_ptr<net::FileStream> file_stream_; - URLRequest* request_; + net::URLRequest* request_; base::ScopedCallbackFactory<FileWriterDelegate> callback_factory_; ScopedRunnableMethodFactory<FileWriterDelegate> method_factory_; }; |