Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / net / tools / quic / test_tools / quic_client_peer.h
index b26fc6d..ee520e1 100644 (file)
@@ -10,6 +10,7 @@
 namespace net {
 
 class QuicCryptoClientConfig;
+class QuicPacketWriter;
 
 namespace tools {
 
@@ -22,6 +23,7 @@ class QuicClientPeer {
   static QuicCryptoClientConfig* GetCryptoConfig(QuicClient* client);
   static bool CreateUDPSocket(QuicClient* client);
   static void SetClientPort(QuicClient* client, int port);
+  static void SetWriter(QuicClient* client, QuicPacketWriter* writer);
 
  private:
   DISALLOW_COPY_AND_ASSIGN(QuicClientPeer);