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 // 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 #pragma once | 10 #pragma once |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
134 STATE_NETWORK_READ_COMPLETE, | 134 STATE_NETWORK_READ_COMPLETE, |
135 STATE_INIT_ENTRY, | 135 STATE_INIT_ENTRY, |
136 STATE_OPEN_ENTRY, | 136 STATE_OPEN_ENTRY, |
137 STATE_OPEN_ENTRY_COMPLETE, | 137 STATE_OPEN_ENTRY_COMPLETE, |
138 STATE_CREATE_ENTRY, | 138 STATE_CREATE_ENTRY, |
139 STATE_CREATE_ENTRY_COMPLETE, | 139 STATE_CREATE_ENTRY_COMPLETE, |
140 STATE_DOOM_ENTRY, | 140 STATE_DOOM_ENTRY, |
141 STATE_DOOM_ENTRY_COMPLETE, | 141 STATE_DOOM_ENTRY_COMPLETE, |
142 STATE_ADD_TO_ENTRY, | 142 STATE_ADD_TO_ENTRY, |
143 STATE_ADD_TO_ENTRY_COMPLETE, | 143 STATE_ADD_TO_ENTRY_COMPLETE, |
144 STATE_NOTIFY_BEFORE_SEND_HEADERS, | |
145 STATE_NOTIFY_BEFORE_SEND_HEADERS_COMPLETE, | |
144 STATE_START_PARTIAL_CACHE_VALIDATION, | 146 STATE_START_PARTIAL_CACHE_VALIDATION, |
145 STATE_COMPLETE_PARTIAL_CACHE_VALIDATION, | 147 STATE_COMPLETE_PARTIAL_CACHE_VALIDATION, |
146 STATE_UPDATE_CACHED_RESPONSE, | 148 STATE_UPDATE_CACHED_RESPONSE, |
147 STATE_UPDATE_CACHED_RESPONSE_COMPLETE, | 149 STATE_UPDATE_CACHED_RESPONSE_COMPLETE, |
148 STATE_OVERWRITE_CACHED_RESPONSE, | 150 STATE_OVERWRITE_CACHED_RESPONSE, |
149 STATE_TRUNCATE_CACHED_DATA, | 151 STATE_TRUNCATE_CACHED_DATA, |
150 STATE_TRUNCATE_CACHED_DATA_COMPLETE, | 152 STATE_TRUNCATE_CACHED_DATA_COMPLETE, |
151 STATE_TRUNCATE_CACHED_METADATA, | 153 STATE_TRUNCATE_CACHED_METADATA, |
152 STATE_TRUNCATE_CACHED_METADATA_COMPLETE, | 154 STATE_TRUNCATE_CACHED_METADATA_COMPLETE, |
153 STATE_PARTIAL_HEADERS_RECEIVED, | 155 STATE_PARTIAL_HEADERS_RECEIVED, |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
200 int DoUpdateCachedResponse(); | 202 int DoUpdateCachedResponse(); |
201 int DoUpdateCachedResponseComplete(int result); | 203 int DoUpdateCachedResponseComplete(int result); |
202 int DoOverwriteCachedResponse(); | 204 int DoOverwriteCachedResponse(); |
203 int DoTruncateCachedData(); | 205 int DoTruncateCachedData(); |
204 int DoTruncateCachedDataComplete(int result); | 206 int DoTruncateCachedDataComplete(int result); |
205 int DoTruncateCachedMetadata(); | 207 int DoTruncateCachedMetadata(); |
206 int DoTruncateCachedMetadataComplete(int result); | 208 int DoTruncateCachedMetadataComplete(int result); |
207 int DoPartialHeadersReceived(); | 209 int DoPartialHeadersReceived(); |
208 int DoCacheReadResponse(); | 210 int DoCacheReadResponse(); |
209 int DoCacheReadResponseComplete(int result); | 211 int DoCacheReadResponseComplete(int result); |
212 int DoNotifyBeforeSendHeaders(); | |
rvargas (doing something else)
2011/03/24 18:16:03
nit: fix the ordering here (and in the cc)
| |
213 int DoNotifyBeforeSendHeadersComplete(int result); | |
210 int DoCacheWriteResponse(); | 214 int DoCacheWriteResponse(); |
211 int DoCacheWriteTruncatedResponse(); | 215 int DoCacheWriteTruncatedResponse(); |
212 int DoCacheWriteResponseComplete(int result); | 216 int DoCacheWriteResponseComplete(int result); |
213 int DoCacheReadMetadata(); | 217 int DoCacheReadMetadata(); |
214 int DoCacheReadMetadataComplete(int result); | 218 int DoCacheReadMetadataComplete(int result); |
215 int DoCacheQueryData(); | 219 int DoCacheQueryData(); |
216 int DoCacheQueryDataComplete(int result); | 220 int DoCacheQueryDataComplete(int result); |
217 int DoCacheReadData(); | 221 int DoCacheReadData(); |
218 int DoCacheReadDataComplete(int result); | 222 int DoCacheReadDataComplete(int result); |
219 int DoCacheWriteData(int num_bytes); | 223 int DoCacheWriteData(int num_bytes); |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
351 uint64 final_upload_progress_; | 355 uint64 final_upload_progress_; |
352 CompletionCallbackImpl<Transaction> io_callback_; | 356 CompletionCallbackImpl<Transaction> io_callback_; |
353 scoped_refptr<CancelableCompletionCallback<Transaction> > cache_callback_; | 357 scoped_refptr<CancelableCompletionCallback<Transaction> > cache_callback_; |
354 scoped_refptr<CancelableCompletionCallback<Transaction> > | 358 scoped_refptr<CancelableCompletionCallback<Transaction> > |
355 write_headers_callback_; | 359 write_headers_callback_; |
356 }; | 360 }; |
357 | 361 |
358 } // namespace net | 362 } // namespace net |
359 | 363 |
360 #endif // NET_HTTP_HTTP_CACHE_TRANSACTION_H_ | 364 #endif // NET_HTTP_HTTP_CACHE_TRANSACTION_H_ |
OLD | NEW |