summaryrefslogtreecommitdiffstats
path: root/net/http/http_network_transaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/http_network_transaction.h')
-rw-r--r--net/http/http_network_transaction.h26
1 files changed, 1 insertions, 25 deletions
diff --git a/net/http/http_network_transaction.h b/net/http/http_network_transaction.h
index 7abfcf9..00e9a65 100644
--- a/net/http/http_network_transaction.h
+++ b/net/http/http_network_transaction.h
@@ -1,5 +1,4 @@
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Copyright (c) 2012, Code Aurora Forum. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -103,8 +102,6 @@ class HttpNetworkTransaction : public HttpTransaction,
STATE_READ_HEADERS_COMPLETE,
STATE_READ_BODY,
STATE_READ_BODY_COMPLETE,
- STATE_DRAIN_BODY_FOR_GETZIP_RETRY,
- STATE_DRAIN_BODY_FOR_GETZIP_RETRY_COMPLETE,
STATE_DRAIN_BODY_FOR_AUTH_RESTART,
STATE_DRAIN_BODY_FOR_AUTH_RESTART_COMPLETE,
STATE_NONE
@@ -140,9 +137,6 @@ class HttpNetworkTransaction : public HttpTransaction,
int DoReadBodyComplete(int result);
int DoDrainBodyForAuthRestart();
int DoDrainBodyForAuthRestartComplete(int result);
- int DoDrainBodyForGetZipRetry();
- int DoDrainBodyForGetZipRetryComplete(int result);
- void DoDrainBodyForRetryComplete( int result, bool isForAuthentication );
void BuildRequestHeaders(bool using_proxy);
@@ -188,28 +182,10 @@ class HttpNetworkTransaction : public HttpTransaction,
// Sets up the state machine to restart the transaction with auth.
void PrepareForAuthRestart(HttpAuth::Target target);
- // Sets up the state machine to restart the transaction if
- // GETzip error occurred.
- void PrepareForGetZipRetry();
-
- // Sets up the state machine to restart the transaction.
- void PrepareForRetry(bool isForAuthentication);
-
// Called when we don't need to drain the response body or have drained it.
- // Clears request info for transaction restart for auth.
- // Uses DidDrainBodyForRetry to reset connection if needed and to
- // set next_state_
- void DidDrainBodyForAuthRestart(bool keep_alive);
-
- // Called when we don't need to drain the response body or have drained it.
- // Clears request info for transaction retry caused by GETzip error.
- // Uses DidDrainBodyForRetry to reset connection if needed and to
- // set next_state_
- void DidDrainBodyForGetZipRetry(bool keep_alive);
-
// Resets |connection_| unless |keep_alive| is true, then calls
// ResetStateForRestart. Sets |next_state_| appropriately.
- void DidDrainBodyForRetry( bool keep_alive );
+ void DidDrainBodyForAuthRestart(bool keep_alive);
// Resets the members of the transaction so it can be restarted.
void ResetStateForRestart();