| Index: sync/internal_api/syncapi_server_connection_manager.cc
|
| diff --git a/sync/internal_api/syncapi_server_connection_manager.cc b/sync/internal_api/syncapi_server_connection_manager.cc
|
| index 16646ec7f4df4ee93cbb979c7d8b371b072422e8..a54fcbc8ff6e03791c020e9f9c8e8abe293506b1 100644
|
| --- a/sync/internal_api/syncapi_server_connection_manager.cc
|
| +++ b/sync/internal_api/syncapi_server_connection_manager.cc
|
| @@ -53,9 +53,9 @@ bool SyncAPIBridgedConnection::Init(const char* path,
|
| int error_code = 0;
|
| int response_code = 0;
|
| if (!http->MakeSynchronousPost(&error_code, &response_code)) {
|
| + DCHECK_NE(error_code, net::OK);
|
| DVLOG(1) << "Http POST failed, error returns: " << error_code;
|
| - response->server_status = HttpResponse::ServerConnectionCodeFromNetError(
|
| - error_code);
|
| + response->server_status = HttpResponse::CONNECTION_UNAVAILABLE;
|
| return false;
|
| }
|
|
|
|
|