Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: net/quic/crypto/quic_crypto_server_config_test.cc

Issue 1908103002: Landing Recent QUIC changes until 4/15/2016 17:20 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/crypto/quic_crypto_server_config.cc ('k') | net/quic/crypto/strike_register_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/crypto/quic_crypto_server_config.h" 5 #include "net/quic/crypto/quic_crypto_server_config.h"
6 6
7 #include <stdarg.h> 7 #include <stdarg.h>
8 8
9 #include <memory>
10
9 #include "base/stl_util.h" 11 #include "base/stl_util.h"
10 #include "net/quic/crypto/aes_128_gcm_12_encrypter.h" 12 #include "net/quic/crypto/aes_128_gcm_12_encrypter.h"
11 #include "net/quic/crypto/cert_compressor.h" 13 #include "net/quic/crypto/cert_compressor.h"
12 #include "net/quic/crypto/chacha20_poly1305_rfc7539_encrypter.h" 14 #include "net/quic/crypto/chacha20_poly1305_rfc7539_encrypter.h"
13 #include "net/quic/crypto/crypto_handshake_message.h" 15 #include "net/quic/crypto/crypto_handshake_message.h"
14 #include "net/quic/crypto/crypto_secret_boxer.h" 16 #include "net/quic/crypto/crypto_secret_boxer.h"
15 #include "net/quic/crypto/crypto_server_config_protobuf.h" 17 #include "net/quic/crypto/crypto_server_config_protobuf.h"
16 #include "net/quic/crypto/quic_random.h" 18 #include "net/quic/crypto/quic_random.h"
17 #include "net/quic/crypto/strike_register_client.h" 19 #include "net/quic/crypto/strike_register_client.h"
18 #include "net/quic/quic_flags.h" 20 #include "net/quic/quic_flags.h"
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after
774 TEST_F(CryptoServerConfigsTest, InvalidConfigs) { 776 TEST_F(CryptoServerConfigsTest, InvalidConfigs) {
775 // Ensure that invalid configs don't change anything. 777 // Ensure that invalid configs don't change anything.
776 SetConfigs("a", 800, 1, "b", 900, 1, "c", 1100, 1, nullptr); 778 SetConfigs("a", 800, 1, "b", 900, 1, "c", 1100, 1, nullptr);
777 test_peer_.CheckConfigs("a", false, "b", true, "c", false, nullptr); 779 test_peer_.CheckConfigs("a", false, "b", true, "c", false, nullptr);
778 SetConfigs("a", 800, 1, "c", 1100, 1, "INVALID1", 1000, 1, nullptr); 780 SetConfigs("a", 800, 1, "c", 1100, 1, "INVALID1", 1000, 1, nullptr);
779 test_peer_.CheckConfigs("a", false, "b", true, "c", false, nullptr); 781 test_peer_.CheckConfigs("a", false, "b", true, "c", false, nullptr);
780 } 782 }
781 783
782 } // namespace test 784 } // namespace test
783 } // namespace net 785 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/crypto/quic_crypto_server_config.cc ('k') | net/quic/crypto/strike_register_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698