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

Unified Diff: sync/test/fake_server/unique_client_entity.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/test/fake_server/unique_client_entity.h ('k') | sync/test/local_sync_test_server.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/fake_server/unique_client_entity.cc
diff --git a/sync/test/fake_server/unique_client_entity.cc b/sync/test/fake_server/unique_client_entity.cc
index 201e94713e6ebd0bee0963b050ec210456f9af2a..fc9bdff89e4cc4abd2eea7150f8c948d8b42f757 100644
--- a/sync/test/fake_server/unique_client_entity.cc
+++ b/sync/test/fake_server/unique_client_entity.cc
@@ -4,9 +4,10 @@
#include "sync/test/fake_server/unique_client_entity.h"
+#include <stdint.h>
+
#include <string>
-#include "base/basictypes.h"
#include "base/guid.h"
#include "base/memory/scoped_ptr.h"
#include "sync/internal_api/public/base/model_type.h"
@@ -27,22 +28,22 @@ namespace {
// A version must be passed when creating a FakeServerEntity, but this value
// is overrideen immediately when saving the entity in FakeServer.
-const int64 kUnusedVersion = 0L;
+const int64_t kUnusedVersion = 0L;
// Default time (creation and last modified) used when creating entities.
-const int64 kDefaultTime = 1234L;
+const int64_t kDefaultTime = 1234L;
} // namespace
UniqueClientEntity::UniqueClientEntity(
const string& id,
ModelType model_type,
- int64 version,
+ int64_t version,
const string& name,
const string& client_defined_unique_tag,
const sync_pb::EntitySpecifics& specifics,
- int64 creation_time,
- int64 last_modified_time)
+ int64_t creation_time,
+ int64_t last_modified_time)
: FakeServerEntity(id, model_type, version, name),
client_defined_unique_tag_(client_defined_unique_tag),
creation_time_(creation_time),
« no previous file with comments | « sync/test/fake_server/unique_client_entity.h ('k') | sync/test/local_sync_test_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698