| Index: net/url_request/url_request_context_builder.h
|
| diff --git a/net/url_request/url_request_context_builder.h b/net/url_request/url_request_context_builder.h
|
| index ccdf5967b6738e9131880223485fb2256f3f08c8..7ea4488ec10be9585c07735ecc42299c8f6673c6 100644
|
| --- a/net/url_request/url_request_context_builder.h
|
| +++ b/net/url_request/url_request_context_builder.h
|
| @@ -51,6 +51,7 @@ class HostMappingRules;
|
| class HttpAuthHandlerFactory;
|
| class HttpServerProperties;
|
| class ProxyConfigService;
|
| +class SocketPerformanceWatcherFactory;
|
| class URLRequestContext;
|
| class URLRequestInterceptor;
|
|
|
| @@ -292,6 +293,11 @@ class NET_EXPORT URLRequestContextBuilder {
|
| backoff_enabled_ = backoff_enabled;
|
| }
|
|
|
| + void set_socket_performance_watcher_factory(
|
| + SocketPerformanceWatcherFactory* socket_performance_watcher_factory) {
|
| + socket_performance_watcher_factory_ = socket_performance_watcher_factory;
|
| + }
|
| +
|
| void SetCertVerifier(std::unique_ptr<CertVerifier> cert_verifier);
|
|
|
| void SetInterceptors(std::vector<std::unique_ptr<URLRequestInterceptor>>
|
| @@ -369,6 +375,10 @@ class NET_EXPORT URLRequestContextBuilder {
|
| std::unique_ptr<HttpServerProperties> http_server_properties_;
|
| std::map<std::string, std::unique_ptr<URLRequestJobFactory::ProtocolHandler>>
|
| protocol_handlers_;
|
| + // SocketPerformanceWatcherFactory to be used by this context builder.
|
| + // Not owned by the context builder. Once it is set to a non-null value, it
|
| + // is guaranteed to be non-null during the lifetime of |this|.
|
| + SocketPerformanceWatcherFactory* socket_performance_watcher_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(URLRequestContextBuilder);
|
| };
|
|
|