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

Unified Diff: sync/api/sync_data.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/api/sync_data.h ('k') | sync/api/sync_data_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/api/sync_data.cc
diff --git a/sync/api/sync_data.cc b/sync/api/sync_data.cc
index 17b54dc7cdfe5f77c2b13f8533d99f214b1a6ef1..e40e7c39e9fb05ea87b0e308fb920df5b11f8aef 100644
--- a/sync/api/sync_data.cc
+++ b/sync/api/sync_data.cc
@@ -4,6 +4,8 @@
#include "sync/api/sync_data.h"
+#include <stdint.h>
+
#include <algorithm>
#include <ostream>
@@ -65,7 +67,7 @@ void SyncData::ImmutableSyncEntityTraits::Swap(sync_pb::SyncEntity* t1,
SyncData::SyncData() : id_(kInvalidId), is_valid_(false) {}
-SyncData::SyncData(int64 id,
+SyncData::SyncData(int64_t id,
sync_pb::SyncEntity* entity,
const base::Time& remote_modification_time,
const syncer::AttachmentServiceProxy& attachment_service)
@@ -117,7 +119,7 @@ SyncData SyncData::CreateLocalDataWithAttachments(
// Static.
SyncData SyncData::CreateRemoteData(
- int64 id,
+ int64_t id,
const sync_pb::EntitySpecifics& specifics,
const base::Time& modification_time,
const AttachmentIdList& attachment_ids,
@@ -208,7 +210,7 @@ const base::Time& SyncDataRemote::GetModifiedTime() const {
return remote_modification_time_;
}
-int64 SyncDataRemote::GetId() const {
+int64_t SyncDataRemote::GetId() const {
return id_;
}
« no previous file with comments | « sync/api/sync_data.h ('k') | sync/api/sync_data_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698