| 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 35ca1e2a5ec9b9af0f7bb7a880f43ed07d0bf16e..16646ec7f4df4ee93cbb979c7d8b371b072422e8 100644
|
| --- a/sync/internal_api/syncapi_server_connection_manager.cc
|
| +++ b/sync/internal_api/syncapi_server_connection_manager.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "sync/internal_api/syncapi_server_connection_manager.h"
|
|
|
| +#include <stdint.h>
|
| +
|
| #include "net/base/net_errors.h"
|
| #include "net/http/http_status_code.h"
|
| #include "sync/internal_api/public/http_post_provider_factory.h"
|
| @@ -60,9 +62,9 @@ bool SyncAPIBridgedConnection::Init(const char* path,
|
| // We got a server response, copy over response codes and content.
|
| response->response_code = response_code;
|
| response->content_length =
|
| - static_cast<int64>(http->GetResponseContentLength());
|
| + static_cast<int64_t>(http->GetResponseContentLength());
|
| response->payload_length =
|
| - static_cast<int64>(http->GetResponseContentLength());
|
| + static_cast<int64_t>(http->GetResponseContentLength());
|
| if (response->response_code < 400)
|
| response->server_status = HttpResponse::SERVER_CONNECTION_OK;
|
| else if (response->response_code == net::HTTP_UNAUTHORIZED)
|
|
|