Home
last modified time | relevance | path

Searched refs:id_map_inverse_ (Results 1 – 16 of 16) sorted by relevance

/external/chromium/chrome/browser/sync/glue/
Dbookmark_model_associator.cc180 id_map_inverse_.clear(); in DisassociateModels()
192 SyncIdToBookmarkNodeMap::const_iterator iter = id_map_inverse_.find(sync_id); in GetChromeNodeFromSyncId()
193 return iter == id_map_inverse_.end() ? NULL : iter->second; in GetChromeNodeFromSyncId()
215 DCHECK(id_map_inverse_.find(sync_id) == id_map_inverse_.end()); in Associate()
217 id_map_inverse_[sync_id] = node; in Associate()
224 SyncIdToBookmarkNodeMap::iterator iter = id_map_inverse_.find(sync_id); in Disassociate()
225 if (iter == id_map_inverse_.end()) in Disassociate()
228 id_map_inverse_.erase(iter); in Disassociate()
443 DCHECK(id_map_inverse_.empty()); in PersistAssociations()
Dpreference_model_associator.cc145 id_map_inverse_.clear(); in DisassociateModels()
196 DCHECK(id_map_inverse_.find(sync_id) == id_map_inverse_.end()); in Associate()
198 id_map_inverse_[sync_id] = preference->name(); in Associate()
203 SyncIdToPreferenceNameMap::iterator iter = id_map_inverse_.find(sync_id); in Disassociate()
204 if (iter == id_map_inverse_.end()) in Disassociate()
207 id_map_inverse_.erase(iter); in Disassociate()
Dpassword_model_associator.cc167 id_map_inverse_.clear(); in DeleteAllNodes()
173 id_map_inverse_.clear(); in DisassociateModels()
241 DCHECK(id_map_inverse_.find(sync_id) == id_map_inverse_.end()); in Associate()
243 id_map_inverse_[sync_id] = *password; in Associate()
248 SyncIdToPasswordMap::iterator iter = id_map_inverse_.find(sync_id); in Disassociate()
249 if (iter == id_map_inverse_.end()) in Disassociate()
252 id_map_inverse_.erase(iter); in Disassociate()
Dautofill_profile_model_associator.cc204 id_map_inverse_.clear(); in DisassociateModels()
464 DCHECK(id_map_inverse_.find(sync_id) == id_map_inverse_.end()); in Associate()
466 id_map_inverse_[sync_id] = *autofill; in Associate()
471 SyncIdToAutofillMap::iterator iter = id_map_inverse_.find(sync_id); in Disassociate()
472 if (iter == id_map_inverse_.end()) in Disassociate()
475 id_map_inverse_.erase(iter); in Disassociate()
492 SyncIdToAutofillMap::const_iterator iter = id_map_inverse_.find(sync_id); in GetChromeNodeFromSyncId()
493 return iter == id_map_inverse_.end() ? NULL : &(iter->second); in GetChromeNodeFromSyncId()
Dautofill_model_associator.cc379 id_map_inverse_.clear(); in DisassociateModels()
415 SyncIdToAutofillMap::const_iterator iter = id_map_inverse_.find(sync_id); in GetChromeNodeFromSyncId()
416 return iter == id_map_inverse_.end() ? NULL : &(iter->second); in GetChromeNodeFromSyncId()
436 DCHECK(id_map_inverse_.find(sync_id) == id_map_inverse_.end()); in Associate()
438 id_map_inverse_[sync_id] = *autofill; in Associate()
443 SyncIdToAutofillMap::iterator iter = id_map_inverse_.find(sync_id); in Disassociate()
444 if (iter == id_map_inverse_.end()) in Disassociate()
447 id_map_inverse_.erase(iter); in Disassociate()
Dtyped_url_model_associator.cc199 id_map_inverse_.clear(); in DeleteAllNodes()
205 id_map_inverse_.clear(); in DisassociateModels()
259 DCHECK(id_map_inverse_.find(sync_id) == id_map_inverse_.end()); in Associate()
261 id_map_inverse_[sync_id] = *typed_url; in Associate()
266 SyncIdToTypedUrlMap::iterator iter = id_map_inverse_.find(sync_id); in Disassociate()
267 if (iter == id_map_inverse_.end()) in Disassociate()
270 id_map_inverse_.erase(iter); in Disassociate()
Dbookmark_model_associator.h132 SyncIdToBookmarkNodeMap id_map_inverse_; variable
Dpreference_model_associator.h128 SyncIdToPreferenceNameMap id_map_inverse_; variable
Dpassword_model_associator.h140 SyncIdToPasswordMap id_map_inverse_; variable
Dtyped_url_model_associator.h140 SyncIdToTypedUrlMap id_map_inverse_; variable
Dautofill_profile_model_associator.h173 SyncIdToAutofillMap id_map_inverse_; variable
Dautofill_model_associator.h181 SyncIdToAutofillMap id_map_inverse_; variable
/external/chromium_org/chrome/browser/sync/glue/
Dpassword_model_associator.cc199 id_map_inverse_.clear(); in DeleteAllNodes()
205 id_map_inverse_.clear(); in DisassociateModels()
270 DCHECK(id_map_inverse_.find(sync_id) == id_map_inverse_.end()); in Associate()
272 id_map_inverse_[sync_id] = *password; in Associate()
277 SyncIdToPasswordMap::iterator iter = id_map_inverse_.find(sync_id); in Disassociate()
278 if (iter == id_map_inverse_.end()) in Disassociate()
281 id_map_inverse_.erase(iter); in Disassociate()
Dbookmark_model_associator.cc227 id_map_inverse_.clear(); in DisassociateModels()
239 SyncIdToBookmarkNodeMap::const_iterator iter = id_map_inverse_.find(sync_id); in GetChromeNodeFromSyncId()
240 return iter == id_map_inverse_.end() ? NULL : iter->second; in GetChromeNodeFromSyncId()
262 DCHECK(id_map_inverse_.find(sync_id) == id_map_inverse_.end()); in Associate()
264 id_map_inverse_[sync_id] = node; in Associate()
272 SyncIdToBookmarkNodeMap::iterator iter = id_map_inverse_.find(sync_id); in Disassociate()
273 if (iter == id_map_inverse_.end()) in Disassociate()
276 id_map_inverse_.erase(iter); in Disassociate()
673 DCHECK(id_map_inverse_.empty()); in PersistAssociations()
Dbookmark_model_associator.h156 SyncIdToBookmarkNodeMap id_map_inverse_; variable
Dpassword_model_associator.h136 SyncIdToPasswordMap id_map_inverse_; variable