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

Side by Side Diff: net/base/dnssec_unittest.cc

Issue 3176026: FBTF: Remove unneeded headers from base/ (part 7) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « media/filters/ffmpeg_video_allocator.cc ('k') | net/base/ssl_cipher_suite_names.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "base/logging.h"
6 #include "net/base/dnssec_chain_verifier.h" 5 #include "net/base/dnssec_chain_verifier.h"
7 #include "net/base/dnssec_keyset.h" 6 #include "net/base/dnssec_keyset.h"
8 #include "net/base/dns_util.h" 7 #include "net/base/dns_util.h"
9 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
10 9
11 namespace { 10 namespace {
12 11
13 class SignatureVerifierDNSSECTest : public testing::Test { 12 class SignatureVerifierDNSSECTest : public testing::Test {
14 }; 13 };
15 14
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 393
395 unsigned byte = bit_to_flip >> 3; 394 unsigned byte = bit_to_flip >> 3;
396 unsigned bit = bit_to_flip & 7; 395 unsigned bit = bit_to_flip & 7;
397 copy[byte] ^= (1 << bit); 396 copy[byte] ^= (1 << bit);
398 397
399 net::DNSSECChainVerifier verifier(FromDNSName("dnssec-exp.org"), chain); 398 net::DNSSECChainVerifier verifier(FromDNSName("dnssec-exp.org"), chain);
400 verifier.IgnoreTimestamps(); 399 verifier.IgnoreTimestamps();
401 ASSERT_NE(net::DNSSECChainVerifier::OK, verifier.Verify()); 400 ASSERT_NE(net::DNSSECChainVerifier::OK, verifier.Verify());
402 } 401 }
403 } 402 }
OLDNEW
« no previous file with comments | « media/filters/ffmpeg_video_allocator.cc ('k') | net/base/ssl_cipher_suite_names.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698