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

Unified Diff: net/http/transport_security_state.h

Issue 2026213002: Refactor CertificateReportSender (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 side-by-side diff with in-line comments
Download patch
Index: net/http/transport_security_state.h
diff --git a/net/http/transport_security_state.h b/net/http/transport_security_state.h
index b74b78d64fdb60664dfd3de3b0c2cd41e420b0dc..0da850999f13b15669a30c7d889e25107a906b2a 100644
--- a/net/http/transport_security_state.h
+++ b/net/http/transport_security_state.h
@@ -216,7 +216,7 @@ class NET_EXPORT TransportSecurityState
};
// An interface for asynchronously sending HPKP violation reports.
- class NET_EXPORT ReportSender {
+ class NET_EXPORT ReportSenderInterface {
public:
// Sends the given serialized |report| to |report_uri|.
virtual void Send(const GURL& report_uri, const std::string& report) = 0;
@@ -226,7 +226,7 @@ class NET_EXPORT TransportSecurityState
const base::Callback<void(const GURL&, int)>& error_callback) = 0;
protected:
- virtual ~ReportSender() {}
+ virtual ~ReportSenderInterface() {}
};
// An interface for building and asynchronously sending reports when a
@@ -274,7 +274,7 @@ class NET_EXPORT TransportSecurityState
// TransportSecurityState.
void SetDelegate(Delegate* delegate);
- void SetReportSender(ReportSender* report_sender);
+ void SetReportSender(ReportSenderInterface* report_sender);
void SetExpectCTReporter(ExpectCTReporter* expect_ct_reporter);
@@ -482,7 +482,7 @@ class NET_EXPORT TransportSecurityState
Delegate* delegate_;
- ReportSender* report_sender_;
+ ReportSenderInterface* report_sender_;
// True if static pins should be used.
bool enable_static_pins_;
« no previous file with comments | « ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc ('k') | net/http/transport_security_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698