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

Unified Diff: net/base/mock_file_stream.h

Issue 9949011: Make FileStream::Seek async and add FileStream::SeekSync for sync operation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 8 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/base/file_stream_win.cc ('k') | net/base/mock_file_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/mock_file_stream.h
diff --git a/net/base/mock_file_stream.h b/net/base/mock_file_stream.h
index 61c9db80ce1036ffdef73303e6c5b158fdeadd46..020dc9fefa8141ebdb03badf57a16950591d00d5 100644
--- a/net/base/mock_file_stream.h
+++ b/net/base/mock_file_stream.h
@@ -30,7 +30,9 @@ class MockFileStream : public net::FileStream {
// FileStream methods.
virtual int OpenSync(const FilePath& path, int open_flags) OVERRIDE;
- virtual int64 Seek(net::Whence whence, int64 offset) OVERRIDE;
+ virtual int Seek(net::Whence whence, int64 offset,
+ const Int64CompletionCallback& callback) OVERRIDE;
+ virtual int64 SeekSync(net::Whence whence, int64 offset) OVERRIDE;
virtual int64 Available() OVERRIDE;
virtual int Read(IOBuffer* buf,
int buf_len,
« no previous file with comments | « net/base/file_stream_win.cc ('k') | net/base/mock_file_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698