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..afca7474540f2de60f74e4e7d5dc2a54c833bfcd 100644 |
--- a/net/base/mock_file_stream.cc |
+++ b/net/base/mock_file_stream.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -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) { |