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

Unified Diff: webkit/blob/blob_url_request_job.h

Issue 9402014: net: FileStream::Read/Write() to take IOBuffer* instead of char* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix redirect_to_file_resource_handler.cc Created 8 years, 10 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 | « net/url_request/url_request_file_job.cc ('k') | webkit/blob/blob_url_request_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/blob/blob_url_request_job.h
diff --git a/webkit/blob/blob_url_request_job.h b/webkit/blob/blob_url_request_job.h
index 6652ca3d58727b4da17434a1b5468364e7f0290b..c069a6c7c3a57c1b59755b8658fe67d64f7f93b0 100644
--- a/webkit/blob/blob_url_request_job.h
+++ b/webkit/blob/blob_url_request_job.h
@@ -19,7 +19,9 @@ struct PlatformFileInfo;
}
namespace net {
+class DrainableIOBuffer;
class FileStream;
+class IOBuffer;
}
namespace webkit_blob {
@@ -79,10 +81,7 @@ class BLOB_EXPORT BlobURLRequestJob : public net::URLRequestJob {
int64 total_size_;
int64 current_item_offset_;
int64 remaining_bytes_;
- scoped_refptr<net::IOBuffer> read_buf_;
- int read_buf_offset_;
- int read_buf_size_;
- int read_buf_remaining_bytes_;
+ scoped_refptr<net::DrainableIOBuffer> read_buf_;
int bytes_to_read_;
bool error_;
bool headers_set_;
« no previous file with comments | « net/url_request/url_request_file_job.cc ('k') | webkit/blob/blob_url_request_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698