| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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/http/http_network_transaction.h" | 5 #include "net/http/http_network_transaction.h" |
| 6 | 6 |
| 7 #include "base/scoped_ptr.h" | 7 #include "base/scoped_ptr.h" |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/field_trial.h" | 9 #include "base/field_trial.h" |
| 10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
| 11 #include "base/trace_event.h" | 11 #include "base/trace_event.h" |
| 12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
| 13 #include "net/base/client_socket_factory.h" | 13 #include "net/base/client_socket_factory.h" |
| 14 #include "net/base/connection_type_histograms.h" | 14 #include "net/base/connection_type_histograms.h" |
| 15 #include "net/base/dns_resolution_observer.h" | 15 #include "net/base/dns_resolution_observer.h" |
| 16 #include "net/base/host_resolver.h" | |
| 17 #include "net/base/io_buffer.h" | 16 #include "net/base/io_buffer.h" |
| 18 #include "net/base/load_flags.h" | 17 #include "net/base/load_flags.h" |
| 19 #include "net/base/net_errors.h" | 18 #include "net/base/net_errors.h" |
| 20 #include "net/base/net_util.h" | 19 #include "net/base/net_util.h" |
| 21 #include "net/base/ssl_client_socket.h" | 20 #include "net/base/ssl_client_socket.h" |
| 22 #include "net/base/upload_data_stream.h" | 21 #include "net/base/upload_data_stream.h" |
| 23 #include "net/http/http_auth.h" | 22 #include "net/http/http_auth.h" |
| 24 #include "net/http/http_auth_handler.h" | 23 #include "net/http/http_auth_handler.h" |
| 25 #include "net/http/http_basic_stream.h" | 24 #include "net/http/http_basic_stream.h" |
| 26 #include "net/http/http_chunked_decoder.h" | 25 #include "net/http/http_chunked_decoder.h" |
| (...skipping 1600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1627 host_and_port = proxy_info_.proxy_server().host_and_port(); | 1626 host_and_port = proxy_info_.proxy_server().host_and_port(); |
| 1628 } else { | 1627 } else { |
| 1629 DCHECK(target == HttpAuth::AUTH_SERVER); | 1628 DCHECK(target == HttpAuth::AUTH_SERVER); |
| 1630 host_and_port = GetHostAndPort(request_->url); | 1629 host_and_port = GetHostAndPort(request_->url); |
| 1631 } | 1630 } |
| 1632 auth_info->host_and_port = ASCIIToWide(host_and_port); | 1631 auth_info->host_and_port = ASCIIToWide(host_and_port); |
| 1633 response_.auth_challenge = auth_info; | 1632 response_.auth_challenge = auth_info; |
| 1634 } | 1633 } |
| 1635 | 1634 |
| 1636 } // namespace net | 1635 } // namespace net |
| OLD | NEW |