OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
eroman
2016/03/08 23:40:47
nit: 2016
estark
2016/03/08 23:46:32
Done.
| |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "chrome/browser/ssl/chrome_expect_ct_reporter.h" | |
6 | |
7 #include <string> | |
8 | |
9 #include "net/url_request/certificate_report_sender.h" | |
10 | |
11 ChromeExpectCTReporter::ChromeExpectCTReporter( | |
12 net::URLRequestContext* request_context) | |
13 : report_sender_(new net::CertificateReportSender( | |
14 request_context, | |
15 net::CertificateReportSender::DO_NOT_SEND_COOKIES)) {} | |
16 | |
17 ChromeExpectCTReporter::~ChromeExpectCTReporter() {} | |
18 | |
19 void ChromeExpectCTReporter::OnExpectCTFailed( | |
20 const net::HostPortPair& host_port_pair, | |
21 const GURL& report_uri, | |
22 const net::SSLInfo& ssl_info) { | |
23 // TODO(estark): build and send a report about the policy | |
24 // violation. https://crbug.com/568806 | |
25 } | |
OLD | NEW |