Searched refs:FakeServerEntity (Results 1 – 17 of 17) sorted by relevance
/external/chromium_org/sync/test/fake_server/ |
D | fake_server_entity.cc | 38 FakeServerEntity::~FakeServerEntity() { } in ~FakeServerEntity() 40 const std::string& FakeServerEntity::GetId() const { in GetId() 44 ModelType FakeServerEntity::GetModelType() const { in GetModelType() 48 int64 FakeServerEntity::GetVersion() const { in GetVersion() 52 void FakeServerEntity::SetVersion(int64 version) { in SetVersion() 56 const std::string& FakeServerEntity::GetName() const { in GetName() 61 string FakeServerEntity::CreateId(const ModelType& model_type, in CreateId() 71 std::string FakeServerEntity::GetTopLevelId(const ModelType& model_type) { in GetTopLevelId() 72 return FakeServerEntity::CreateId( in GetTopLevelId() 78 ModelType FakeServerEntity::GetModelTypeFromId(const string& id) { in GetModelTypeFromId() [all …]
|
D | permanent_entity.cc | 28 FakeServerEntity* PermanentEntity::Create(const ModelType& model_type, in Create() 41 string id = FakeServerEntity::CreateId(model_type, server_tag); in Create() 42 string parent_id = FakeServerEntity::CreateId(model_type, parent_server_tag); in Create() 54 FakeServerEntity* PermanentEntity::CreateTopLevel(const ModelType& model_type) { in CreateTopLevel() 59 string id = FakeServerEntity::GetTopLevelId(model_type); in CreateTopLevel() 71 FakeServerEntity* PermanentEntity::CreateUpdatedNigoriEntity( in CreateUpdatedNigoriEntity() 73 FakeServerEntity* current_server_entity) { in CreateUpdatedNigoriEntity() 92 : FakeServerEntity(id, model_type, 0, name), in PermanentEntity() 102 FakeServerEntity::SerializeBaseProtoFields(proto); in SerializeAsProto()
|
D | 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);
|
D | tombstone_entity.cc | 23 FakeServerEntity* TombstoneEntity::Create(const string& id) { in Create() 29 : FakeServerEntity(id, model_type, 0, string()) { } in TombstoneEntity() 36 FakeServerEntity::SerializeBaseProtoFields(proto); in SerializeAsProto() 39 AddDefaultFieldValue(FakeServerEntity::GetModelType(), specifics); in SerializeAsProto()
|
D | unique_client_entity.cc | 25 FakeServerEntity* UniqueClientEntity::Create( in Create() 45 return FakeServerEntity::CreateId( in EffectiveIdForClientTaggedEntity() 59 : FakeServerEntity(id, model_type, version, name), in UniqueClientEntity() 68 return FakeServerEntity::GetTopLevelId(model_type_); in GetParentId() 72 FakeServerEntity::SerializeBaseProtoFields(proto); in SerializeAsProto()
|
D | bookmark_entity.cc | 31 FakeServerEntity* BookmarkEntity::CreateNew( in CreateNew() 38 string id = FakeServerEntity::CreateId(syncer::BOOKMARKS, in CreateNew() 57 FakeServerEntity* BookmarkEntity::CreateUpdatedVersion( in CreateUpdatedVersion() 59 FakeServerEntity* current_server_entity, in CreateUpdatedVersion() 97 : FakeServerEntity(id, syncer::BOOKMARKS, version, name), in BookmarkEntity() 112 FakeServerEntity::SerializeBaseProtoFields(proto); in SerializeAsProto()
|
D | fake_server.cc | 45 class FakeServerEntity; 81 bool ClientWantsItem(FakeServerEntity* entity) const { in ClientWantsItem() 165 FakeServerEntity* top_level_entity = in CreateDefaultPermanentItems() 173 FakeServerEntity* bookmark_bar_entity = in CreateDefaultPermanentItems() 183 FakeServerEntity* other_bookmarks_entity = in CreateDefaultPermanentItems() 201 FakeServerEntity* mobile_bookmarks_entity = in CreateMobileBookmarksPermanentItem() 213 void FakeServer::SaveEntity(FakeServerEntity* entity) { in SaveEntity() 288 FakeServerEntity* entity = it->second; in HandleGetUpdatesRequest() 324 FakeServerEntity* entity; in CommitEntity() 365 FakeServerEntity* entity) { in BuildEntryResponseForSuccessfulCommit() [all …]
|
D | bookmark_entity_builder.cc | 48 scoped_ptr<FakeServerEntity> BookmarkEntityBuilder::Build() { in Build() 50 return make_scoped_ptr<FakeServerEntity>(NULL); in Build() 65 return make_scoped_ptr<FakeServerEntity>( in Build() 77 FakeServerEntity::CreateId(syncer::BOOKMARKS, in Build()
|
D | bookmark_entity.h | 20 class BookmarkEntity : public FakeServerEntity { 26 static FakeServerEntity* CreateNew(const sync_pb::SyncEntity& client_entity, 34 static FakeServerEntity* CreateUpdatedVersion( 36 FakeServerEntity* current_server_entity,
|
D | fake_server.h | 58 void InjectEntity(scoped_ptr<FakeServerEntity> entity); 85 typedef std::map<std::string, FakeServerEntity*> EntityMap; 103 void SaveEntity(FakeServerEntity* entity); 120 FakeServerEntity* entity);
|
D | fake_server_entity.h | 18 class FakeServerEntity { 32 virtual ~FakeServerEntity(); 50 FakeServerEntity(const std::string& id,
|
D | tombstone_entity.h | 18 class TombstoneEntity : public FakeServerEntity { 23 static FakeServerEntity* Create(const std::string& id);
|
D | unique_client_entity.h | 18 class UniqueClientEntity : public FakeServerEntity { 23 static FakeServerEntity* Create(const sync_pb::SyncEntity& client_entity);
|
D | entity_builder.cc | 19 : id_(FakeServerEntity::CreateId(model_type, base::GenerateGUID())), in EntityBuilder()
|
D | entity_builder.h | 25 virtual scoped_ptr<FakeServerEntity> Build() = 0;
|
D | bookmark_entity_builder.h | 29 virtual scoped_ptr<FakeServerEntity> Build() OVERRIDE;
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
D | single_client_bookmarks_sync_test.cc | 191 scoped_ptr<fake_server::FakeServerEntity> entity = in IN_PROC_BROWSER_TEST_F()
|