// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef NET_FILTER_MOCK_SOURCE_STREAM_H_ #define NET_FILTER_MOCK_SOURCE_STREAM_H_ #include <string> #include "base/containers/queue.h" #include "base/memory/scoped_refptr.h" #include "net/base/completion_once_callback.h" #include "net/base/net_errors.h" #include "net/filter/source_stream.h" namespace net { class IOBuffer; // A SourceStream implementation used in tests. This allows tests to specify // what data to return for each Read() call. class MockSourceStream : public SourceStream { … }; } // namespace net #endif // NET_FILTER_MOCK_SOURCE_STREAM_H_