 Chromium Code Reviews
 Chromium Code Reviews Issue 1579063002:
  Implement a skeleton version of Expect CT reports  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 1579063002:
  Implement a skeleton version of Expect CT reports  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| OLD | NEW | 
|---|---|
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 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 #include "net/url_request/url_request.h" | |
| 11 #include "net/url_request/url_request_context.h" | |
| 
mmenke
2016/03/07 18:28:08
The last two includes are not currently used in th
 
estark
2016/03/08 02:36:06
Done.
 
estark
2016/03/08 02:36:06
Done.
 | |
| 12 | |
| 13 ChromeExpectCTReporter::ChromeExpectCTReporter( | |
| 
mmenke
2016/03/07 18:28:08
Is there going to be anything Chrome specific abou
 
estark
2016/03/07 22:20:32
I did it this way (ChromeExpectCTReporter instead
 
mmenke
2016/03/07 23:08:12
Hrm...Then it seems a little weird that Certificat
 
estark
2016/03/08 02:36:06
net::CertificateReportSender is used by other thin
 | |
| 14 net::URLRequestContext* request_context) | |
| 15 : report_sender_(new net::CertificateReportSender( | |
| 16 request_context, | |
| 17 net::CertificateReportSender::DO_NOT_SEND_COOKIES)) {} | |
| 18 | |
| 19 ChromeExpectCTReporter::~ChromeExpectCTReporter() {} | |
| 20 | |
| 21 void ChromeExpectCTReporter::OnExpectCTFailed( | |
| 22 const net::HostPortPair& host_port_pair, | |
| 23 const GURL& report_uri, | |
| 24 const net::SSLInfo& ssl_info) { | |
| 25 // TODO(estark): build and send a report about the policy | |
| 26 // violation. https://crbug.com/568806 | |
| 27 } | |
| OLD | NEW |