diff options
Diffstat (limited to 'net/disk_cache/mem_entry_impl.h')
-rw-r--r-- | net/disk_cache/mem_entry_impl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/disk_cache/mem_entry_impl.h b/net/disk_cache/mem_entry_impl.h index d6e44dd..cd8c6e7 100644 --- a/net/disk_cache/mem_entry_impl.h +++ b/net/disk_cache/mem_entry_impl.h @@ -24,9 +24,9 @@ class MemEntryImpl : public Entry { virtual base::Time GetLastUsed() const; virtual base::Time GetLastModified() const; virtual int32 GetDataSize(int index) const; - virtual int ReadData(int index, int offset, char* buf, int buf_len, + virtual int ReadData(int index, int offset, net::IOBuffer* buf, int buf_len, net::CompletionCallback* completion_callback); - virtual int WriteData(int index, int offset, const char* buf, int buf_len, + virtual int WriteData(int index, int offset, net::IOBuffer* buf, int buf_len, net::CompletionCallback* completion_callback, bool truncate); |