summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/mem_entry_impl.h
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-10 23:08:33 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-10 23:08:33 +0000
commit4d8a425272c3a2749c9a0d13cce43df3be8de789 (patch)
treecf903adb661feb8477e06ffe465101ef4eb6b91e /net/disk_cache/mem_entry_impl.h
parentc07d895f10758a47d36ba70cbd9f032ad9e34477 (diff)
downloadchromium_src-4d8a425272c3a2749c9a0d13cce43df3be8de789.zip
chromium_src-4d8a425272c3a2749c9a0d13cce43df3be8de789.tar.gz
chromium_src-4d8a425272c3a2749c9a0d13cce43df3be8de789.tar.bz2
Extend the IOBuffer to the disk cache.
This is cleanup from bug 5325. Review URL: http://codereview.chromium.org/20134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9528 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/mem_entry_impl.h')
-rw-r--r--net/disk_cache/mem_entry_impl.h4
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);