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 16 matching lines...) Expand all Loading... |
27 #include "base/macros.h" | 27 #include "base/macros.h" |
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/proxy/proxy_config_service.h" | 35 #include "net/proxy/proxy_config_service.h" |
36 #include "net/proxy/proxy_service.h" | 36 #include "net/proxy/proxy_service.h" |
37 #include "net/quic/quic_protocol.h" | 37 #include "net/quic/core/quic_protocol.h" |
38 #include "net/socket/next_proto.h" | 38 #include "net/socket/next_proto.h" |
39 #include "net/url_request/url_request_job_factory.h" | 39 #include "net/url_request/url_request_job_factory.h" |
40 | 40 |
41 namespace base { | 41 namespace base { |
42 class SingleThreadTaskRunner; | 42 class SingleThreadTaskRunner; |
43 } | 43 } |
44 | 44 |
45 namespace net { | 45 namespace net { |
46 | 46 |
47 class CertVerifier; | 47 class CertVerifier; |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 // Not owned by the context builder. Once it is set to a non-null value, it | 382 // Not owned by the context builder. Once it is set to a non-null value, it |
383 // is guaranteed to be non-null during the lifetime of |this|. | 383 // is guaranteed to be non-null during the lifetime of |this|. |
384 SocketPerformanceWatcherFactory* socket_performance_watcher_factory_; | 384 SocketPerformanceWatcherFactory* socket_performance_watcher_factory_; |
385 | 385 |
386 DISALLOW_COPY_AND_ASSIGN(URLRequestContextBuilder); | 386 DISALLOW_COPY_AND_ASSIGN(URLRequestContextBuilder); |
387 }; | 387 }; |
388 | 388 |
389 } // namespace net | 389 } // namespace net |
390 | 390 |
391 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_BUILDER_H_ | 391 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_BUILDER_H_ |
OLD | NEW |