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

Side by Side Diff: net/http/http_security_headers_unittest.cc

Issue 14223008: net: Update the include paths of base/string_piece.h to its new location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « net/http/http_response_headers.cc ('k') | net/http/http_stream_parser.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) 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 "base/base64.h" 5 #include "base/base64.h"
6 #include "base/sha1.h" 6 #include "base/sha1.h"
7 #include "base/string_piece.h" 7 #include "base/strings/string_piece.h"
8 #include "crypto/sha2.h" 8 #include "crypto/sha2.h"
9 #include "net/base/net_log.h" 9 #include "net/base/net_log.h"
10 #include "net/base/test_completion_callback.h" 10 #include "net/base/test_completion_callback.h"
11 #include "net/http/http_security_headers.h" 11 #include "net/http/http_security_headers.h"
12 #include "net/http/http_util.h" 12 #include "net/http/http_util.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 14
15 namespace net { 15 namespace net {
16 16
17 namespace { 17 namespace {
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 417
418 TEST_F(HttpSecurityHeadersTest, ValidPinsHeadersSHA1) { 418 TEST_F(HttpSecurityHeadersTest, ValidPinsHeadersSHA1) {
419 TestValidPinsHeaders(HASH_VALUE_SHA1); 419 TestValidPinsHeaders(HASH_VALUE_SHA1);
420 } 420 }
421 421
422 TEST_F(HttpSecurityHeadersTest, ValidPinsHeadersSHA256) { 422 TEST_F(HttpSecurityHeadersTest, ValidPinsHeadersSHA256) {
423 TestValidPinsHeaders(HASH_VALUE_SHA256); 423 TestValidPinsHeaders(HASH_VALUE_SHA256);
424 } 424 }
425 425
426 }; // namespace net 426 }; // namespace net
OLDNEW
« no previous file with comments | « net/http/http_response_headers.cc ('k') | net/http/http_stream_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698