Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / net / quic / test_tools / mock_crypto_client_stream_factory.h
index ac1184f..721ec25 100644 (file)
@@ -13,7 +13,7 @@
 
 namespace net {
 
-class QuicSessionKey;
+class QuicServerId;
 
 class MockCryptoClientStreamFactory : public QuicCryptoClientStreamFactory  {
  public:
@@ -21,7 +21,7 @@ class MockCryptoClientStreamFactory : public QuicCryptoClientStreamFactory  {
   virtual ~MockCryptoClientStreamFactory() {}
 
   virtual QuicCryptoClientStream* CreateQuicCryptoClientStream(
-      const QuicSessionKey& server_key,
+      const QuicServerId& server_id,
       QuicClientSession* session,
       QuicCryptoClientConfig* crypto_config) OVERRIDE;
 
@@ -43,6 +43,8 @@ class MockCryptoClientStreamFactory : public QuicCryptoClientStreamFactory  {
   MockCryptoClientStream::HandshakeMode handshake_mode_;
   MockCryptoClientStream* last_stream_;
   const ProofVerifyDetails* proof_verify_details_;
+
+  DISALLOW_COPY_AND_ASSIGN(MockCryptoClientStreamFactory);
 };
 
 }  // namespace net