diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-01 20:38:10 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-01 20:38:10 +0000 |
commit | f1f3f0f8af3740ec2afaebcaed410950a9cc0ac8 (patch) | |
tree | 6ccdd87ccfc89adbcb372c517559fa61fbc6c6b2 /net/http/http_stream.h | |
parent | d1666539b57bf8552e203d355fd09909d36f9732 (diff) | |
download | chromium_src-f1f3f0f8af3740ec2afaebcaed410950a9cc0ac8.zip chromium_src-f1f3f0f8af3740ec2afaebcaed410950a9cc0ac8.tar.gz chromium_src-f1f3f0f8af3740ec2afaebcaed410950a9cc0ac8.tar.bz2 |
Begin CompletionCallback switchover.
Rename CompletionCallback to OldCompletionCallback in preparation for introducing a new CompletionCallback based on base::Callback.
Also renames other CompletionCallback types like CancelableCompletionCallback and TestCompletionCallback and CompletionCallbackImpl. All using sed with s/CompletionCallback/OldCompletionCallback/g.
BUG=98719
TEST=none
Review URL: http://codereview.chromium.org/8070013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103650 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_stream.h')
-rw-r--r-- | net/http/http_stream.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/http/http_stream.h b/net/http/http_stream.h index 45dc46c..7460fb7 100644 --- a/net/http/http_stream.h +++ b/net/http/http_stream.h @@ -40,7 +40,7 @@ class NET_EXPORT_PRIVATE HttpStream { // Returns a net error code, possibly ERR_IO_PENDING. virtual int InitializeStream(const HttpRequestInfo* request_info, const BoundNetLog& net_log, - CompletionCallback* callback) = 0; + OldCompletionCallback* callback) = 0; // Writes the headers and uploads body data to the underlying socket. // ERR_IO_PENDING is returned if the operation could not be completed @@ -50,7 +50,7 @@ class NET_EXPORT_PRIVATE HttpStream { virtual int SendRequest(const HttpRequestHeaders& request_headers, UploadDataStream* request_body, HttpResponseInfo* response, - CompletionCallback* callback) = 0; + OldCompletionCallback* callback) = 0; // Queries the UploadDataStream for its progress (bytes sent). virtual uint64 GetUploadProgress() const = 0; @@ -60,7 +60,7 @@ class NET_EXPORT_PRIVATE HttpStream { // not be completed synchronously, in which case the result will be passed // to the callback when available. Returns OK on success. The response // headers are available in the HttpResponseInfo returned by GetResponseInfo - virtual int ReadResponseHeaders(CompletionCallback* callback) = 0; + virtual int ReadResponseHeaders(OldCompletionCallback* callback) = 0; // Provides access to HttpResponseInfo (owned by HttpStream). virtual const HttpResponseInfo* GetResponseInfo() const = 0; @@ -76,7 +76,7 @@ class NET_EXPORT_PRIVATE HttpStream { // the socket acquires a reference to the provided buffer until the callback // is invoked or the socket is destroyed. virtual int ReadResponseBody(IOBuffer* buf, int buf_len, - CompletionCallback* callback) = 0; + OldCompletionCallback* callback) = 0; // Closes the stream. // |not_reusable| indicates if the stream can be used for further requests. |