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

Unified Diff: net/base/file_stream.cc

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.h ('k') | net/base/file_stream_posix.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/file_stream.cc
diff --git a/net/base/file_stream.cc b/net/base/file_stream.cc
index 818fb2ee537f71150eb01d948450a140adaa6e19..1707fb755ec140ea653c42eff11ebe4834a95529 100644
--- a/net/base/file_stream.cc
+++ b/net/base/file_stream.cc
@@ -39,8 +39,13 @@ bool FileStream::IsOpen() const {
return impl_.IsOpen();
}
-int64 FileStream::Seek(Whence whence, int64 offset) {
- return impl_.Seek(whence, offset);
+int FileStream::Seek(Whence whence, int64 offset,
+ const Int64CompletionCallback& callback) {
+ return impl_.Seek(whence, offset, callback);
+}
+
+int64 FileStream::SeekSync(Whence whence, int64 offset) {
+ return impl_.SeekSync(whence, offset);
}
int64 FileStream::Available() {
« no previous file with comments | « net/base/file_stream.h ('k') | net/base/file_stream_posix.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698