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

Unified Diff: sync/internal_api/read_node.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/internal_api/public/write_transaction.h ('k') | sync/internal_api/read_transaction.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/read_node.cc
diff --git a/sync/internal_api/read_node.cc b/sync/internal_api/read_node.cc
index 15dffc8836a2ce49d4bff365c710019c504734b9..023d30c037c4f81c23dc173d23dc75424115d002 100644
--- a/sync/internal_api/read_node.cc
+++ b/sync/internal_api/read_node.cc
@@ -4,6 +4,8 @@
#include "sync/internal_api/public/read_node.h"
+#include <stdint.h>
+
#include "base/logging.h"
#include "sync/internal_api/public/base_transaction.h"
#include "sync/syncable/entry.h"
@@ -36,7 +38,7 @@ void ReadNode::InitByRootLookup() {
DCHECK(false) << "Could not lookup root node for reading.";
}
-BaseNode::InitByLookupResult ReadNode::InitByIdLookup(int64 id) {
+BaseNode::InitByLookupResult ReadNode::InitByIdLookup(int64_t id) {
DCHECK(!entry_) << "Init called twice";
DCHECK_NE(id, kInvalidId);
syncable::BaseTransaction* trans = transaction_->GetWrappedTrans();
@@ -77,7 +79,7 @@ const BaseTransaction* ReadNode::GetTransaction() const {
return transaction_;
}
-int64 ReadNode::GetTransactionVersion() const {
+int64_t ReadNode::GetTransactionVersion() const {
return GetEntry()->GetTransactionVersion();
}
« no previous file with comments | « sync/internal_api/public/write_transaction.h ('k') | sync/internal_api/read_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698