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

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

Issue 20134: Extend the IOBuffer to the disk cache. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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 | Annotate | Revision Log
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/string_util.h" 9 #include "base/string_util.h"
10 #include "base/trace_event.h" 10 #include "base/trace_event.h"
11 #include "build/build_config.h" 11 #include "build/build_config.h"
12 #include "net/base/client_socket_factory.h" 12 #include "net/base/client_socket_factory.h"
13 #include "net/base/connection_type_histograms.h" 13 #include "net/base/connection_type_histograms.h"
14 #include "net/base/dns_resolution_observer.h" 14 #include "net/base/dns_resolution_observer.h"
15 #include "net/base/host_resolver.h" 15 #include "net/base/host_resolver.h"
16 #include "net/base/io_buffer.h"
16 #include "net/base/load_flags.h" 17 #include "net/base/load_flags.h"
17 #include "net/base/net_util.h" 18 #include "net/base/net_util.h"
18 #include "net/base/ssl_client_socket.h" 19 #include "net/base/ssl_client_socket.h"
19 #include "net/base/upload_data_stream.h" 20 #include "net/base/upload_data_stream.h"
20 #include "net/http/http_auth.h" 21 #include "net/http/http_auth.h"
21 #include "net/http/http_auth_handler.h" 22 #include "net/http/http_auth_handler.h"
22 #include "net/http/http_chunked_decoder.h" 23 #include "net/http/http_chunked_decoder.h"
23 #include "net/http/http_network_session.h" 24 #include "net/http/http_network_session.h"
24 #include "net/http/http_request_info.h" 25 #include "net/http/http_request_info.h"
25 #include "net/http/http_util.h" 26 #include "net/http/http_util.h"
(...skipping 1236 matching lines...) Expand 10 before | Expand all | Expand 10 after
1262 if (target == HttpAuth::AUTH_PROXY) { 1263 if (target == HttpAuth::AUTH_PROXY) {
1263 auth_info->host = ASCIIToWide(proxy_info_.proxy_server()); 1264 auth_info->host = ASCIIToWide(proxy_info_.proxy_server());
1264 } else { 1265 } else {
1265 DCHECK(target == HttpAuth::AUTH_SERVER); 1266 DCHECK(target == HttpAuth::AUTH_SERVER);
1266 auth_info->host = ASCIIToWide(request_->url.host()); 1267 auth_info->host = ASCIIToWide(request_->url.host());
1267 } 1268 }
1268 response_.auth_challenge = auth_info; 1269 response_.auth_challenge = auth_info;
1269 } 1270 }
1270 1271
1271 } // namespace net 1272 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698