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

Unified Diff: net/url_request/url_request_context_builder.h

Issue 2924163003: Remove socket performance watcher factory from URL request context builder (Closed)
Patch Set: ps Created 3 years, 6 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
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 a67f6aa8d6318128197bd31a11ad837cc4c87505..c37eb21e4f96c7ecfe288eaa9c3faf6d691fa907 100644
--- a/net/url_request/url_request_context_builder.h
+++ b/net/url_request/url_request_context_builder.h
@@ -53,7 +53,6 @@ class HttpAuthHandlerFactory;
class HttpServerProperties;
class NetworkQualityEstimator;
class ProxyConfigService;
-class SocketPerformanceWatcherFactory;
class URLRequestContext;
class URLRequestInterceptor;
@@ -278,11 +277,6 @@ class NET_EXPORT URLRequestContextBuilder {
throttling_enabled_ = throttling_enabled;
}
- void set_socket_performance_watcher_factory(
- SocketPerformanceWatcherFactory* socket_performance_watcher_factory) {
- socket_performance_watcher_factory_ = socket_performance_watcher_factory;
- }
-
void set_ct_verifier(std::unique_ptr<CTVerifier> ct_verifier);
void SetCertVerifier(std::unique_ptr<CertVerifier> cert_verifier);
@@ -376,10 +370,6 @@ 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);
};
« no previous file with comments | « components/cronet/android/cronet_url_request_context_adapter.cc ('k') | net/url_request/url_request_context_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698