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 // This file declares HttpCache::Transaction, a private class of HttpCache so | 5 // This file declares HttpCache::Transaction, a private class of HttpCache so |
6 // it should only be included by http_cache.cc | 6 // it should only be included by http_cache.cc |
7 | 7 |
8 #ifndef NET_HTTP_HTTP_CACHE_TRANSACTION_H_ | 8 #ifndef NET_HTTP_HTTP_CACHE_TRANSACTION_H_ |
9 #define NET_HTTP_HTTP_CACHE_TRANSACTION_H_ | 9 #define NET_HTTP_HTTP_CACHE_TRANSACTION_H_ |
10 | 10 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 const CompletionCallback& callback, | 109 const CompletionCallback& callback, |
110 const BoundNetLog& net_log) OVERRIDE; | 110 const BoundNetLog& net_log) OVERRIDE; |
111 virtual int RestartIgnoringLastError( | 111 virtual int RestartIgnoringLastError( |
112 const CompletionCallback& callback) OVERRIDE; | 112 const CompletionCallback& callback) OVERRIDE; |
113 virtual int RestartWithCertificate( | 113 virtual int RestartWithCertificate( |
114 X509Certificate* client_cert, | 114 X509Certificate* client_cert, |
115 const CompletionCallback& callback) OVERRIDE; | 115 const CompletionCallback& callback) OVERRIDE; |
116 virtual int RestartWithAuth(const AuthCredentials& credentials, | 116 virtual int RestartWithAuth(const AuthCredentials& credentials, |
117 const CompletionCallback& callback) OVERRIDE; | 117 const CompletionCallback& callback) OVERRIDE; |
118 virtual bool IsReadyToRestartForAuth() OVERRIDE; | 118 virtual bool IsReadyToRestartForAuth() OVERRIDE; |
| 119 virtual bool HasAuth() const OVERRIDE; |
119 virtual int Read(IOBuffer* buf, | 120 virtual int Read(IOBuffer* buf, |
120 int buf_len, | 121 int buf_len, |
121 const CompletionCallback& callback) OVERRIDE; | 122 const CompletionCallback& callback) OVERRIDE; |
122 virtual void StopCaching() OVERRIDE; | 123 virtual void StopCaching() OVERRIDE; |
123 virtual void DoneReading() OVERRIDE; | 124 virtual void DoneReading() OVERRIDE; |
124 virtual const HttpResponseInfo* GetResponseInfo() const OVERRIDE; | 125 virtual const HttpResponseInfo* GetResponseInfo() const OVERRIDE; |
125 virtual LoadState GetLoadState() const OVERRIDE; | 126 virtual LoadState GetLoadState() const OVERRIDE; |
126 virtual UploadProgress GetUploadProgress(void) const OVERRIDE; | 127 virtual UploadProgress GetUploadProgress(void) const OVERRIDE; |
127 virtual bool GetLoadTimingInfo( | 128 virtual bool GetLoadTimingInfo( |
128 LoadTimingInfo* load_timing_info) const OVERRIDE; | 129 LoadTimingInfo* load_timing_info) const OVERRIDE; |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 // For sensitivity analysis, the simulated increase in cache service times, | 446 // For sensitivity analysis, the simulated increase in cache service times, |
446 // in percent. | 447 // in percent. |
447 int sensitivity_analysis_percent_increase_; | 448 int sensitivity_analysis_percent_increase_; |
448 | 449 |
449 HttpTransactionDelegate* transaction_delegate_; | 450 HttpTransactionDelegate* transaction_delegate_; |
450 }; | 451 }; |
451 | 452 |
452 } // namespace net | 453 } // namespace net |
453 | 454 |
454 #endif // NET_HTTP_HTTP_CACHE_TRANSACTION_H_ | 455 #endif // NET_HTTP_HTTP_CACHE_TRANSACTION_H_ |
OLD | NEW |