OLD | NEW |
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 // This class is useful for building a simple URLRequestContext. Most creators | 5 // This class is useful for building a simple URLRequestContext. Most creators |
6 // of new URLRequestContexts should use this helper class to construct it. Call | 6 // of new URLRequestContexts should use this helper class to construct it. Call |
7 // any configuration params, and when done, invoke Build() to construct the | 7 // any configuration params, and when done, invoke Build() to construct the |
8 // URLRequestContext. This URLRequestContext will own all its own storage. | 8 // URLRequestContext. This URLRequestContext will own all its own storage. |
9 // | 9 // |
10 // URLRequestContextBuilder and its associated params classes are initially | 10 // URLRequestContextBuilder and its associated params classes are initially |
(...skipping 17 matching lines...) Expand all Loading... |
28 #include "base/memory/ref_counted.h" | 28 #include "base/memory/ref_counted.h" |
29 #include "build/build_config.h" | 29 #include "build/build_config.h" |
30 #include "net/base/net_export.h" | 30 #include "net/base/net_export.h" |
31 #include "net/base/network_delegate.h" | 31 #include "net/base/network_delegate.h" |
32 #include "net/base/proxy_delegate.h" | 32 #include "net/base/proxy_delegate.h" |
33 #include "net/dns/host_resolver.h" | 33 #include "net/dns/host_resolver.h" |
34 #include "net/http/http_network_session.h" | 34 #include "net/http/http_network_session.h" |
35 #include "net/net_features.h" | 35 #include "net/net_features.h" |
36 #include "net/proxy/proxy_config_service.h" | 36 #include "net/proxy/proxy_config_service.h" |
37 #include "net/proxy/proxy_service.h" | 37 #include "net/proxy/proxy_service.h" |
38 #include "net/quic/core/quic_protocol.h" | 38 #include "net/quic/core/quic_packets.h" |
39 #include "net/socket/next_proto.h" | 39 #include "net/socket/next_proto.h" |
40 #include "net/url_request/url_request_job_factory.h" | 40 #include "net/url_request/url_request_job_factory.h" |
41 | 41 |
42 namespace base { | 42 namespace base { |
43 class SingleThreadTaskRunner; | 43 class SingleThreadTaskRunner; |
44 } | 44 } |
45 | 45 |
46 namespace net { | 46 namespace net { |
47 | 47 |
48 class CertVerifier; | 48 class CertVerifier; |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 // Not owned by the context builder. Once it is set to a non-null value, it | 367 // Not owned by the context builder. Once it is set to a non-null value, it |
368 // is guaranteed to be non-null during the lifetime of |this|. | 368 // is guaranteed to be non-null during the lifetime of |this|. |
369 SocketPerformanceWatcherFactory* socket_performance_watcher_factory_; | 369 SocketPerformanceWatcherFactory* socket_performance_watcher_factory_; |
370 | 370 |
371 DISALLOW_COPY_AND_ASSIGN(URLRequestContextBuilder); | 371 DISALLOW_COPY_AND_ASSIGN(URLRequestContextBuilder); |
372 }; | 372 }; |
373 | 373 |
374 } // namespace net | 374 } // namespace net |
375 | 375 |
376 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_BUILDER_H_ | 376 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_BUILDER_H_ |
OLD | NEW |