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

Unified Diff: net/url_request/url_request_context_storage.h

Issue 1239393003: Refactor main URLRequestContext creation to use URLRequestContextBuilder Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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_context_builder.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_context_storage.h
diff --git a/net/url_request/url_request_context_storage.h b/net/url_request/url_request_context_storage.h
index d1e2c5160bac522d6f4553a10198ccba491fe1c9..738e081e3e1169fddefcf0a7d87477752225b071 100644
--- a/net/url_request/url_request_context_storage.h
+++ b/net/url_request/url_request_context_storage.h
@@ -47,10 +47,16 @@ class NET_EXPORT URLRequestContextStorage {
void set_net_log(NetLog* net_log);
void set_host_resolver(scoped_ptr<HostResolver> host_resolver);
+
void set_cert_verifier(CertVerifier* cert_verifier);
+
void set_channel_id_service(scoped_ptr<ChannelIDService> channel_id_service);
void set_fraudulent_certificate_reporter(
FraudulentCertificateReporter* fraudulent_certificate_reporter);
+ FraudulentCertificateReporter* fraudulent_certificate_reporter() {
+ return fraudulent_certificate_reporter_.get();
+ }
+
void set_http_auth_handler_factory(
HttpAuthHandlerFactory* http_auth_handler_factory);
void set_proxy_service(ProxyService* proxy_service);
@@ -61,8 +67,14 @@ class NET_EXPORT URLRequestContextStorage {
void set_cookie_store(CookieStore* cookie_store);
void set_transport_security_state(
TransportSecurityState* transport_security_state);
+ TransportSecurityState* transport_security_state() {
+ return transport_security_state_.get();
+ }
void set_http_transaction_factory(
HttpTransactionFactory* http_transaction_factory);
+ HttpTransactionFactory* http_transaction_factory() {
+ return http_transaction_factory_.get();
+ }
void set_job_factory(URLRequestJobFactory* job_factory);
void set_throttler_manager(URLRequestThrottlerManager* throttler_manager);
void set_http_user_agent_settings(
« no previous file with comments | « net/url_request/url_request_context_builder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698