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

Unified Diff: net/base/mock_file_stream.h

Issue 11030044: Merge 159454 - Flush at the end of local file writing in FileWriter API. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1271/src/
Patch Set: Created 8 years, 2 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
===================================================================
--- net/base/mock_file_stream.h (revision 160294)
+++ net/base/mock_file_stream.h (working copy)
@@ -43,7 +43,8 @@
const CompletionCallback& callback) OVERRIDE;
virtual int WriteSync(const char* buf, int buf_len) OVERRIDE;
virtual int64 Truncate(int64 bytes) OVERRIDE;
- virtual int Flush() OVERRIDE;
+ virtual int Flush(const CompletionCallback& callback) OVERRIDE;
+ virtual int FlushSync() OVERRIDE;
void set_forced_error(int error) { forced_error_ = error; }
void clear_forced_error() { forced_error_ = net::OK; }
« 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