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

Side by Side Diff: net/quic/core/crypto/common_cert_set_test.cc

Issue 2566783002: Various formatting cleanups to net/quic/crypto and net/quic/congestion_control (Closed)
Patch Set: Rebase Created 4 years 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/core/crypto/channel_id_test.cc ('k') | net/quic/core/crypto/crypto_framer.h » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/core/crypto/common_cert_set.h" 5 #include "net/quic/core/crypto/common_cert_set.h"
6 6
7 #include <stdint.h> 7 #include <cstdint>
8 8
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
11 using base::StringPiece; 11 using base::StringPiece;
12 12
13 namespace net { 13 namespace net {
14 namespace test { 14 namespace test {
15 15
16 // Google Internet Authority cert from v2 of the cert set. 16 // Google Internet Authority cert from v2 of the cert set.
17 static const unsigned char kGIACertificate2[] = { 17 static const unsigned char kGIACertificate2[] = {
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 uint64_t hash; 240 uint64_t hash;
241 uint32_t index; 241 uint32_t index;
242 EXPECT_FALSE(sets->MatchCert( 242 EXPECT_FALSE(sets->MatchCert(
243 not_a_cert, 243 not_a_cert,
244 StringPiece(reinterpret_cast<const char*>(&in_hash), sizeof(in_hash)), 244 StringPiece(reinterpret_cast<const char*>(&in_hash), sizeof(in_hash)),
245 &hash, &index)); 245 &hash, &index));
246 } 246 }
247 247
248 } // namespace test 248 } // namespace test
249 } // namespace net 249 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/crypto/channel_id_test.cc ('k') | net/quic/core/crypto/crypto_framer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698