Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2166)

Unified Diff: chrome/common/net/url_request_intercept_job.h

Issue 18390: Change URLRequest to use a ref-counted buffer for actual IO.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/chrome_plugin_unittest.cc ('k') | chrome/common/net/url_request_intercept_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/url_request_intercept_job.h
===================================================================
--- chrome/common/net/url_request_intercept_job.h (revision 8565)
+++ chrome/common/net/url_request_intercept_job.h (working copy)
@@ -34,7 +34,7 @@
// URLRequestJob
virtual void Start();
virtual void Kill();
- virtual bool ReadRawData(char* buf, int buf_size, int* bytes_read);
+ virtual bool ReadRawData(net::IOBuffer* buf, int buf_size, int* bytes_read);
virtual bool GetMimeType(std::string* mime_type);
virtual bool GetCharset(std::string* charset);
virtual void GetResponseInfo(net::HttpResponseInfo* info);
@@ -53,7 +53,7 @@
scoped_ptr<ScopableCPRequest> cprequest_;
ChromePluginLib* plugin_;
bool got_headers_;
- char* read_buffer_;
+ net::IOBuffer* read_buffer_;
int read_buffer_size_;
DISALLOW_EVIL_CONSTRUCTORS(URLRequestInterceptJob);
« no previous file with comments | « chrome/common/chrome_plugin_unittest.cc ('k') | chrome/common/net/url_request_intercept_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698