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 #include "net/url_request/url_request_context.h" | 5 #include "net/url_request/url_request_context.h" |
6 | 6 |
7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
8 #include "base/debug/alias.h" | 8 #include "base/debug/alias.h" |
9 #include "base/memory/ptr_util.h" | 9 #include "base/memory/ptr_util.h" |
10 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
11 #include "net/cookies/cookie_store.h" | 11 #include "net/cookies/cookie_store.h" |
12 #include "net/dns/host_resolver.h" | 12 #include "net/dns/host_resolver.h" |
13 #include "net/http/http_transaction_factory.h" | 13 #include "net/http/http_transaction_factory.h" |
14 #include "net/url_request/http_user_agent_settings.h" | 14 #include "net/url_request/http_user_agent_settings.h" |
15 #include "net/url_request/url_request.h" | 15 #include "net/url_request/url_request.h" |
16 | 16 |
17 namespace net { | 17 namespace net { |
18 | 18 |
19 URLRequestContext::URLRequestContext() | 19 URLRequestContext::URLRequestContext() |
20 : net_log_(nullptr), | 20 : net_log_(nullptr), |
21 host_resolver_(nullptr), | 21 host_resolver_(nullptr), |
22 cert_verifier_(nullptr), | 22 cert_verifier_(nullptr), |
23 channel_id_service_(nullptr), | 23 channel_id_service_(nullptr), |
24 http_auth_handler_factory_(nullptr), | 24 http_auth_handler_factory_(nullptr), |
25 proxy_service_(nullptr), | 25 proxy_service_(nullptr), |
26 network_delegate_(nullptr), | 26 network_delegate_(nullptr), |
| 27 http_server_properties_(nullptr), |
27 http_user_agent_settings_(nullptr), | 28 http_user_agent_settings_(nullptr), |
28 cookie_store_(nullptr), | 29 cookie_store_(nullptr), |
29 transport_security_state_(nullptr), | 30 transport_security_state_(nullptr), |
30 cert_transparency_verifier_(nullptr), | 31 cert_transparency_verifier_(nullptr), |
31 http_transaction_factory_(nullptr), | 32 http_transaction_factory_(nullptr), |
32 job_factory_(nullptr), | 33 job_factory_(nullptr), |
33 throttler_manager_(nullptr), | 34 throttler_manager_(nullptr), |
34 backoff_manager_(nullptr), | 35 backoff_manager_(nullptr), |
35 sdch_manager_(nullptr), | 36 sdch_manager_(nullptr), |
36 network_quality_estimator_(nullptr), | 37 network_quality_estimator_(nullptr), |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 int load_flags = request->load_flags(); | 101 int load_flags = request->load_flags(); |
101 base::debug::Alias(url_buf); | 102 base::debug::Alias(url_buf); |
102 base::debug::Alias(&num_requests); | 103 base::debug::Alias(&num_requests); |
103 base::debug::Alias(&load_flags); | 104 base::debug::Alias(&load_flags); |
104 CHECK(false) << "Leaked " << num_requests << " URLRequest(s). First URL: " | 105 CHECK(false) << "Leaked " << num_requests << " URLRequest(s). First URL: " |
105 << request->url().spec().c_str() << "."; | 106 << request->url().spec().c_str() << "."; |
106 } | 107 } |
107 } | 108 } |
108 | 109 |
109 } // namespace net | 110 } // namespace net |
OLD | NEW |