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

Unified Diff: net/base/mock_file_stream.h

Issue 9288084: Added Net logging to FileStream. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed copyright issue. Created 8 years, 11 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/net_log.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/mock_file_stream.h
diff --git a/net/base/mock_file_stream.h b/net/base/mock_file_stream.h
index be711e1825afb98c58a0a8e6f05526e2d15d0fdd..d8a56d7502f3437dc32ebed819ccae43b1fb6d69 100644
--- a/net/base/mock_file_stream.h
+++ b/net/base/mock_file_stream.h
@@ -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.
@@ -20,10 +20,11 @@ namespace testing {
class MockFileStream : public net::FileStream {
public:
- MockFileStream() : forced_error_(net::OK) {}
+ MockFileStream(net::NetLog* net_log)
+ : net::FileStream(net_log), forced_error_(net::OK) {}
- MockFileStream(base::PlatformFile file, int flags)
- : net::FileStream(file, flags), forced_error_(net::OK) {}
+ MockFileStream(base::PlatformFile file, int flags, net::NetLog* net_log)
+ : net::FileStream(file, flags, net_log), forced_error_(net::OK) {}
// FileStream methods.
virtual int Open(const FilePath& path, int open_flags) OVERRIDE;
« no previous file with comments | « net/base/file_stream_win.cc ('k') | net/base/net_log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698