Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / net / quic / quic_crypto_client_stream_factory.h
index 4fa5f57..293fa82 100644 (file)
@@ -11,8 +11,9 @@
 
 namespace net {
 
+class QuicClientSession;
 class QuicCryptoClientStream;
-class QuicSession;
+class QuicServerId;
 
 // An interface used to instantiate QuicCryptoClientStream objects. Used to
 // facilitate testing code with mock implementations.
@@ -21,8 +22,8 @@ class NET_EXPORT QuicCryptoClientStreamFactory {
   virtual ~QuicCryptoClientStreamFactory() {}
 
   virtual QuicCryptoClientStream* CreateQuicCryptoClientStream(
-      const string& server_hostname,
-      QuicSession* session,
+      const QuicServerId& server_id,
+      QuicClientSession* session,
       QuicCryptoClientConfig* crypto_config) = 0;
 };