| Index: chrome/browser/sync/engine/net/server_connection_manager.h
|
| diff --git a/chrome/browser/sync/engine/net/server_connection_manager.h b/chrome/browser/sync/engine/net/server_connection_manager.h
|
| index ae53a3747f37acfc8864f51c8ae5abf098a87942..748c3f7f3e4ad0688297b3b662955c6e285001a7 100644
|
| --- a/chrome/browser/sync/engine/net/server_connection_manager.h
|
| +++ b/chrome/browser/sync/engine/net/server_connection_manager.h
|
| @@ -31,10 +31,6 @@ namespace browser_sync {
|
|
|
| class ClientToServerMessage;
|
|
|
| -// How many connection errors are accepted before network handles are closed
|
| -// and reopened.
|
| -static const int32 kMaxConnectionErrorsBeforeReset = 10;
|
| -
|
| static const int32 kUnsetResponseCode = -1;
|
| static const int32 kUnsetContentLength = -1;
|
| static const int32 kUnsetPayloadLength = -1;
|
| @@ -299,10 +295,6 @@ class ServerConnectionManager {
|
| return get_time_path_;
|
| }
|
|
|
| - // Called wherever a failure should be taken as an indication that we may
|
| - // be experiencing connection difficulties.
|
| - virtual bool IncrementErrorCount();
|
| -
|
| // NOTE: Tests rely on this protected function being virtual.
|
| //
|
| // Internal PostBuffer base function.
|
| @@ -345,8 +337,6 @@ class ServerConnectionManager {
|
| // The previous auth token that is invalid now.
|
| std::string previously_invalidated_token;
|
|
|
| - int error_count_; // Tracks the number of connection errors.
|
| -
|
| ObserverList<ServerConnectionEventListener> listeners_;
|
|
|
| HttpResponse::ServerConnectionCode server_status_;
|
|
|