Chromium Code Reviews| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 58 virtual uint64 GetUploadProgress() const; | 58 virtual uint64 GetUploadProgress() const; |
| 59 | 59 |
| 60 // StreamRequest::Delegate methods: | 60 // StreamRequest::Delegate methods: |
| 61 virtual void OnStreamReady(HttpStream* stream); | 61 virtual void OnStreamReady(HttpStream* stream); |
| 62 virtual void OnStreamFailed(int status); | 62 virtual void OnStreamFailed(int status); |
| 63 virtual void OnCertificateError(int status, const SSLInfo& ssl_info); | 63 virtual void OnCertificateError(int status, const SSLInfo& ssl_info); |
| 64 virtual void OnNeedsProxyAuth( | 64 virtual void OnNeedsProxyAuth( |
| 65 const HttpResponseInfo& response_info, | 65 const HttpResponseInfo& response_info, |
| 66 HttpAuthController* auth_controller); | 66 HttpAuthController* auth_controller); |
| 67 virtual void OnNeedsClientAuth(SSLCertRequestInfo* cert_info); | 67 virtual void OnNeedsClientAuth(SSLCertRequestInfo* cert_info); |
| 68 virtual void OnHttpsProxyTunnelConnectionResponse( | |
|
vandebo (ex-Chrome)
2010/12/04 00:30:37
Maybe OnHttpsProxyMessage ?
| |
| 69 const HttpResponseInfo& response_info, | |
| 70 HttpStream* stream); | |
| 68 | 71 |
| 69 private: | 72 private: |
| 70 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionTest, ResetStateForRestart); | 73 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionTest, ResetStateForRestart); |
| 71 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest, WindowUpdateReceived); | 74 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest, WindowUpdateReceived); |
| 72 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest, WindowUpdateSent); | 75 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest, WindowUpdateSent); |
| 73 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest, WindowUpdateOverflow); | 76 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest, WindowUpdateOverflow); |
| 74 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest, FlowControlStallResume); | 77 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest, FlowControlStallResume); |
| 75 | 78 |
| 76 enum State { | 79 enum State { |
| 77 STATE_CREATE_STREAM, | 80 STATE_CREATE_STREAM, |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 245 bool establishing_tunnel_; | 248 bool establishing_tunnel_; |
| 246 | 249 |
| 247 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); | 250 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); |
| 248 }; | 251 }; |
| 249 | 252 |
| 250 int ConvertRequestPriorityToSpdyPriority(RequestPriority priority); | 253 int ConvertRequestPriorityToSpdyPriority(RequestPriority priority); |
| 251 | 254 |
| 252 } // namespace net | 255 } // namespace net |
| 253 | 256 |
| 254 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ | 257 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ |
| OLD | NEW |