Index: net/http/http_cache_transaction.h |
=================================================================== |
--- net/http/http_cache_transaction.h (revision 46487) |
+++ net/http/http_cache_transaction.h (working copy) |
@@ -111,6 +111,8 @@ |
enum State { |
STATE_NONE, |
+ STATE_GET_BACKEND, |
+ STATE_GET_BACKEND_COMPLETE, |
STATE_SEND_REQUEST, |
STATE_SEND_REQUEST_COMPLETE, |
STATE_SUCCESSFUL_SEND_REQUEST, |
@@ -160,6 +162,8 @@ |
// Each of these methods corresponds to a State value. If there is an |
// argument, the value corresponds to the return of the previous state or |
// corresponding callback. |
+ int DoGetBackend(); |
+ int DoGetBackendComplete(int result); |
int DoSendRequest(); |
int DoSendRequestComplete(int result); |
int DoSuccessfulSendRequest(); |
@@ -202,9 +206,6 @@ |
// layer (skipping the cache entirely). |
bool ShouldPassThrough(); |
- // Associates this transaction with a cache entry. |
- int AddToEntry(); |
- |
// Called to begin reading from the cache. Returns network error code. |
int BeginCacheRead(); |
@@ -225,9 +226,6 @@ |
// Returns a network error code. |
int BeginExternallyConditionalizedRequest(); |
- // Called to begin a network transaction. Returns network error code. |
- int BeginNetworkRequest(); |
- |
// Called to restart a network transaction after an error. Returns network |
// error code. |
int RestartNetworkRequest(); |
@@ -332,7 +330,7 @@ |
CompletionCallbackImpl<Transaction> io_callback_; |
scoped_refptr<CancelableCompletionCallback<Transaction> > cache_callback_; |
scoped_refptr<CancelableCompletionCallback<Transaction> > |
- write_headers_callback_; |
+ write_headers_callback_; |
}; |
} // namespace net |