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

Side by Side Diff: net/url_request/url_request_context_storage.h

Issue 862133002: Update from https://crrev.com/312398 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_URL_REQUEST_URL_REQUEST_CONTEXT_STORAGE_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_CONTEXT_STORAGE_H_
6 #define NET_URL_REQUEST_URL_REQUEST_CONTEXT_STORAGE_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_CONTEXT_STORAGE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 30 matching lines...) Expand all
41 // URLRequestContext subclass. 41 // URLRequestContext subclass.
42 explicit URLRequestContextStorage(URLRequestContext* context); 42 explicit URLRequestContextStorage(URLRequestContext* context);
43 ~URLRequestContextStorage(); 43 ~URLRequestContextStorage();
44 44
45 // These setters will set both the member variables and call the setter on the 45 // These setters will set both the member variables and call the setter on the
46 // URLRequestContext object. In all cases, ownership is passed to |this|. 46 // URLRequestContext object. In all cases, ownership is passed to |this|.
47 47
48 void set_net_log(NetLog* net_log); 48 void set_net_log(NetLog* net_log);
49 void set_host_resolver(scoped_ptr<HostResolver> host_resolver); 49 void set_host_resolver(scoped_ptr<HostResolver> host_resolver);
50 void set_cert_verifier(CertVerifier* cert_verifier); 50 void set_cert_verifier(CertVerifier* cert_verifier);
51 void set_channel_id_service( 51 void set_channel_id_service(scoped_ptr<ChannelIDService> channel_id_service);
52 ChannelIDService* channel_id_service);
53 void set_fraudulent_certificate_reporter( 52 void set_fraudulent_certificate_reporter(
54 FraudulentCertificateReporter* fraudulent_certificate_reporter); 53 FraudulentCertificateReporter* fraudulent_certificate_reporter);
55 void set_http_auth_handler_factory( 54 void set_http_auth_handler_factory(
56 HttpAuthHandlerFactory* http_auth_handler_factory); 55 HttpAuthHandlerFactory* http_auth_handler_factory);
57 void set_proxy_service(ProxyService* proxy_service); 56 void set_proxy_service(ProxyService* proxy_service);
58 void set_ssl_config_service(SSLConfigService* ssl_config_service); 57 void set_ssl_config_service(SSLConfigService* ssl_config_service);
59 void set_network_delegate(NetworkDelegate* network_delegate); 58 void set_network_delegate(NetworkDelegate* network_delegate);
60 void set_http_server_properties( 59 void set_http_server_properties(
61 scoped_ptr<HttpServerProperties> http_server_properties); 60 scoped_ptr<HttpServerProperties> http_server_properties);
62 void set_cookie_store(CookieStore* cookie_store); 61 void set_cookie_store(CookieStore* cookie_store);
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 scoped_ptr<URLRequestJobFactory> job_factory_; 96 scoped_ptr<URLRequestJobFactory> job_factory_;
98 scoped_ptr<URLRequestThrottlerManager> throttler_manager_; 97 scoped_ptr<URLRequestThrottlerManager> throttler_manager_;
99 scoped_ptr<SdchManager> sdch_manager_; 98 scoped_ptr<SdchManager> sdch_manager_;
100 99
101 DISALLOW_COPY_AND_ASSIGN(URLRequestContextStorage); 100 DISALLOW_COPY_AND_ASSIGN(URLRequestContextStorage);
102 }; 101 };
103 102
104 } // namespace net 103 } // namespace net
105 104
106 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_STORAGE_H_ 105 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_STORAGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698