| 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 STATE_UPDATE_CACHED_RESPONSE, | 179 STATE_UPDATE_CACHED_RESPONSE, |
| 180 STATE_UPDATE_CACHED_RESPONSE_COMPLETE, | 180 STATE_UPDATE_CACHED_RESPONSE_COMPLETE, |
| 181 STATE_OVERWRITE_CACHED_RESPONSE, | 181 STATE_OVERWRITE_CACHED_RESPONSE, |
| 182 STATE_TRUNCATE_CACHED_DATA, | 182 STATE_TRUNCATE_CACHED_DATA, |
| 183 STATE_TRUNCATE_CACHED_DATA_COMPLETE, | 183 STATE_TRUNCATE_CACHED_DATA_COMPLETE, |
| 184 STATE_TRUNCATE_CACHED_METADATA, | 184 STATE_TRUNCATE_CACHED_METADATA, |
| 185 STATE_TRUNCATE_CACHED_METADATA_COMPLETE, | 185 STATE_TRUNCATE_CACHED_METADATA_COMPLETE, |
| 186 STATE_PARTIAL_HEADERS_RECEIVED, | 186 STATE_PARTIAL_HEADERS_RECEIVED, |
| 187 STATE_CACHE_READ_RESPONSE, | 187 STATE_CACHE_READ_RESPONSE, |
| 188 STATE_CACHE_READ_RESPONSE_COMPLETE, | 188 STATE_CACHE_READ_RESPONSE_COMPLETE, |
| 189 STATE_CACHE_DISPATCH_VALIDATION, |
| 190 STATE_TOGGLE_UNUSED_SINCE_PREFETCH, |
| 191 STATE_TOGGLE_UNUSED_SINCE_PREFETCH_COMPLETE, |
| 189 STATE_CACHE_WRITE_RESPONSE, | 192 STATE_CACHE_WRITE_RESPONSE, |
| 190 STATE_CACHE_WRITE_TRUNCATED_RESPONSE, | 193 STATE_CACHE_WRITE_TRUNCATED_RESPONSE, |
| 191 STATE_CACHE_WRITE_RESPONSE_COMPLETE, | 194 STATE_CACHE_WRITE_RESPONSE_COMPLETE, |
| 192 STATE_CACHE_READ_METADATA, | 195 STATE_CACHE_READ_METADATA, |
| 193 STATE_CACHE_READ_METADATA_COMPLETE, | 196 STATE_CACHE_READ_METADATA_COMPLETE, |
| 194 STATE_CACHE_QUERY_DATA, | 197 STATE_CACHE_QUERY_DATA, |
| 195 STATE_CACHE_QUERY_DATA_COMPLETE, | 198 STATE_CACHE_QUERY_DATA_COMPLETE, |
| 196 STATE_CACHE_READ_DATA, | 199 STATE_CACHE_READ_DATA, |
| 197 STATE_CACHE_READ_DATA_COMPLETE, | 200 STATE_CACHE_READ_DATA_COMPLETE, |
| 198 STATE_CACHE_WRITE_DATA, | 201 STATE_CACHE_WRITE_DATA, |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 int DoUpdateCachedResponse(); | 253 int DoUpdateCachedResponse(); |
| 251 int DoUpdateCachedResponseComplete(int result); | 254 int DoUpdateCachedResponseComplete(int result); |
| 252 int DoOverwriteCachedResponse(); | 255 int DoOverwriteCachedResponse(); |
| 253 int DoTruncateCachedData(); | 256 int DoTruncateCachedData(); |
| 254 int DoTruncateCachedDataComplete(int result); | 257 int DoTruncateCachedDataComplete(int result); |
| 255 int DoTruncateCachedMetadata(); | 258 int DoTruncateCachedMetadata(); |
| 256 int DoTruncateCachedMetadataComplete(int result); | 259 int DoTruncateCachedMetadataComplete(int result); |
| 257 int DoPartialHeadersReceived(); | 260 int DoPartialHeadersReceived(); |
| 258 int DoCacheReadResponse(); | 261 int DoCacheReadResponse(); |
| 259 int DoCacheReadResponseComplete(int result); | 262 int DoCacheReadResponseComplete(int result); |
| 263 int DoCacheDispatchValidation(); |
| 264 int DoCacheToggleUnusedSincePrefetch(); |
| 265 int DoCacheToggleUnusedSincePrefetchComplete(int result); |
| 260 int DoCacheWriteResponse(); | 266 int DoCacheWriteResponse(); |
| 261 int DoCacheWriteTruncatedResponse(); | 267 int DoCacheWriteTruncatedResponse(); |
| 262 int DoCacheWriteResponseComplete(int result); | 268 int DoCacheWriteResponseComplete(int result); |
| 263 int DoCacheReadMetadata(); | 269 int DoCacheReadMetadata(); |
| 264 int DoCacheReadMetadataComplete(int result); | 270 int DoCacheReadMetadataComplete(int result); |
| 265 int DoCacheQueryData(); | 271 int DoCacheQueryData(); |
| 266 int DoCacheQueryDataComplete(int result); | 272 int DoCacheQueryDataComplete(int result); |
| 267 int DoCacheReadData(); | 273 int DoCacheReadData(); |
| 268 int DoCacheReadDataComplete(int result); | 274 int DoCacheReadDataComplete(int result); |
| 269 int DoCacheWriteData(int num_bytes); | 275 int DoCacheWriteData(int num_bytes); |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 475 BeforeProxyHeadersSentCallback before_proxy_headers_sent_callback_; | 481 BeforeProxyHeadersSentCallback before_proxy_headers_sent_callback_; |
| 476 | 482 |
| 477 base::WeakPtrFactory<Transaction> weak_factory_; | 483 base::WeakPtrFactory<Transaction> weak_factory_; |
| 478 | 484 |
| 479 DISALLOW_COPY_AND_ASSIGN(Transaction); | 485 DISALLOW_COPY_AND_ASSIGN(Transaction); |
| 480 }; | 486 }; |
| 481 | 487 |
| 482 } // namespace net | 488 } // namespace net |
| 483 | 489 |
| 484 #endif // NET_HTTP_HTTP_CACHE_TRANSACTION_H_ | 490 #endif // NET_HTTP_HTTP_CACHE_TRANSACTION_H_ |
| OLD | NEW |