summaryrefslogtreecommitdiffstats
path: root/net/quic/quic_client_session.h
diff options
context:
space:
mode:
authorrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-24 02:41:23 +0000
committerrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-24 02:41:23 +0000
commit90f62f09472e09817ec52ed2ab821b18a5cabdf3 (patch)
tree7002fb2baab65229f6c1680614960d71c02cabc9 /net/quic/quic_client_session.h
parent2c332d33707d7735d4a1bf36be482c88a9e22b64 (diff)
downloadchromium_src-90f62f09472e09817ec52ed2ab821b18a5cabdf3.zip
chromium_src-90f62f09472e09817ec52ed2ab821b18a5cabdf3.tar.gz
chromium_src-90f62f09472e09817ec52ed2ab821b18a5cabdf3.tar.bz2
Remove QuicCryptoClientStream::Visitor, and instead introduce a
QuicClientSessionBase to serve a similar purpose. Review URL: https://codereview.chromium.org/207113002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258847 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/quic/quic_client_session.h')
-rw-r--r--net/quic/quic_client_session.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/net/quic/quic_client_session.h b/net/quic/quic_client_session.h
index f9d3b7f..ea31dc1 100644
--- a/net/quic/quic_client_session.h
+++ b/net/quic/quic_client_session.h
@@ -17,11 +17,11 @@
#include "base/memory/scoped_ptr.h"
#include "net/base/completion_callback.h"
#include "net/proxy/proxy_server.h"
+#include "net/quic/quic_client_session_base.h"
#include "net/quic/quic_connection_logger.h"
#include "net/quic/quic_crypto_client_stream.h"
#include "net/quic/quic_protocol.h"
#include "net/quic/quic_reliable_client_stream.h"
-#include "net/quic/quic_session.h"
namespace net {
@@ -39,9 +39,7 @@ namespace test {
class QuicClientSessionPeer;
} // namespace test
-class NET_EXPORT_PRIVATE QuicClientSession :
- public QuicSession,
- public QuicCryptoClientStream::Visitor {
+class NET_EXPORT_PRIVATE QuicClientSession : public QuicClientSessionBase {
public:
// An interface for observing events on a session.
class NET_EXPORT_PRIVATE Observer {
@@ -136,7 +134,7 @@ class NET_EXPORT_PRIVATE QuicClientSession :
const CryptoHandshakeMessage& message) OVERRIDE;
virtual bool GetSSLInfo(SSLInfo* ssl_info) const OVERRIDE;
- // QuicCryptoClientStream::Visitor methods:
+ // QuicClientSessionBase methods:
virtual void OnProofValid(
const QuicCryptoClientConfig::CachedState& cached) OVERRIDE;
virtual void OnProofVerifyDetailsAvailable(