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

Unified Diff: sync/internal_api/model_type_entity_unittest.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/model_type_entity.cc ('k') | sync/internal_api/protocol_event_buffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/model_type_entity_unittest.cc
diff --git a/sync/internal_api/model_type_entity_unittest.cc b/sync/internal_api/model_type_entity_unittest.cc
index 08de2fc1525435e209b4d3c3740909b492cf4c1f..683904341f04290738fa5acff8e444460299172e 100644
--- a/sync/internal_api/model_type_entity_unittest.cc
+++ b/sync/internal_api/model_type_entity_unittest.cc
@@ -4,6 +4,8 @@
#include "sync/internal_api/public/model_type_entity.h"
+#include <stdint.h>
+
#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
#include "sync/internal_api/public/base/model_type.h"
@@ -69,7 +71,7 @@ class ModelTypeEntityTest : public ::testing::Test {
}
scoped_ptr<ModelTypeEntity> NewServerItem(
- int64 version,
+ int64_t version,
const sync_pb::EntitySpecifics& specifics) {
scoped_ptr<ModelTypeEntity> entity(NewServerItem());
ApplyUpdateFromServer(entity.get(), version, specifics);
@@ -77,13 +79,13 @@ class ModelTypeEntityTest : public ::testing::Test {
}
void ApplyUpdateFromServer(ModelTypeEntity* entity,
- int64 version,
+ int64_t version,
const sync_pb::EntitySpecifics& specifics) {
ApplyUpdateFromServer(entity, version, specifics, kMtime);
}
void ApplyUpdateFromServer(ModelTypeEntity* entity,
- int64 version,
+ int64_t version,
const sync_pb::EntitySpecifics& specifics,
base::Time mtime) {
EntityData data;
« no previous file with comments | « sync/internal_api/model_type_entity.cc ('k') | sync/internal_api/protocol_event_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698