blob: d40a647f48056ae1b9a33cf7d16de4bf6ed34830 [file] [log] [blame]
// Copyright 2016 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.
#ifndef QUICHE_QUIC_TEST_TOOLS_MOCK_QUIC_CLIENT_PROMISED_INFO_H_
#define QUICHE_QUIC_TEST_TOOLS_MOCK_QUIC_CLIENT_PROMISED_INFO_H_
#include <string>
#include "quic/core/http/quic_client_promised_info.h"
#include "quic/core/quic_packets.h"
#include "quic/platform/api/quic_test.h"
namespace quic {
namespace test {
class MockQuicClientPromisedInfo : public QuicClientPromisedInfo {
public:
MockQuicClientPromisedInfo(QuicSpdyClientSessionBase* session,
QuicStreamId id,
std::string url);
~MockQuicClientPromisedInfo() override;
MOCK_METHOD(QuicAsyncStatus,
HandleClientRequest,
(const spdy::SpdyHeaderBlock& headers,
QuicClientPushPromiseIndex::Delegate*),
(override));
};
} // namespace test
} // namespace quic
#endif // QUICHE_QUIC_TEST_TOOLS_MOCK_QUIC_CLIENT_PROMISED_INFO_H_