OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #ifndef NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ | 5 #ifndef NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ |
6 #define NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ | 6 #define NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 // specified by the URL, due to Alternate-Protocol or fixed testing ports. | 326 // specified by the URL, due to Alternate-Protocol or fixed testing ports. |
327 HostPortPair endpoint_; | 327 HostPortPair endpoint_; |
328 | 328 |
329 // True when the tunnel is in the process of being established - we can't | 329 // True when the tunnel is in the process of being established - we can't |
330 // read from the socket until the tunnel is done. | 330 // read from the socket until the tunnel is done. |
331 bool establishing_tunnel_; | 331 bool establishing_tunnel_; |
332 | 332 |
333 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); | 333 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); |
334 }; | 334 }; |
335 | 335 |
| 336 int ConvertRequestPriorityToSpdyPriority(RequestPriority priority); |
| 337 |
336 } // namespace net | 338 } // namespace net |
337 | 339 |
338 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ | 340 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ |
OLD | NEW |