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/http/http_proxy_client_socket.h" | 5 #include "net/http/http_proxy_client_socket.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
9 #include "base/profiler/scoped_tracker.h" | 9 #include "base/profiler/scoped_tracker.h" |
10 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
11 #include "base/strings/stringprintf.h" | |
12 #include "base/values.h" | 11 #include "base/values.h" |
13 #include "net/base/auth.h" | 12 #include "net/base/auth.h" |
14 #include "net/base/host_port_pair.h" | 13 #include "net/base/host_port_pair.h" |
15 #include "net/base/io_buffer.h" | 14 #include "net/base/io_buffer.h" |
16 #include "net/base/proxy_delegate.h" | 15 #include "net/base/proxy_delegate.h" |
17 #include "net/http/http_basic_stream.h" | 16 #include "net/http/http_basic_stream.h" |
18 #include "net/http/http_network_session.h" | 17 #include "net/http/http_network_session.h" |
19 #include "net/http/http_request_info.h" | 18 #include "net/http/http_request_info.h" |
20 #include "net/http/http_response_headers.h" | 19 #include "net/http/http_response_headers.h" |
21 #include "net/http/http_stream_parser.h" | 20 #include "net/http/http_stream_parser.h" |
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
525 next_state_ = STATE_DRAIN_BODY; | 524 next_state_ = STATE_DRAIN_BODY; |
526 return OK; | 525 return OK; |
527 } | 526 } |
528 | 527 |
529 return DidDrainBodyForAuthRestart(); | 528 return DidDrainBodyForAuthRestart(); |
530 } | 529 } |
531 | 530 |
532 //---------------------------------------------------------------- | 531 //---------------------------------------------------------------- |
533 | 532 |
534 } // namespace net | 533 } // namespace net |
OLD | NEW |