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

Unified Diff: sync/test/fake_server/bookmark_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/bookmark_entity.h ('k') | sync/test/fake_server/bookmark_entity_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/fake_server/bookmark_entity.cc
diff --git a/sync/test/fake_server/bookmark_entity.cc b/sync/test/fake_server/bookmark_entity.cc
index 9a9ac69d18eb9693effa7ad8745460df536b530b..b14e8642ec0f894916b6c7be64184ea18e6256a6 100644
--- a/sync/test/fake_server/bookmark_entity.cc
+++ b/sync/test/fake_server/bookmark_entity.cc
@@ -4,9 +4,10 @@
#include "sync/test/fake_server/bookmark_entity.h"
+#include <stdint.h>
+
#include <string>
-#include "base/basictypes.h"
#include "base/guid.h"
#include "sync/internal_api/public/base/model_type.h"
#include "sync/protocol/sync.pb.h"
@@ -71,18 +72,17 @@ scoped_ptr<FakeServerEntity> BookmarkEntity::CreateUpdatedVersion(
client_entity.mtime()));
}
-BookmarkEntity::BookmarkEntity(
- const string& id,
- int64 version,
- const string& name,
- const string& originator_cache_guid,
- const string& originator_client_item_id,
- const sync_pb::UniquePosition& unique_position,
- const sync_pb::EntitySpecifics& specifics,
- bool is_folder,
- const string& parent_id,
- int64 creation_time,
- int64 last_modified_time)
+BookmarkEntity::BookmarkEntity(const string& id,
+ int64_t version,
+ const string& name,
+ const string& originator_cache_guid,
+ const string& originator_client_item_id,
+ const sync_pb::UniquePosition& unique_position,
+ const sync_pb::EntitySpecifics& specifics,
+ bool is_folder,
+ const string& parent_id,
+ int64_t creation_time,
+ int64_t last_modified_time)
: FakeServerEntity(id, syncer::BOOKMARKS, version, name),
originator_cache_guid_(originator_cache_guid),
originator_client_item_id_(originator_client_item_id),
« no previous file with comments | « sync/test/fake_server/bookmark_entity.h ('k') | sync/test/fake_server/bookmark_entity_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698