Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(314)

Side by Side Diff: net/http/http_network_transaction.cc

Issue 115870: Reduce header dependencies in net/ (Closed)
Patch Set: Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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" 16 #include "net/base/host_resolver.h"
17 #include "net/base/io_buffer.h" 17 #include "net/base/io_buffer.h"
18 #include "net/base/load_flags.h" 18 #include "net/base/load_flags.h"
19 #include "net/base/net_errors.h"
19 #include "net/base/net_util.h" 20 #include "net/base/net_util.h"
20 #include "net/base/ssl_client_socket.h" 21 #include "net/base/ssl_client_socket.h"
21 #include "net/base/upload_data_stream.h" 22 #include "net/base/upload_data_stream.h"
22 #include "net/http/http_auth.h" 23 #include "net/http/http_auth.h"
23 #include "net/http/http_auth_handler.h" 24 #include "net/http/http_auth_handler.h"
24 #include "net/http/http_chunked_decoder.h" 25 #include "net/http/http_chunked_decoder.h"
25 #include "net/http/http_network_session.h" 26 #include "net/http/http_network_session.h"
26 #include "net/http/http_request_info.h" 27 #include "net/http/http_request_info.h"
27 #include "net/http/http_response_headers.h" 28 #include "net/http/http_response_headers.h"
28 #include "net/http/http_util.h" 29 #include "net/http/http_util.h"
(...skipping 1649 matching lines...) Expand 10 before | Expand all | Expand 10 after
1678 host_and_port = proxy_info_.proxy_server().host_and_port(); 1679 host_and_port = proxy_info_.proxy_server().host_and_port();
1679 } else { 1680 } else {
1680 DCHECK(target == HttpAuth::AUTH_SERVER); 1681 DCHECK(target == HttpAuth::AUTH_SERVER);
1681 host_and_port = GetHostAndPort(request_->url); 1682 host_and_port = GetHostAndPort(request_->url);
1682 } 1683 }
1683 auth_info->host_and_port = ASCIIToWide(host_and_port); 1684 auth_info->host_and_port = ASCIIToWide(host_and_port);
1684 response_.auth_challenge = auth_info; 1685 response_.auth_challenge = auth_info;
1685 } 1686 }
1686 1687
1687 } // namespace net 1688 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698