/external/chromium_org/sync/test/fake_server/ |
D | fake_server_entity.cc | 34 FakeServerEntity::~FakeServerEntity() { } in ~FakeServerEntity() 36 const std::string& FakeServerEntity::GetId() const { in GetId() 40 ModelType FakeServerEntity::GetModelType() const { in GetModelType() 44 int64 FakeServerEntity::GetVersion() const { in GetVersion() 48 void FakeServerEntity::SetVersion(int64 version) { in SetVersion() 52 const std::string& FakeServerEntity::GetName() const { in GetName() 57 string FakeServerEntity::CreateId(const ModelType& model_type, in CreateId() 67 ModelType FakeServerEntity::GetModelTypeFromId(const string& id) { in GetModelTypeFromId() 79 FakeServerEntity::FakeServerEntity(const string& id, in FakeServerEntity() function in fake_server::FakeServerEntity 88 void FakeServerEntity::SerializeBaseProtoFields( in SerializeBaseProtoFields()
|
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::CreateId(model_type, server_tag); in CreateTopLevel() 71 FakeServerEntity* PermanentEntity::CreateUpdatedNigoriEntity( in CreateUpdatedNigoriEntity() 73 FakeServerEntity* current_server_entity) { in CreateUpdatedNigoriEntity() 92 : FakeServerEntity(id, model_type, 0, name), in PermanentEntity() 103 FakeServerEntity::SerializeBaseProtoFields(sync_entity); 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 | unique_client_entity.cc | 24 FakeServerEntity* UniqueClientEntity::CreateNew( in CreateNew() 31 FakeServerEntity::CreateId(model_type, base::GenerateGUID()) : in CreateNew() 45 FakeServerEntity* UniqueClientEntity::CreateUpdatedVersion( in CreateUpdatedVersion() 47 FakeServerEntity* current_server_entity) { in CreateUpdatedVersion() 69 : FakeServerEntity(id, model_type, version, name), in UniqueClientEntity() 84 FakeServerEntity::SerializeBaseProtoFields(sync_entity); in SerializeAsProto()
|
D | tombstone_entity.cc | 23 FakeServerEntity* TombstoneEntity::Create(const string& id) { in Create() 29 : FakeServerEntity(id, model_type, 0, string()) { } in TombstoneEntity() 37 FakeServerEntity::SerializeBaseProtoFields(sync_entity); in SerializeAsProto() 40 AddDefaultFieldValue(FakeServerEntity::GetModelType(), specifics); 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() 113 FakeServerEntity::SerializeBaseProtoFields(sync_entity); in SerializeAsProto()
|
D | unique_client_entity.h | 18 class UniqueClientEntity : public FakeServerEntity { 23 static FakeServerEntity* CreateNew(const sync_pb::SyncEntity& client_entity); 27 static FakeServerEntity* CreateUpdatedVersion( 29 FakeServerEntity* current_server_entity);
|
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() 371 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 { 29 virtual ~FakeServerEntity(); 47 FakeServerEntity(const std::string& id,
|
D | tombstone_entity.h | 18 class TombstoneEntity : public FakeServerEntity { 23 static FakeServerEntity* Create(const std::string& id);
|
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()
|