Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / net / quic / test_tools / mock_crypto_client_stream.h
index 8567945..e940a1e 100644 (file)
@@ -14,7 +14,7 @@
 
 namespace net {
 
-class QuicSessionKey;
+class QuicServerId;
 
 class MockCryptoClientStream : public QuicCryptoClientStream {
  public:
@@ -36,7 +36,7 @@ class MockCryptoClientStream : public QuicCryptoClientStream {
   };
 
   MockCryptoClientStream(
-      const QuicSessionKey& server_key,
+      const QuicServerId& server_id,
       QuicClientSessionBase* session,
       ProofVerifyContext* verify_context,
       QuicCryptoClientConfig* crypto_config,
@@ -62,6 +62,8 @@ class MockCryptoClientStream : public QuicCryptoClientStream {
   QuicClientSessionBase* client_session();
 
   const ProofVerifyDetails* proof_verify_details_;
+
+  DISALLOW_COPY_AND_ASSIGN(MockCryptoClientStream);
 };
 
 }  // namespace net