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

Unified Diff: chrome/browser/net/chrome_network_delegate.h

Issue 1579063002: Implement a skeleton version of Expect CT reports (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 11 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: chrome/browser/net/chrome_network_delegate.h
diff --git a/chrome/browser/net/chrome_network_delegate.h b/chrome/browser/net/chrome_network_delegate.h
index ea2a007daf41b8e452b35cbcd698e994d35dd9de..4abc1899916bb69d122f8a9220dc8c8637475415 100644
--- a/chrome/browser/net/chrome_network_delegate.h
+++ b/chrome/browser/net/chrome_network_delegate.h
@@ -23,6 +23,7 @@
#endif
class ChromeExtensionsNetworkDelegate;
+class ExpectCTMonitor;
class PrefService;
template<class T> class PrefMember;
@@ -128,6 +129,8 @@ class ChromeNetworkDelegate : public net::NetworkDelegateImpl {
data_usage::DataUseAggregator* data_use_aggregator,
bool is_data_usage_off_the_record);
+ void set_expect_ct_monitor(ExpectCTMonitor* expect_ct_monitor);
+
// Binds the pref members to |pref_service| and moves them to the IO thread.
// |enable_referrers| cannot be NULL, the others can.
// This method should be called on the UI thread.
@@ -231,6 +234,10 @@ class ChromeNetworkDelegate : public net::NetworkDelegateImpl {
// Controls whether network usage is reported as being off the record.
bool is_data_usage_off_the_record_;
+ // The network delegate notifies |expect_ct_monitor_| when a
+ // certificate fails to comply with Certificate Transparency policy.
+ ExpectCTMonitor* expect_ct_monitor_;
+
DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate);
};
« no previous file with comments | « no previous file | chrome/browser/net/chrome_network_delegate.cc » ('j') | chrome/browser/net/chrome_network_delegate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698