HomeSort by relevance Sort by last modified time
    Searched refs:FakeServerEntity (Results 1 - 17 of 17) sorted by null

  /external/chromium_org/sync/test/fake_server/
fake_server_entity.cc 38 FakeServerEntity::~FakeServerEntity() { }
40 const std::string& FakeServerEntity::GetId() const {
44 ModelType FakeServerEntity::GetModelType() const {
48 int64 FakeServerEntity::GetVersion() const {
52 void FakeServerEntity::SetVersion(int64 version) {
56 const std::string& FakeServerEntity::GetName() const {
61 string FakeServerEntity::CreateId(const ModelType& model_type,
71 std::string FakeServerEntity::GetTopLevelId(const ModelType& model_type) {
72 return FakeServerEntity::CreateId
    [all...]
tombstone_entity.cc 23 FakeServerEntity* TombstoneEntity::Create(const string& id) {
29 : FakeServerEntity(id, model_type, 0, string()) { }
36 FakeServerEntity::SerializeBaseProtoFields(proto);
39 AddDefaultFieldValue(FakeServerEntity::GetModelType(), specifics);
tombstone_entity.h 18 class TombstoneEntity : public FakeServerEntity {
23 static FakeServerEntity* Create(const std::string& id);
25 // FakeServerEntity implementation.
permanent_entity.h 18 class PermanentEntity : public FakeServerEntity {
24 static FakeServerEntity* Create(const syncer::ModelType& model_type,
31 static FakeServerEntity* CreateTopLevel(const syncer::ModelType& model_type);
35 static FakeServerEntity* CreateUpdatedNigoriEntity(
37 FakeServerEntity* current_server_entity);
39 // FakeServerEntity implementation.
permanent_entity.cc 28 FakeServerEntity* PermanentEntity::Create(const ModelType& model_type,
41 string id = FakeServerEntity::CreateId(model_type, server_tag);
42 string parent_id = FakeServerEntity::CreateId(model_type, parent_server_tag);
54 FakeServerEntity* PermanentEntity::CreateTopLevel(const ModelType& model_type) {
59 string id = FakeServerEntity::GetTopLevelId(model_type);
71 FakeServerEntity* PermanentEntity::CreateUpdatedNigoriEntity(
73 FakeServerEntity* current_server_entity) {
92 : FakeServerEntity(id, model_type, 0, name),
102 FakeServerEntity::SerializeBaseProtoFields(proto);
unique_client_entity.cc 25 FakeServerEntity* UniqueClientEntity::Create(
45 return FakeServerEntity::CreateId(
59 : FakeServerEntity(id, model_type, version, name),
68 return FakeServerEntity::GetTopLevelId(model_type_);
72 FakeServerEntity::SerializeBaseProtoFields(proto);
fake_server_entity.h 18 class FakeServerEntity {
32 virtual ~FakeServerEntity();
50 FakeServerEntity(const std::string& id,
bookmark_entity.h 18 // A bookmark version of FakeServerEntity. This type represents entities that
20 class BookmarkEntity : public FakeServerEntity {
26 static FakeServerEntity* CreateNew(const sync_pb::SyncEntity& client_entity,
34 static FakeServerEntity* CreateUpdatedVersion(
36 FakeServerEntity* current_server_entity,
51 // FakeServerEntity implementation.
bookmark_entity_builder.cc 25 // A version must be passed when creating a FakeServerEntity, but this value
48 scoped_ptr<FakeServerEntity> BookmarkEntityBuilder::Build() {
50 return make_scoped_ptr<FakeServerEntity>(NULL);
65 return make_scoped_ptr<FakeServerEntity>(
77 FakeServerEntity::CreateId(syncer::BOOKMARKS,
bookmark_entity_builder.h 29 virtual scoped_ptr<FakeServerEntity> Build() OVERRIDE;
entity_builder.cc 19 : id_(FakeServerEntity::CreateId(model_type, base::GenerateGUID())),
entity_builder.h 17 // Parent class for FakeServerEntity builders.
22 // Builds a FakeServerEntity and returns a scoped_ptr tht owns it. If building
24 // FakeServerEntity*.
25 virtual scoped_ptr<FakeServerEntity> Build() = 0;
bookmark_entity.cc 31 FakeServerEntity* BookmarkEntity::CreateNew(
38 string id = FakeServerEntity::CreateId(syncer::BOOKMARKS,
57 FakeServerEntity* BookmarkEntity::CreateUpdatedVersion(
59 FakeServerEntity* current_server_entity,
97 : FakeServerEntity(id, syncer::BOOKMARKS, version, name),
112 FakeServerEntity::SerializeBaseProtoFields(proto);
unique_client_entity.h 18 class UniqueClientEntity : public FakeServerEntity {
23 static FakeServerEntity* Create(const sync_pb::SyncEntity& client_entity);
29 // FakeServerEntity implementation.
fake_server.h 55 // Adds the FakeServerEntity* owned by |entity| to the server's collection
58 void InjectEntity(scoped_ptr<FakeServerEntity> entity);
85 typedef std::map<std::string, FakeServerEntity*> EntityMap;
103 void SaveEntity(FakeServerEntity* entity);
105 // Commits a client-side SyncEntity to the server as a FakeServerEntity.
109 // is returned and a new FakeServerEntity is saved in |entities_|.
120 FakeServerEntity* entity);
fake_server.cc 45 class FakeServerEntity;
81 bool ClientWantsItem(FakeServerEntity* entity) const {
165 FakeServerEntity* top_level_entity =
173 FakeServerEntity* bookmark_bar_entity =
183 FakeServerEntity* other_bookmarks_entity =
201 FakeServerEntity* mobile_bookmarks_entity =
213 void FakeServer::SaveEntity(FakeServerEntity* entity) {
288 FakeServerEntity* entity = it->second;
324 FakeServerEntity* entity;
365 FakeServerEntity* entity)
    [all...]
  /external/chromium_org/chrome/browser/sync/test/integration/
single_client_bookmarks_sync_test.cc 191 scoped_ptr<fake_server::FakeServerEntity> entity =

Completed in 119 milliseconds