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

Unified Diff: net/base/mock_file_stream.cc

Issue 9349005: net: Rename FileStream::Open/Close with OpenSync/CloseSync. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win build Created 8 years, 10 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.cc
diff --git a/net/base/mock_file_stream.cc b/net/base/mock_file_stream.cc
index cb59cf9bfb10b1a22001145d67cce28b3bdeed52..4e28313d9f4a9f80a0719ec37a52a2b69c389966 100644
--- a/net/base/mock_file_stream.cc
+++ b/net/base/mock_file_stream.cc
@@ -8,9 +8,9 @@ namespace net {
namespace testing {
-int MockFileStream::Open(const FilePath& path, int open_flags) {
+int MockFileStream::OpenSync(const FilePath& path, int open_flags) {
path_ = path;
- return ReturnError(FileStream::Open(path, open_flags));
+ return ReturnError(FileStream::OpenSync(path, open_flags));
}
int64 MockFileStream::Seek(Whence whence, int64 offset) {

Powered by Google App Engine
This is Rietveld 408576698