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

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

Issue 1863663002: Use Finch flag instead of command line for Expect CT reporting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 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 CHROME_BROWSER_SSL_CHROME_EXPECT_CT_REPORTER_H_ 5 #ifndef CHROME_BROWSER_SSL_CHROME_EXPECT_CT_REPORTER_H_
6 #define CHROME_BROWSER_SSL_CHROME_EXPECT_CT_REPORTER_H_ 6 #define CHROME_BROWSER_SSL_CHROME_EXPECT_CT_REPORTER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "net/http/transport_security_state.h" 10 #include "net/http/transport_security_state.h"
(...skipping 12 matching lines...) Expand all
23 public: 23 public:
24 explicit ChromeExpectCTReporter(net::URLRequestContext* request_context); 24 explicit ChromeExpectCTReporter(net::URLRequestContext* request_context);
25 ~ChromeExpectCTReporter() override; 25 ~ChromeExpectCTReporter() override;
26 26
27 // net::ExpectCTReporter: 27 // net::ExpectCTReporter:
28 void OnExpectCTFailed(const net::HostPortPair& host_port_pair, 28 void OnExpectCTFailed(const net::HostPortPair& host_port_pair,
29 const GURL& report_uri, 29 const GURL& report_uri,
30 const net::SSLInfo& ssl_info) override; 30 const net::SSLInfo& ssl_info) override;
31 31
32 private: 32 private:
33 FRIEND_TEST_ALL_PREFIXES(ChromeExpectCTReporterTest, NoCommandLineSwitch); 33 FRIEND_TEST_ALL_PREFIXES(ChromeExpectCTReporterTest, FeatureDisabled);
34 FRIEND_TEST_ALL_PREFIXES(ChromeExpectCTReporterTest, EmptyReportURI); 34 FRIEND_TEST_ALL_PREFIXES(ChromeExpectCTReporterTest, EmptyReportURI);
35 FRIEND_TEST_ALL_PREFIXES(ChromeExpectCTReporterTest, SendReport); 35 FRIEND_TEST_ALL_PREFIXES(ChromeExpectCTReporterTest, SendReport);
36 36
37 scoped_ptr<net::CertificateReportSender> report_sender_; 37 scoped_ptr<net::CertificateReportSender> report_sender_;
38 38
39 DISALLOW_COPY_AND_ASSIGN(ChromeExpectCTReporter); 39 DISALLOW_COPY_AND_ASSIGN(ChromeExpectCTReporter);
40 }; 40 };
41 41
42 #endif // CHROME_BROWSER_SSL_CHROME_EXPECT_CT_REPORTER_H_ 42 #endif // CHROME_BROWSER_SSL_CHROME_EXPECT_CT_REPORTER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ssl/chrome_expect_ct_reporter.cc » ('j') | chrome/browser/ssl/chrome_expect_ct_reporter.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698