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

Unified Diff: net/url_request/url_request_test_util.h

Issue 1579063002: Implement a skeleton version of Expect CT reports (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unnecessary (?) NET_EXPORTs Created 4 years, 9 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
« no previous file with comments | « net/url_request/url_request_http_job.cc ('k') | net/url_request/url_request_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_test_util.h
diff --git a/net/url_request/url_request_test_util.h b/net/url_request/url_request_test_util.h
index 27fa9fcff8cf6e2c40d2fd59668e71d2d7a9ac18..dc8d0e18954ee9b507c232e9346636a2f0b1a4b2 100644
--- a/net/url_request/url_request_test_util.h
+++ b/net/url_request/url_request_test_util.h
@@ -84,6 +84,11 @@ class TestURLRequestContext : public URLRequestContext {
context_storage_.set_sdch_manager(std::move(sdch_manager));
}
+ CTPolicyEnforcer* ct_policy_enforcer() { return ct_policy_enforcer_; }
+ void set_ct_policy_enforcer(CTPolicyEnforcer* ct_policy_enforcer) {
+ ct_policy_enforcer_ = ct_policy_enforcer;
+ }
+
private:
bool initialized_;
@@ -97,6 +102,8 @@ class TestURLRequestContext : public URLRequestContext {
ProxyDelegate* proxy_delegate_;
+ CTPolicyEnforcer* ct_policy_enforcer_;
Lei Zhang 2016/03/10 06:13:16 Umm, you forgot to initialize this, now lots of me
+
protected:
URLRequestContextStorage context_storage_;
};
« no previous file with comments | « net/url_request/url_request_http_job.cc ('k') | net/url_request/url_request_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698