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_http_job.h" | 5 #include "net/url_request/url_request_http_job.h" |
6 | 6 |
7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/bind_helpers.h" | 9 #include "base/bind_helpers.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 #include "net/http/http_content_disposition.h" | 35 #include "net/http/http_content_disposition.h" |
36 #include "net/http/http_network_session.h" | 36 #include "net/http/http_network_session.h" |
37 #include "net/http/http_request_headers.h" | 37 #include "net/http/http_request_headers.h" |
38 #include "net/http/http_response_headers.h" | 38 #include "net/http/http_response_headers.h" |
39 #include "net/http/http_response_info.h" | 39 #include "net/http/http_response_info.h" |
40 #include "net/http/http_status_code.h" | 40 #include "net/http/http_status_code.h" |
41 #include "net/http/http_transaction.h" | 41 #include "net/http/http_transaction.h" |
42 #include "net/http/http_transaction_factory.h" | 42 #include "net/http/http_transaction_factory.h" |
43 #include "net/http/http_util.h" | 43 #include "net/http/http_util.h" |
44 #include "net/log/net_log_event_type.h" | 44 #include "net/log/net_log_event_type.h" |
| 45 #include "net/log/net_log_with_source.h" |
45 #include "net/nqe/network_quality_estimator.h" | 46 #include "net/nqe/network_quality_estimator.h" |
46 #include "net/proxy/proxy_info.h" | 47 #include "net/proxy/proxy_info.h" |
47 #include "net/proxy/proxy_retry_info.h" | 48 #include "net/proxy/proxy_retry_info.h" |
48 #include "net/proxy/proxy_service.h" | 49 #include "net/proxy/proxy_service.h" |
49 #include "net/ssl/channel_id_service.h" | 50 #include "net/ssl/channel_id_service.h" |
50 #include "net/ssl/ssl_cert_request_info.h" | 51 #include "net/ssl/ssl_cert_request_info.h" |
51 #include "net/ssl/ssl_config_service.h" | 52 #include "net/ssl/ssl_config_service.h" |
52 #include "net/url_request/http_user_agent_settings.h" | 53 #include "net/url_request/http_user_agent_settings.h" |
53 #include "net/url_request/url_request.h" | 54 #include "net/url_request/url_request.h" |
54 #include "net/url_request/url_request_context.h" | 55 #include "net/url_request/url_request_context.h" |
(...skipping 1546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1601 // Notify NetworkQualityEstimator. | 1602 // Notify NetworkQualityEstimator. |
1602 if (request()) { | 1603 if (request()) { |
1603 NetworkQualityEstimator* network_quality_estimator = | 1604 NetworkQualityEstimator* network_quality_estimator = |
1604 request()->context()->network_quality_estimator(); | 1605 request()->context()->network_quality_estimator(); |
1605 if (network_quality_estimator) | 1606 if (network_quality_estimator) |
1606 network_quality_estimator->NotifyURLRequestDestroyed(*request()); | 1607 network_quality_estimator->NotifyURLRequestDestroyed(*request()); |
1607 } | 1608 } |
1608 } | 1609 } |
1609 | 1610 |
1610 } // namespace net | 1611 } // namespace net |
OLD | NEW |