summaryrefslogtreecommitdiffstats
path: root/sync/syncable/mutable_entry.h
diff options
context:
space:
mode:
authoravi <avi@chromium.org>2015-12-21 19:14:10 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-22 03:15:12 +0000
commit4856ced07dfda549a142df3a5fa28cbb73bf1865 (patch)
treea81aceedc8ee5507d9f22fb4f163d847bfae6d28 /sync/syncable/mutable_entry.h
parent5af9dfc5f6ed2163b13d8c20d679bdb44c783769 (diff)
downloadchromium_src-4856ced07dfda549a142df3a5fa28cbb73bf1865.zip
chromium_src-4856ced07dfda549a142df3a5fa28cbb73bf1865.tar.gz
chromium_src-4856ced07dfda549a142df3a5fa28cbb73bf1865.tar.bz2
Switch to standard integer types in sync/.
BUG=138542 TBR=zea@chromium.org Review URL: https://codereview.chromium.org/1545553003 Cr-Commit-Position: refs/heads/master@{#366533}
Diffstat (limited to 'sync/syncable/mutable_entry.h')
-rw-r--r--sync/syncable/mutable_entry.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sync/syncable/mutable_entry.h b/sync/syncable/mutable_entry.h
index efffa12..8cc5df7 100644
--- a/sync/syncable/mutable_entry.h
+++ b/sync/syncable/mutable_entry.h
@@ -5,8 +5,11 @@
#ifndef SYNC_SYNCABLE_MUTABLE_ENTRY_H_
#define SYNC_SYNCABLE_MUTABLE_ENTRY_H_
+#include <stdint.h>
+
#include <string>
+#include "base/macros.h"
#include "sync/base/sync_export.h"
#include "sync/internal_api/public/base/model_type.h"
#include "sync/syncable/entry.h"
@@ -41,7 +44,7 @@ class SYNC_EXPORT MutableEntry : public ModelNeutralMutableEntry {
ModelType model_type,
const Id& parent_id,
const std::string& name);
- MutableEntry(WriteTransaction* trans, GetByHandle, int64);
+ MutableEntry(WriteTransaction* trans, GetByHandle, int64_t);
MutableEntry(WriteTransaction* trans, GetById, const Id&);
MutableEntry(WriteTransaction* trans, GetByClientTag, const std::string& tag);
MutableEntry(WriteTransaction* trans, GetTypeRoot, ModelType type);
@@ -52,7 +55,7 @@ class SYNC_EXPORT MutableEntry : public ModelNeutralMutableEntry {
// Model-changing setters. These setters make user-visible changes that will
// need to be communicated either to the local model or the sync server.
- void PutLocalExternalId(int64 value);
+ void PutLocalExternalId(int64_t value);
void PutMtime(base::Time value);
void PutCtime(base::Time value);
void PutParentId(const Id& value);