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); |
}; |