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

Unified Diff: sync/syncable/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/entry.h ('k') | sync/syncable/entry_kernel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/syncable/entry.cc
diff --git a/sync/syncable/entry.cc b/sync/syncable/entry.cc
index ca249e5dc978a1db45d3d0a784d3b4f032a94029..176178463bce3eb484504743c7a226c2c1734dfc 100644
--- a/sync/syncable/entry.cc
+++ b/sync/syncable/entry.cc
@@ -4,6 +4,8 @@
#include "sync/syncable/entry.h"
+#include <stdint.h>
+
#include <iomanip>
#include "sync/syncable/directory.h"
@@ -28,7 +30,7 @@ Entry::Entry(BaseTransaction* trans, GetTypeRoot, ModelType type)
kernel_ = trans->directory()->GetEntryByServerTag(tag);
}
-Entry::Entry(BaseTransaction* trans, GetByHandle, int64 metahandle)
+Entry::Entry(BaseTransaction* trans, GetByHandle, int64_t metahandle)
: basetrans_(trans) {
kernel_ = trans->directory()->GetEntryByHandle(metahandle);
}
@@ -109,7 +111,7 @@ Id Entry::GetFirstChildId() const {
return dir()->GetFirstChildId(basetrans_, kernel_);
}
-void Entry::GetChildHandles(std::vector<int64>* result) const {
+void Entry::GetChildHandles(std::vector<int64_t>* result) const {
dir()->GetChildHandlesById(basetrans_, GetId(), result);
}
« no previous file with comments | « sync/syncable/entry.h ('k') | sync/syncable/entry_kernel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698