| 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 #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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 const CompletionCallback& callback) OVERRIDE; | 53 const CompletionCallback& callback) OVERRIDE; |
| 54 virtual bool IsReadyToRestartForAuth() OVERRIDE; | 54 virtual bool IsReadyToRestartForAuth() OVERRIDE; |
| 55 | 55 |
| 56 virtual int Read(IOBuffer* buf, | 56 virtual int Read(IOBuffer* buf, |
| 57 int buf_len, | 57 int buf_len, |
| 58 const CompletionCallback& callback) OVERRIDE; | 58 const CompletionCallback& callback) OVERRIDE; |
| 59 virtual void StopCaching() OVERRIDE {} | 59 virtual void StopCaching() OVERRIDE {} |
| 60 virtual void DoneReading() OVERRIDE {} | 60 virtual void DoneReading() OVERRIDE {} |
| 61 virtual const HttpResponseInfo* GetResponseInfo() const OVERRIDE; | 61 virtual const HttpResponseInfo* GetResponseInfo() const OVERRIDE; |
| 62 virtual LoadState GetLoadState() const OVERRIDE; | 62 virtual LoadState GetLoadState() const OVERRIDE; |
| 63 virtual uint64 GetUploadProgress() const OVERRIDE; | 63 virtual UploadProgress GetUploadProgress() const OVERRIDE; |
| 64 | 64 |
| 65 // HttpStreamRequest::Delegate methods: | 65 // HttpStreamRequest::Delegate methods: |
| 66 virtual void OnStreamReady(const SSLConfig& used_ssl_config, | 66 virtual void OnStreamReady(const SSLConfig& used_ssl_config, |
| 67 const ProxyInfo& used_proxy_info, | 67 const ProxyInfo& used_proxy_info, |
| 68 HttpStream* stream) OVERRIDE; | 68 HttpStream* stream) OVERRIDE; |
| 69 virtual void OnStreamFailed(int status, | 69 virtual void OnStreamFailed(int status, |
| 70 const SSLConfig& used_ssl_config) OVERRIDE; | 70 const SSLConfig& used_ssl_config) OVERRIDE; |
| 71 virtual void OnCertificateError(int status, | 71 virtual void OnCertificateError(int status, |
| 72 const SSLConfig& used_ssl_config, | 72 const SSLConfig& used_ssl_config, |
| 73 const SSLInfo& ssl_info) OVERRIDE; | 73 const SSLInfo& ssl_info) OVERRIDE; |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 // True when the tunnel is in the process of being established - we can't | 293 // True when the tunnel is in the process of being established - we can't |
| 294 // read from the socket until the tunnel is done. | 294 // read from the socket until the tunnel is done. |
| 295 bool establishing_tunnel_; | 295 bool establishing_tunnel_; |
| 296 | 296 |
| 297 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); | 297 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); |
| 298 }; | 298 }; |
| 299 | 299 |
| 300 } // namespace net | 300 } // namespace net |
| 301 | 301 |
| 302 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ | 302 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ |
| OLD | NEW |