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

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: 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 <vector>
9
10 #include "base/memory/linked_ptr.h"
9 #include "net/base/net_export.h" 11 #include "net/base/net_export.h"
10 12
11 namespace net { 13 namespace net {
12 14
13 class CTLogVerifier; 15 class CTLogVerifier;
14 16
15 namespace ct { 17 namespace ct {
16 18
17 // Creates a CTLogVerifier instance for the Google Pilot CT Log 19 // Meant to be consumed by the caller.
agl 2014/06/13 00:32:05 // CreateLogVerifiersForKnownLogs returns a vector
Ryan Sleevi 2014/06/17 01:02:03 This comment doesn't really provide any descriptio
Eran Messeri 2014/06/17 17:31:41 Done.
Eran Messeri 2014/06/17 17:31:41 Done.
18 NET_EXPORT scoped_ptr<CTLogVerifier> CreateGooglePilotLogVerifier(); 20 NET_EXPORT std::vector<linked_ptr<CTLogVerifier> >
Ryan Sleevi 2014/06/17 01:02:03 Use ScopedVector instead - https://code.google.com
Eran Messeri 2014/06/17 17:31:41 Done.
19 21 CreateLogVerifiersForKnownLogs();
Ryan Sleevi 2014/06/17 01:02:04 four spaces
Eran Messeri 2014/06/17 17:31:41 Done.
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 22
26 } // namespace ct 23 } // namespace ct
27 24
28 } // namespace net 25 } // namespace net
29 26
30 #endif // NET_CERT_CT_KNOWN_LOGS_H_ 27 #endif // NET_CERT_CT_KNOWN_LOGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698