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

Unified Diff: sync/syncable/mutable_entry.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/syncable/mutable_entry.h ('k') | sync/syncable/nigori_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/syncable/mutable_entry.cc
diff --git a/sync/syncable/mutable_entry.cc b/sync/syncable/mutable_entry.cc
index 978bbe7b55ea4401571c0f9c9ea5d33922e39861..eac80f93ebf6d17ad0712bf82b2affa1c36dcdc8 100644
--- a/sync/syncable/mutable_entry.cc
+++ b/sync/syncable/mutable_entry.cc
@@ -4,6 +4,8 @@
#include "sync/syncable/mutable_entry.h"
+#include <stdint.h>
+
#include "base/memory/scoped_ptr.h"
#include "sync/internal_api/public/base/unique_position.h"
#include "sync/syncable/directory.h"
@@ -103,11 +105,11 @@ MutableEntry::MutableEntry(WriteTransaction* trans, GetById, const Id& id)
write_transaction_(trans) {
}
-MutableEntry::MutableEntry(WriteTransaction* trans, GetByHandle,
- int64 metahandle)
+MutableEntry::MutableEntry(WriteTransaction* trans,
+ GetByHandle,
+ int64_t metahandle)
: ModelNeutralMutableEntry(trans, GET_BY_HANDLE, metahandle),
- write_transaction_(trans) {
-}
+ write_transaction_(trans) {}
MutableEntry::MutableEntry(WriteTransaction* trans, GetByClientTag,
const std::string& tag)
@@ -120,7 +122,7 @@ MutableEntry::MutableEntry(WriteTransaction* trans, GetTypeRoot, ModelType type)
write_transaction_(trans) {
}
-void MutableEntry::PutLocalExternalId(int64 value) {
+void MutableEntry::PutLocalExternalId(int64_t value) {
DCHECK(kernel_);
if (kernel_->ref(LOCAL_EXTERNAL_ID) != value) {
write_transaction()->TrackChangesTo(kernel_);
« no previous file with comments | « sync/syncable/mutable_entry.h ('k') | sync/syncable/nigori_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698