| Index: net/quic/quic_p2p_client_session.h
|
| diff --git a/net/quic/quic_p2p_client_session.h b/net/quic/quic_p2p_client_session.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7a39b38723ba1aff857fd163a9a9c531a394b6cb
|
| --- /dev/null
|
| +++ b/net/quic/quic_p2p_client_session.h
|
| @@ -0,0 +1,40 @@
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef NET_QUIC_QUIC_P2P_CLIENT_SESSION_H_
|
| +#define NET_QUIC_QUIC_P2P_CLIENT_SESSION_H_
|
| +
|
| +#include "base/memory/scoped_ptr.h"
|
| +#include "net/quic/crypto/quic_crypto_client_config.h"
|
| +#include "net/quic/quic_config.h"
|
| +#include "net/quic/quic_crypto_client_stream.h"
|
| +#include "net/quic/quic_message_stream.h"
|
| +#include "net/quic/quic_p2p_session.h"
|
| +#include "net/quic/quic_protocol.h"
|
| +#include "net/quic/quic_server_id.h"
|
| +
|
| +namespace net {
|
| +
|
| +class NET_EXPORT QuicP2PClientSession : public QuicP2PSession {
|
| + public:
|
| + QuicP2PClientSession(const QuicConfig& config,
|
| + const QuicServerId& server_id,
|
| + QuicCryptoClientConfig* crypto_config,
|
| + QuicConnection* connection,
|
| + QuicP2PSession::Delegate* delegate,
|
| + QuicMessageStream::ReadDelegate* read_delegate);
|
| + virtual ~QuicP2PClientSession();
|
| +
|
| + virtual bool Connect() OVERRIDE;
|
| +
|
| + virtual QuicCryptoStream* GetCryptoStream() OVERRIDE;
|
| +
|
| + private:
|
| + scoped_ptr<QuicCryptoClientStream> crypto_stream_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(QuicP2PClientSession);
|
| +};
|
| +
|
| +} // namespace net
|
| +
|
| +#endif // NET_QUIC_QUIC_P2P_CLIENT_SESSION_H_
|
|
|