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

Unified Diff: net/base/file_stream.h

Issue 323683002: net: FileStream cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add DCHECK, fix ASSERT message Created 6 years, 6 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/file_stream.h
diff --git a/net/base/file_stream.h b/net/base/file_stream.h
index 57011b77decb8103fee14803db14c5e3046df764..89db65e15b5ae49e50de78874e64c3babf7df640 100644
--- a/net/base/file_stream.h
+++ b/net/base/file_stream.h
@@ -12,7 +12,6 @@
#include "base/files/file.h"
#include "net/base/completion_callback.h"
-#include "net/base/file_stream_whence.h"
#include "net/base/net_export.h"
namespace base {
@@ -69,7 +68,7 @@ class NET_EXPORT FileStream {
// relative to the start of the file. Otherwise, an error code is returned.
// It is invalid to request any asynchronous operations while there is an
// in-flight asynchronous operation.
- virtual int Seek(Whence whence, int64 offset,
+ virtual int Seek(base::File::Whence whence, int64 offset,
const Int64CompletionCallback& callback);
// Call this method to read data from the current stream position

Powered by Google App Engine
This is Rietveld 408576698