Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Side by Side Diff: net/http/http_cache_transaction.h

Issue 6698009: Add request_id to HttpRequestInfo and pass it to the NetworkDelegate for events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: net and cache intercept Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 STATE_UPDATE_CACHED_RESPONSE, 146 STATE_UPDATE_CACHED_RESPONSE,
147 STATE_UPDATE_CACHED_RESPONSE_COMPLETE, 147 STATE_UPDATE_CACHED_RESPONSE_COMPLETE,
148 STATE_OVERWRITE_CACHED_RESPONSE, 148 STATE_OVERWRITE_CACHED_RESPONSE,
149 STATE_TRUNCATE_CACHED_DATA, 149 STATE_TRUNCATE_CACHED_DATA,
150 STATE_TRUNCATE_CACHED_DATA_COMPLETE, 150 STATE_TRUNCATE_CACHED_DATA_COMPLETE,
151 STATE_TRUNCATE_CACHED_METADATA, 151 STATE_TRUNCATE_CACHED_METADATA,
152 STATE_TRUNCATE_CACHED_METADATA_COMPLETE, 152 STATE_TRUNCATE_CACHED_METADATA_COMPLETE,
153 STATE_PARTIAL_HEADERS_RECEIVED, 153 STATE_PARTIAL_HEADERS_RECEIVED,
154 STATE_CACHE_READ_RESPONSE, 154 STATE_CACHE_READ_RESPONSE,
155 STATE_CACHE_READ_RESPONSE_COMPLETE, 155 STATE_CACHE_READ_RESPONSE_COMPLETE,
156 STATE_CACHE_BEFORE_WRITE_RESPONSE,
156 STATE_CACHE_WRITE_RESPONSE, 157 STATE_CACHE_WRITE_RESPONSE,
157 STATE_CACHE_WRITE_TRUNCATED_RESPONSE, 158 STATE_CACHE_WRITE_TRUNCATED_RESPONSE,
158 STATE_CACHE_WRITE_RESPONSE_COMPLETE, 159 STATE_CACHE_WRITE_RESPONSE_COMPLETE,
159 STATE_CACHE_READ_METADATA, 160 STATE_CACHE_READ_METADATA,
160 STATE_CACHE_READ_METADATA_COMPLETE, 161 STATE_CACHE_READ_METADATA_COMPLETE,
161 STATE_CACHE_QUERY_DATA, 162 STATE_CACHE_QUERY_DATA,
162 STATE_CACHE_QUERY_DATA_COMPLETE, 163 STATE_CACHE_QUERY_DATA_COMPLETE,
163 STATE_CACHE_READ_DATA, 164 STATE_CACHE_READ_DATA,
164 STATE_CACHE_READ_DATA_COMPLETE, 165 STATE_CACHE_READ_DATA_COMPLETE,
165 STATE_CACHE_WRITE_DATA, 166 STATE_CACHE_WRITE_DATA,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 int DoUpdateCachedResponse(); 201 int DoUpdateCachedResponse();
201 int DoUpdateCachedResponseComplete(int result); 202 int DoUpdateCachedResponseComplete(int result);
202 int DoOverwriteCachedResponse(); 203 int DoOverwriteCachedResponse();
203 int DoTruncateCachedData(); 204 int DoTruncateCachedData();
204 int DoTruncateCachedDataComplete(int result); 205 int DoTruncateCachedDataComplete(int result);
205 int DoTruncateCachedMetadata(); 206 int DoTruncateCachedMetadata();
206 int DoTruncateCachedMetadataComplete(int result); 207 int DoTruncateCachedMetadataComplete(int result);
207 int DoPartialHeadersReceived(); 208 int DoPartialHeadersReceived();
208 int DoCacheReadResponse(); 209 int DoCacheReadResponse();
209 int DoCacheReadResponseComplete(int result); 210 int DoCacheReadResponseComplete(int result);
211 int DoCacheBeforeWriteResponse(int result);
210 int DoCacheWriteResponse(); 212 int DoCacheWriteResponse();
211 int DoCacheWriteTruncatedResponse(); 213 int DoCacheWriteTruncatedResponse();
212 int DoCacheWriteResponseComplete(int result); 214 int DoCacheWriteResponseComplete(int result);
213 int DoCacheReadMetadata(); 215 int DoCacheReadMetadata();
214 int DoCacheReadMetadataComplete(int result); 216 int DoCacheReadMetadataComplete(int result);
215 int DoCacheQueryData(); 217 int DoCacheQueryData();
216 int DoCacheQueryDataComplete(int result); 218 int DoCacheQueryDataComplete(int result);
217 int DoCacheReadData(); 219 int DoCacheReadData();
218 int DoCacheReadDataComplete(int result); 220 int DoCacheReadDataComplete(int result);
219 int DoCacheWriteData(int num_bytes); 221 int DoCacheWriteData(int num_bytes);
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 uint64 final_upload_progress_; 353 uint64 final_upload_progress_;
352 CompletionCallbackImpl<Transaction> io_callback_; 354 CompletionCallbackImpl<Transaction> io_callback_;
353 scoped_refptr<CancelableCompletionCallback<Transaction> > cache_callback_; 355 scoped_refptr<CancelableCompletionCallback<Transaction> > cache_callback_;
354 scoped_refptr<CancelableCompletionCallback<Transaction> > 356 scoped_refptr<CancelableCompletionCallback<Transaction> >
355 write_headers_callback_; 357 write_headers_callback_;
356 }; 358 };
357 359
358 } // namespace net 360 } // namespace net
359 361
360 #endif // NET_HTTP_HTTP_CACHE_TRANSACTION_H_ 362 #endif // NET_HTTP_HTTP_CACHE_TRANSACTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698