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

Unified Diff: sync/syncable/model_neutral_mutable_entry.h

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/metahandle_set.h ('k') | sync/syncable/model_neutral_mutable_entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/syncable/model_neutral_mutable_entry.h
diff --git a/sync/syncable/model_neutral_mutable_entry.h b/sync/syncable/model_neutral_mutable_entry.h
index 8f25f237ce92483a54772b792eeafaa2edd8b70e..76aa32a1cc0ddc8e9eb507cddff4ff60d6140d69 100644
--- a/sync/syncable/model_neutral_mutable_entry.h
+++ b/sync/syncable/model_neutral_mutable_entry.h
@@ -5,8 +5,12 @@
#ifndef SYNC_SYNCABLE_MODEL_NEUTRAL_MUTABLE_ENTRY_H_
#define SYNC_SYNCABLE_MODEL_NEUTRAL_MUTABLE_ENTRY_H_
+#include <stddef.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"
@@ -37,7 +41,7 @@ class SYNC_EXPORT ModelNeutralMutableEntry : public Entry {
ModelNeutralMutableEntry(BaseWriteTransaction* trans,
CreateNewTypeRoot,
ModelType type);
- ModelNeutralMutableEntry(BaseWriteTransaction* trans, GetByHandle, int64);
+ ModelNeutralMutableEntry(BaseWriteTransaction* trans, GetByHandle, int64_t);
ModelNeutralMutableEntry(BaseWriteTransaction* trans, GetById, const Id&);
ModelNeutralMutableEntry(
BaseWriteTransaction* trans,
@@ -61,8 +65,8 @@ class SYNC_EXPORT ModelNeutralMutableEntry : public Entry {
// success and false on failure, which occurs when putting the value would
// have caused a duplicate in the index. The setters that never fail return
// void.
- void PutBaseVersion(int64 value);
- void PutServerVersion(int64 value);
+ void PutBaseVersion(int64_t value);
+ void PutServerVersion(int64_t value);
void PutServerMtime(base::Time value);
void PutServerCtime(base::Time value);
bool PutId(const Id& value);
@@ -97,7 +101,7 @@ class SYNC_EXPORT ModelNeutralMutableEntry : public Entry {
// except that it doesn't bother to invoke 'SaveOriginals'. Calling that
// function is at best unnecessary, since the transaction will have already
// used its list of mutations by the time this function is called.
- void UpdateTransactionVersion(int64 version);
+ void UpdateTransactionVersion(int64_t version);
protected:
explicit ModelNeutralMutableEntry(BaseWriteTransaction* trans);
« no previous file with comments | « sync/syncable/metahandle_set.h ('k') | sync/syncable/model_neutral_mutable_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698