// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This file defines MockFileStream, a test class for FileStream. #ifndef NET_BASE_MOCK_FILE_STREAM_H_ #define NET_BASE_MOCK_FILE_STREAM_H_ #include <stdint.h> #include "base/compiler_specific.h" #include "base/files/file_path.h" #include "base/memory/weak_ptr.h" #include "net/base/completion_once_callback.h" #include "net/base/file_stream.h" #include "net/base/net_errors.h" namespace net { class IOBuffer; namespace testing { class MockFileStream : public FileStream { … }; } // namespace testing } // namespace net #endif // NET_BASE_MOCK_FILE_STREAM_H_