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

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

Issue 444053002: net: add pinning for two more Google domains. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 6 years, 4 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 | « no previous file | net/http/transport_security_state_static.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 "net/http/transport_security_state.h" 5 #include "net/http/transport_security_state.h"
6 6
7 #if defined(USE_OPENSSL) 7 #if defined(USE_OPENSSL)
8 #include <openssl/ecdsa.h> 8 #include <openssl/ecdsa.h>
9 #include <openssl/ssl.h> 9 #include <openssl/ssl.h>
10 #else // !defined(USE_OPENSSL) 10 #else // !defined(USE_OPENSSL)
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 540
541 DOMAIN_CHROMIUM_ORG, 541 DOMAIN_CHROMIUM_ORG,
542 542
543 DOMAIN_CRYPTO_CAT, 543 DOMAIN_CRYPTO_CAT,
544 DOMAIN_LAVABIT_COM, 544 DOMAIN_LAVABIT_COM,
545 545
546 DOMAIN_GOOGLETAGMANAGER_COM, 546 DOMAIN_GOOGLETAGMANAGER_COM,
547 DOMAIN_GOOGLETAGSERVICES_COM, 547 DOMAIN_GOOGLETAGSERVICES_COM,
548 548
549 DOMAIN_DROPBOX_COM, 549 DOMAIN_DROPBOX_COM,
550 DOMAIN_YOUTUBE_NOCOOKIE_COM,
551 DOMAIN_2MDN_NET,
550 552
551 // Boundary value for UMA_HISTOGRAM_ENUMERATION: 553 // Boundary value for UMA_HISTOGRAM_ENUMERATION:
552 DOMAIN_NUM_EVENTS 554 DOMAIN_NUM_EVENTS
553 }; 555 };
554 556
555 // PublicKeyPins contains a number of SubjectPublicKeyInfo hashes for a site. 557 // PublicKeyPins contains a number of SubjectPublicKeyInfo hashes for a site.
556 // The validated certificate chain for the site must not include any of 558 // The validated certificate chain for the site must not include any of
557 // |excluded_hashes| and must include one or more of |required_hashes|. 559 // |excluded_hashes| and must include one or more of |required_hashes|.
558 struct PublicKeyPins { 560 struct PublicKeyPins {
559 const char* const* required_hashes; 561 const char* const* required_hashes;
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
953 return pkp.spki_hashes.size() > 0 || pkp.bad_spki_hashes.size() > 0; 955 return pkp.spki_hashes.size() > 0 || pkp.bad_spki_hashes.size() > 0;
954 } 956 }
955 957
956 TransportSecurityState::DomainState::PKPState::PKPState() { 958 TransportSecurityState::DomainState::PKPState::PKPState() {
957 } 959 }
958 960
959 TransportSecurityState::DomainState::PKPState::~PKPState() { 961 TransportSecurityState::DomainState::PKPState::~PKPState() {
960 } 962 }
961 963
962 } // namespace 964 } // namespace
OLDNEW
« no previous file with comments | « no previous file | net/http/transport_security_state_static.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698