diff options
Diffstat (limited to 'chrome/browser/sync/engine/net/server_connection_manager.h')
-rw-r--r-- | chrome/browser/sync/engine/net/server_connection_manager.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/sync/engine/net/server_connection_manager.h b/chrome/browser/sync/engine/net/server_connection_manager.h index ae53a37..748c3f7 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_; |