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_network_transaction.h" | 5 #include "net/http/http_network_transaction.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 #include "net/socket/transport_client_socket_pool.h" | 56 #include "net/socket/transport_client_socket_pool.h" |
57 #include "net/spdy/hpack_huffman_aggregator.h" | 57 #include "net/spdy/hpack_huffman_aggregator.h" |
58 #include "net/spdy/spdy_http_stream.h" | 58 #include "net/spdy/spdy_http_stream.h" |
59 #include "net/spdy/spdy_session.h" | 59 #include "net/spdy/spdy_session.h" |
60 #include "net/spdy/spdy_session_pool.h" | 60 #include "net/spdy/spdy_session_pool.h" |
61 #include "net/ssl/ssl_cert_request_info.h" | 61 #include "net/ssl/ssl_cert_request_info.h" |
62 #include "net/ssl/ssl_connection_status_flags.h" | 62 #include "net/ssl/ssl_connection_status_flags.h" |
63 #include "url/gurl.h" | 63 #include "url/gurl.h" |
64 #include "url/url_canon.h" | 64 #include "url/url_canon.h" |
65 | 65 |
66 #if defined(SPDY_PROXY_AUTH_ORIGIN) | |
67 #include <algorithm> | |
68 #include "net/proxy/proxy_server.h" | |
69 #endif | |
70 | |
71 | |
72 using base::Time; | 66 using base::Time; |
73 using base::TimeDelta; | 67 using base::TimeDelta; |
74 | 68 |
75 namespace net { | 69 namespace net { |
76 | 70 |
77 namespace { | 71 namespace { |
78 | 72 |
79 void ProcessAlternateProtocol( | 73 void ProcessAlternateProtocol( |
80 HttpNetworkSession* session, | 74 HttpNetworkSession* session, |
81 const HttpResponseHeaders& headers, | 75 const HttpResponseHeaders& headers, |
(...skipping 1514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1596 description = base::StringPrintf("Unknown state 0x%08X (%u)", state, | 1590 description = base::StringPrintf("Unknown state 0x%08X (%u)", state, |
1597 state); | 1591 state); |
1598 break; | 1592 break; |
1599 } | 1593 } |
1600 return description; | 1594 return description; |
1601 } | 1595 } |
1602 | 1596 |
1603 #undef STATE_CASE | 1597 #undef STATE_CASE |
1604 | 1598 |
1605 } // namespace net | 1599 } // namespace net |
OLD | NEW |