Chromium Code Reviews| OLD | NEW |
|---|---|
| 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_ |
| OLD | NEW |