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

Unified Diff: content/browser/renderer_host/redirect_to_file_resource_handler.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: rebased 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
Index: content/browser/renderer_host/redirect_to_file_resource_handler.h
diff --git a/content/browser/renderer_host/redirect_to_file_resource_handler.h b/content/browser/renderer_host/redirect_to_file_resource_handler.h
index 5178ed4f899abbf984046983bfe9b13f580dee16..f9d86d749e1a85f35f588297199a30e9f64cf13c 100644
--- a/content/browser/renderer_host/redirect_to_file_resource_handler.h
+++ b/content/browser/renderer_host/redirect_to_file_resource_handler.h
@@ -16,6 +16,7 @@
class ResourceDispatcherHost;
namespace net {
+class DrainableIOBuffer;
class FileStream;
class GrowableIOBuffer;
}
@@ -76,7 +77,7 @@ class RedirectToFileResourceHandler : public LayeredResourceHandler {
scoped_refptr<net::GrowableIOBuffer> buf_;
bool buf_write_pending_;
- int write_cursor_;
+ scoped_refptr<net::DrainableIOBuffer> write_cursor_;
scoped_ptr<net::FileStream> file_stream_;
bool write_callback_pending_;
« no previous file with comments | « no previous file | content/browser/renderer_host/redirect_to_file_resource_handler.cc » ('j') | net/base/file_stream.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698