| Index: net/http/http_network_transaction.h
|
| diff --git a/net/http/http_network_transaction.h b/net/http/http_network_transaction.h
|
| index 596fb7edf87911c41a8e695df5c8bd1ed4b9ff45..956bcb42b8e7d97a441be0149055b1804b02c8ac 100644
|
| --- a/net/http/http_network_transaction.h
|
| +++ b/net/http/http_network_transaction.h
|
| @@ -11,6 +11,7 @@
|
| #include "base/gtest_prod_util.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "base/time/time.h"
|
| #include "net/base/net_log.h"
|
| #include "net/base/request_priority.h"
|
| @@ -339,6 +340,15 @@ class NET_EXPORT_PRIVATE HttpNetworkTransaction
|
|
|
| BeforeNetworkStartCallback before_network_start_callback_;
|
|
|
| + // How many times have we automatically retried this request after failing
|
| + // with ERR_NETWORK_CHANGED. Retrying is only attempted when
|
| + // ERR_NETWORK_CHANGED is received during host resolution or connecting
|
| + // (i.e. before the request has been issued). This ensures request
|
| + // side-effects are never duplicated.
|
| + int num_automatic_retries_on_network_changes_;
|
| +
|
| + base::WeakPtrFactory<HttpNetworkTransaction> weak_factory_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction);
|
| };
|
|
|
|
|