| OLD | NEW | 
|    1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |    1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 
|    2 // Use of this source code is governed by a BSD-style license that can be |    2 // Use of this source code is governed by a BSD-style license that can be | 
|    3 // found in the LICENSE file. |    3 // found in the LICENSE file. | 
|    4  |    4  | 
|    5 #include "net/quic/quic_session.h" |    5 #include "net/quic/quic_session.h" | 
|    6  |    6  | 
|    7 #include <set> |    7 #include <set> | 
|    8  |    8  | 
|    9 #include "base/hash_tables.h" |    9 #include "base/containers/hash_tables.h" | 
|   10 #include "net/quic/crypto/crypto_handshake.h" |   10 #include "net/quic/crypto/crypto_handshake.h" | 
|   11 #include "net/quic/quic_connection.h" |   11 #include "net/quic/quic_connection.h" | 
|   12 #include "net/quic/quic_protocol.h" |   12 #include "net/quic/quic_protocol.h" | 
|   13 #include "net/quic/test_tools/quic_connection_peer.h" |   13 #include "net/quic/test_tools/quic_connection_peer.h" | 
|   14 #include "net/quic/test_tools/quic_test_utils.h" |   14 #include "net/quic/test_tools/quic_test_utils.h" | 
|   15 #include "testing/gmock/include/gmock/gmock.h" |   15 #include "testing/gmock/include/gmock/gmock.h" | 
|   16 #include "testing/gtest/include/gtest/gtest.h" |   16 #include "testing/gtest/include/gtest/gtest.h" | 
|   17  |   17  | 
|   18 using base::hash_map; |   18 using base::hash_map; | 
|   19 using std::set; |   19 using std::set; | 
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  236             QuicConnectionPeer::GetNetworkTimeout(connection_).ToSeconds()); |  236             QuicConnectionPeer::GetNetworkTimeout(connection_).ToSeconds()); | 
|  237   CryptoHandshakeMessage msg; |  237   CryptoHandshakeMessage msg; | 
|  238   session_.crypto_stream_.OnHandshakeMessage(msg); |  238   session_.crypto_stream_.OnHandshakeMessage(msg); | 
|  239   EXPECT_EQ(kDefaultTimeoutSecs, |  239   EXPECT_EQ(kDefaultTimeoutSecs, | 
|  240             QuicConnectionPeer::GetNetworkTimeout(connection_).ToSeconds()); |  240             QuicConnectionPeer::GetNetworkTimeout(connection_).ToSeconds()); | 
|  241 } |  241 } | 
|  242  |  242  | 
|  243 }  // namespace |  243 }  // namespace | 
|  244 }  // namespace test |  244 }  // namespace test | 
|  245 }  // namespace net |  245 }  // namespace net | 
| OLD | NEW |