Home
last modified time | relevance | path

Searched refs:id_map_ (Results 1 – 13 of 13) sorted by relevance

/external/chromium/chrome/browser/
Dresources_util.cc24 id_map_[kThemeResources[i].name] = kThemeResources[i].value; in ThemeMap()
29 StringIntMap::const_iterator it = id_map_.find(resource_name); in GetId()
30 if (it == id_map_.end()) in GetId()
36 StringIntMap id_map_; member in __anon30912dd40111::ThemeMap
/external/chromium/chrome/browser/sync/glue/
Dpassword_model_associator.cc156 for (PasswordToSyncIdMap::iterator node_id = id_map_.begin(); in DeleteAllNodes()
157 node_id != id_map_.end(); ++node_id) { in DeleteAllNodes()
166 id_map_.clear(); in DeleteAllNodes()
172 id_map_.clear(); in DisassociateModels()
232 PasswordToSyncIdMap::const_iterator iter = id_map_.find(password); in GetSyncIdFromChromeId()
233 return iter == id_map_.end() ? sync_api::kInvalidId : iter->second; in GetSyncIdFromChromeId()
240 DCHECK(id_map_.find(*password) == id_map_.end()); in Associate()
242 id_map_[*password] = sync_id; in Associate()
251 CHECK(id_map_.erase(iter->second)); in Disassociate()
Dpreference_model_associator.cc144 id_map_.clear(); in DisassociateModels()
187 id_map_.find(preference_name); in GetSyncIdFromChromeId()
188 return iter == id_map_.end() ? sync_api::kInvalidId : iter->second; in GetSyncIdFromChromeId()
195 DCHECK(id_map_.find(preference->name()) == id_map_.end()); in Associate()
197 id_map_[preference->name()] = sync_id; in Associate()
206 id_map_.erase(iter->second); in Disassociate()
Dbookmark_model_associator.cc179 id_map_.clear(); in DisassociateModels()
186 BookmarkIdToSyncIdMap::const_iterator iter = id_map_.find(node_id); in GetSyncIdFromChromeId()
187 return iter == id_map_.end() ? sync_api::kInvalidId : iter->second; in GetSyncIdFromChromeId()
214 DCHECK(id_map_.find(node_id) == id_map_.end()); in Associate()
216 id_map_[node_id] = sync_id; in Associate()
227 id_map_.erase(iter->second->id()); in Disassociate()
442 DCHECK(id_map_.empty()); in PersistAssociations()
Dtyped_url_model_associator.cc188 for (TypedUrlToSyncIdMap::iterator node_id = id_map_.begin(); in DeleteAllNodes()
189 node_id != id_map_.end(); ++node_id) { in DeleteAllNodes()
198 id_map_.clear(); in DeleteAllNodes()
204 id_map_.clear(); in DisassociateModels()
250 TypedUrlToSyncIdMap::const_iterator iter = id_map_.find(typed_url); in GetSyncIdFromChromeId()
251 return iter == id_map_.end() ? sync_api::kInvalidId : iter->second; in GetSyncIdFromChromeId()
258 DCHECK(id_map_.find(*typed_url) == id_map_.end()); in Associate()
260 id_map_[*typed_url] = sync_id; in Associate()
269 CHECK(id_map_.erase(iter->second)); in Disassociate()
Dautofill_model_associator.cc74 if (id_map_.find(tag) != id_map_.end()) { in TraverseAndAssociateChromeAutofillEntries()
378 id_map_.clear(); in DisassociateModels()
427 AutofillToSyncIdMap::const_iterator iter = id_map_.find(autofill); in GetSyncIdFromChromeId()
428 return iter == id_map_.end() ? sync_api::kInvalidId : iter->second; in GetSyncIdFromChromeId()
435 DCHECK(id_map_.find(*autofill) == id_map_.end()); in Associate()
437 id_map_[*autofill] = sync_id; in Associate()
446 CHECK(id_map_.erase(iter->second)); in Disassociate()
Dautofill_profile_model_associator.cc203 id_map_.clear(); in DisassociateModels()
463 DCHECK(id_map_.find(*autofill) == id_map_.end()); in Associate()
465 id_map_[*autofill] = sync_id; in Associate()
474 CHECK(id_map_.erase(iter->second)); in Disassociate()
480 AutofillToSyncIdMap::const_iterator iter = id_map_.find(autofill); in GetSyncIdFromChromeId()
481 return iter == id_map_.end() ? sync_api::kInvalidId : iter->second; in GetSyncIdFromChromeId()
Dbookmark_model_associator.h131 BookmarkIdToSyncIdMap id_map_; variable
Dpreference_model_associator.h127 PreferenceNameToSyncIdMap id_map_; variable
Dpassword_model_associator.h139 PasswordToSyncIdMap id_map_; variable
Dtyped_url_model_associator.h139 TypedUrlToSyncIdMap id_map_; variable
Dautofill_profile_model_associator.h172 AutofillToSyncIdMap id_map_; variable
Dautofill_model_associator.h180 AutofillToSyncIdMap id_map_; variable