Home
last modified time | relevance | path

Searched refs:EntityTracker (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/sync/engine/
Dentity_tracker.cc15 EntityTracker* EntityTracker::FromServerUpdate( in FromServerUpdate()
19 return new EntityTracker(id_string, client_tag_hash, 0, received_version); in FromServerUpdate()
22 EntityTracker* EntityTracker::FromCommitRequest( in FromCommitRequest()
32 return new EntityTracker(id_string, in FromCommitRequest()
47 EntityTracker::EntityTracker(const std::string& id, in EntityTracker() function in syncer::EntityTracker
61 EntityTracker::EntityTracker(const std::string& id, in EntityTracker() function in syncer::EntityTracker
87 EntityTracker::~EntityTracker() { in ~EntityTracker()
90 bool EntityTracker::IsCommitPending() const { in IsCommitPending()
94 void EntityTracker::PrepareCommitProto(sync_pb::SyncEntity* commit_entity, in PrepareCommitProto()
116 void EntityTracker::RequestCommit(const std::string& id, in RequestCommit()
[all …]
Dentity_tracker_unittest.cc49 scoped_ptr<EntityTracker> entity( in TEST_F()
50 EntityTracker::FromServerUpdate(kServerId, kClientTagHash, 10)); in TEST_F()
59 scoped_ptr<EntityTracker> entity( in TEST_F()
60 EntityTracker::FromCommitRequest(kServerId, in TEST_F()
89 scoped_ptr<EntityTracker> entity( in TEST_F()
90 EntityTracker::FromServerUpdate(kServerId, kClientTagHash, 10)); in TEST_F()
108 scoped_ptr<EntityTracker> entity( in TEST_F()
109 EntityTracker::FromServerUpdate(kServerId, kClientTagHash, 10)); in TEST_F()
126 scoped_ptr<EntityTracker> entity( in TEST_F()
127 EntityTracker::FromCommitRequest(kServerId, in TEST_F()
[all …]
Dentity_tracker.h32 class SYNC_EXPORT EntityTracker {
34 ~EntityTracker();
37 static EntityTracker* FromServerUpdate(const std::string& id_string,
42 static EntityTracker* FromCommitRequest(
103 EntityTracker(const std::string& id,
109 EntityTracker(const std::string& id,
170 DISALLOW_COPY_AND_ASSIGN(EntityTracker);
Dmodel_type_sync_worker_impl.cc44 EntityTracker* entity_tracker = EntityTracker::FromServerUpdate( in ModelTypeSyncWorkerImpl()
128 EntityTracker* entity_tracker = NULL; in ProcessGetUpdatesResponse()
132 EntityTracker::FromServerUpdate(update_entity->id_string(), in ProcessGetUpdatesResponse()
250 EntityTracker* entity = it->second; in GetContribution()
278 EntityTracker* entity = in StorePendingCommit()
279 EntityTracker::FromCommitRequest(request.id, in StorePendingCommit()
290 EntityTracker* entity = map_it->second; in StorePendingCommit()
320 EntityTracker* entity = map_it->second; in OnCommitResponse()
Dmodel_type_sync_worker_impl.h29 class EntityTracker; variable
96 typedef std::map<std::string, EntityTracker*> EntityMap;