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

Unified Diff: sync/test/fake_server/fake_server_entity.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/test/fake_server/fake_server.cc ('k') | sync/test/fake_server/fake_server_entity.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/fake_server/fake_server_entity.h
diff --git a/sync/test/fake_server/fake_server_entity.h b/sync/test/fake_server/fake_server_entity.h
index 0b197b7b55674936ede07e32aa57968abc42cb05..be2da7df545b1b5dfce475f90c1a4566d5687d0c 100644
--- a/sync/test/fake_server/fake_server_entity.h
+++ b/sync/test/fake_server/fake_server_entity.h
@@ -5,10 +5,11 @@
#ifndef SYNC_TEST_FAKE_SERVER_FAKE_SERVER_ENTITY_H_
#define SYNC_TEST_FAKE_SERVER_FAKE_SERVER_ENTITY_H_
+#include <stdint.h>
+
#include <map>
#include <string>
-#include "base/basictypes.h"
#include "sync/internal_api/public/base/model_type.h"
#include "sync/protocol/sync.pb.h"
@@ -32,8 +33,8 @@ class FakeServerEntity {
virtual ~FakeServerEntity();
const std::string& GetId() const;
syncer::ModelType GetModelType() const;
- int64 GetVersion() const;
- void SetVersion(int64 version);
+ int64_t GetVersion() const;
+ void SetVersion(int64_t version);
const std::string& GetName() const;
void SetName(const std::string& name);
@@ -56,7 +57,7 @@ class FakeServerEntity {
FakeServerEntity(const std::string& id,
const syncer::ModelType& model_type,
- int64 version,
+ int64_t version,
const std::string& name);
void SerializeBaseProtoFields(sync_pb::SyncEntity* sync_entity) const;
@@ -69,7 +70,7 @@ class FakeServerEntity {
syncer::ModelType model_type_;
// The version of this entity.
- int64 version_;
+ int64_t version_;
// The name of the entity.
std::string name_;
« no previous file with comments | « sync/test/fake_server/fake_server.cc ('k') | sync/test/fake_server/fake_server_entity.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698