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

Side by Side Diff: net/cert/ct_known_logs.h

Issue 337603003: Certificate Transparency: Switch to using a generated CT log list (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing final nit Created 6 years, 6 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
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 #ifndef NET_CERT_CT_KNOWN_LOGS_H_ 5 #ifndef NET_CERT_CT_KNOWN_LOGS_H_
6 #define NET_CERT_CT_KNOWN_LOGS_H_ 6 #define NET_CERT_CT_KNOWN_LOGS_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_vector.h"
9 #include "net/base/net_export.h" 9 #include "net/base/net_export.h"
10 10
11 namespace net { 11 namespace net {
12 12
13 class CTLogVerifier; 13 class CTLogVerifier;
14 14
15 namespace ct { 15 namespace ct {
16 16
17 // Creates a CTLogVerifier instance for the Google Pilot CT Log 17 // CreateLogVerifiersForKnownLogs returns a vector of CT logs for all the known
18 NET_EXPORT scoped_ptr<CTLogVerifier> CreateGooglePilotLogVerifier(); 18 // and trusted logs.
19 19 NET_EXPORT ScopedVector<CTLogVerifier> CreateLogVerifiersForKnownLogs();
20 // Creates a CTLogVerifier instance for the Google "Aviator" Log
21 NET_EXPORT scoped_ptr<CTLogVerifier> CreateGoogleAviatorLogVerifier();
22
23 // Creates a CTLogVerifier instance for the Google "Rocketeer" Log
24 NET_EXPORT scoped_ptr<CTLogVerifier> CreateGoogleRocketeerLogVerifier();
25 20
26 } // namespace ct 21 } // namespace ct
27 22
28 } // namespace net 23 } // namespace net
29 24
30 #endif // NET_CERT_CT_KNOWN_LOGS_H_ 25 #endif // NET_CERT_CT_KNOWN_LOGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698