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

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

Issue 1440643002: Certificate Transparency: Per-profile CT verification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing iOS compilation Created 5 years 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
« no previous file with comments | « ios/chrome/browser/ios_chrome_io_thread.cc ('k') | net/cert/ct_known_logs.cc » ('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 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 <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/strings/string_piece.h" 11 #include "base/strings/string_piece.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "net/base/net_export.h" 13 #include "net/base/net_export.h"
14 14
15 namespace net { 15 namespace net {
16 16
17 class CTLogVerifier; 17 class CTLogVerifier;
18 18
19 namespace ct { 19 namespace ct {
20 20
21 #if !defined(OS_NACL) 21 #if !defined(OS_NACL)
22 // CreateLogVerifiersForKnownLogs returns a vector of CT logs for all the known 22 // CreateLogVerifiersForKnownLogs returns a vector of CT logs for all the known
23 // and trusted logs. 23 // and trusted logs.
24 NET_EXPORT std::vector<scoped_refptr<CTLogVerifier>> 24 NET_EXPORT std::vector<scoped_refptr<const CTLogVerifier>>
25 CreateLogVerifiersForKnownLogs(); 25 CreateLogVerifiersForKnownLogs();
26 #endif 26 #endif
27 27
28 NET_EXPORT bool IsLogOperatedByGoogle(base::StringPiece log_id); 28 NET_EXPORT bool IsLogOperatedByGoogle(base::StringPiece log_id);
29 29
30 } // namespace ct 30 } // namespace ct
31 31
32 } // namespace net 32 } // namespace net
33 33
34 #endif // NET_CERT_CT_KNOWN_LOGS_H_ 34 #endif // NET_CERT_CT_KNOWN_LOGS_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ios_chrome_io_thread.cc ('k') | net/cert/ct_known_logs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698