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

Unified Diff: net/base/mock_file_stream.h

Issue 1148383003: Only support seeking file streams from the beginning of the file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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: net/base/mock_file_stream.h
diff --git a/net/base/mock_file_stream.h b/net/base/mock_file_stream.h
index 39ea1f3eb3dc4e78c6d1b56e05869f4979f5fe5b..4572b866a27ee964e730e88865dcf8d872864180 100644
--- a/net/base/mock_file_stream.h
+++ b/net/base/mock_file_stream.h
@@ -28,9 +28,7 @@ class MockFileStream : public FileStream {
~MockFileStream() override;
// FileStream methods.
- int Seek(base::File::Whence whence,
- int64 offset,
- const Int64CompletionCallback& callback) override;
+ int Seek(int64 offset, const Int64CompletionCallback& callback) override;
int Read(IOBuffer* buf,
int buf_len,
const CompletionCallback& callback) override;

Powered by Google App Engine
This is Rietveld 408576698