Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Unified Diff: sync/tools/sync_client.cc

Issue 1545553003: Switch to standard integer types in sync/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/test/trackable_mock_invalidation.cc ('k') | sync/tools/sync_listen_notifications.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(); }
« no previous file with comments | « sync/test/trackable_mock_invalidation.cc ('k') | sync/tools/sync_listen_notifications.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698