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

Side by Side Diff: chrome/browser/ssl/chrome_expect_staple_reporter.h

Issue 2040513003: Implement Expect-Staple (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
(Empty)
1 // Copyright 2016 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 #ifndef CHROME_BROWSER_SSL_CHROME_EXPECT_STAPLE_REPORTER_H_
6 #define CHROME_BROWSER_SSL_CHROME_EXPECT_STAPLE_REPORTER_H_
7
8 #include "base/macros.h"
9 #include "net/http/transport_security_state.h"
10
11 namespace net {
12 class CertificateReportSender;
13 class URLRequestContext;
14 } // namespace net
15
16 class ChromeExpectStapleReporter
17 : public net::TransportSecurityState::ExpectStapleReporter {
18 public:
19 explicit ChromeExpectStapleReporter(net::URLRequestContext* request_context);
20 ~ChromeExpectStapleReporter() override;
21
22 // net::ExpectStapleReporter:
23 void OnExpectStapleFailed(const net::HostPortPair& host_port_pair,
24 const GURL& report_uri,
25 const net::SSLInfo& ssl_info) override;
26
27 private:
28 std::unique_ptr<net::CertificateReportSender> report_sender_;
29
30 DISALLOW_COPY_AND_ASSIGN(ChromeExpectStapleReporter);
31 };
32
33 #endif // CHROME_BROWSER_SSL_CHROME_EXPECT_STAPLE_REPORTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698