| Index: net/quic/quic_p2p_server_session.h
|
| diff --git a/net/quic/quic_p2p_server_session.h b/net/quic/quic_p2p_server_session.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6a342bb3cf43ea3986918a9db1f3f3f817c4878a
|
| --- /dev/null
|
| +++ b/net/quic/quic_p2p_server_session.h
|
| @@ -0,0 +1,38 @@
|
| +// 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_SERVER_SESSION_H_
|
| +#define NET_QUIC_QUIC_P2P_SERVER_SESSION_H_
|
| +
|
| +#include "base/memory/scoped_ptr.h"
|
| +#include "net/quic/crypto/quic_crypto_server_config.h"
|
| +#include "net/quic/quic_config.h"
|
| +#include "net/quic/quic_crypto_server_stream.h"
|
| +#include "net/quic/quic_message_stream.h"
|
| +#include "net/quic/quic_p2p_session.h"
|
| +#include "net/quic/quic_protocol.h"
|
| +
|
| +namespace net {
|
| +
|
| +class NET_EXPORT QuicP2PServerSession : public QuicP2PSession {
|
| + public:
|
| + QuicP2PServerSession(const QuicConfig& config,
|
| + QuicCryptoServerConfig* crypto_config,
|
| + QuicConnection* connection,
|
| + QuicP2PSession::Delegate* delegate,
|
| + QuicMessageStream::ReadDelegate* read_delegate);
|
| + virtual ~QuicP2PServerSession();
|
| +
|
| + virtual bool Connect() OVERRIDE;
|
| +
|
| + virtual QuicCryptoStream* GetCryptoStream() OVERRIDE;
|
| +
|
| + private:
|
| + scoped_ptr<QuicCryptoServerStream> crypto_stream_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(QuicP2PServerSession);
|
| +};
|
| +
|
| +} // namespace net
|
| +
|
| +#endif // NET_QUIC_QUIC_P2P_SERVER_SESSION_H_
|
|
|