Index: sync/tools/sync_client.cc |
diff --git a/sync/tools/sync_client.cc b/sync/tools/sync_client.cc |
index dbb14212c255953cdea4da4141467e113dc18682..1c602229f0c0e7f3e27b92d4e2d17b55569ccbaa 100644 |
--- a/sync/tools/sync_client.cc |
+++ b/sync/tools/sync_client.cc |
@@ -2,6 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include <stdint.h> |
+ |
#include <cstddef> |
#include <cstdio> |
#include <string> |
@@ -20,6 +22,7 @@ |
#include "base/rand_util.h" |
#include "base/task_runner.h" |
#include "base/threading/thread.h" |
+#include "build/build_config.h" |
#include "components/invalidation/impl/non_blocking_invalidator.h" |
#include "components/invalidation/public/object_id_invalidation_map.h" |
#include "components/sync_driver/invalidation_helper.h" |
@@ -131,7 +134,7 @@ class LoggingChangeDelegate : public SyncManager::ChangeDelegate { |
~LoggingChangeDelegate() override {} |
void OnChangesApplied(ModelType model_type, |
- int64 model_version, |
+ int64_t model_version, |
const BaseTransaction* trans, |
const ImmutableChangeRecordList& changes) override { |
LOG(INFO) << "Changes applied for " |
@@ -200,7 +203,7 @@ class InvalidationAdapter : public syncer::InvalidationInterface { |
return invalidation_.payload(); |
} |
- int64 GetVersion() const override { return invalidation_.version(); } |
+ int64_t GetVersion() const override { return invalidation_.version(); } |
void Acknowledge() override { invalidation_.Acknowledge(); } |