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" | 11 #include "base/strings/stringprintf.h" |
| 12 #include "base/values.h" |
12 #include "net/base/auth.h" | 13 #include "net/base/auth.h" |
13 #include "net/base/host_port_pair.h" | 14 #include "net/base/host_port_pair.h" |
14 #include "net/base/io_buffer.h" | 15 #include "net/base/io_buffer.h" |
15 #include "net/base/net_util.h" | 16 #include "net/base/net_util.h" |
16 #include "net/base/proxy_delegate.h" | 17 #include "net/base/proxy_delegate.h" |
17 #include "net/http/http_basic_stream.h" | 18 #include "net/http/http_basic_stream.h" |
18 #include "net/http/http_network_session.h" | 19 #include "net/http/http_network_session.h" |
19 #include "net/http/http_request_info.h" | 20 #include "net/http/http_request_info.h" |
20 #include "net/http/http_response_headers.h" | 21 #include "net/http/http_response_headers.h" |
21 #include "net/http/http_stream_parser.h" | 22 #include "net/http/http_stream_parser.h" |
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 "462784 HttpProxyClientSocket::DoTCPRestartComplete")); | 561 "462784 HttpProxyClientSocket::DoTCPRestartComplete")); |
561 | 562 |
562 if (result != OK) | 563 if (result != OK) |
563 return result; | 564 return result; |
564 | 565 |
565 next_state_ = STATE_GENERATE_AUTH_TOKEN; | 566 next_state_ = STATE_GENERATE_AUTH_TOKEN; |
566 return result; | 567 return result; |
567 } | 568 } |
568 | 569 |
569 } // namespace net | 570 } // namespace net |
OLD | NEW |