Lines Matching defs:ext_id
31 void ExtensionPrefValueMap::SetExtensionPref(const std::string& ext_id,
35 PrefValueMap* prefs = GetExtensionPrefValueMap(ext_id, incognito);
41 void ExtensionPrefValueMap::RemoveExtensionPref(const std::string& ext_id,
44 PrefValueMap* prefs = GetExtensionPrefValueMap(ext_id, incognito);
78 void ExtensionPrefValueMap::RegisterExtension(const std::string& ext_id,
81 if (entries_.find(ext_id) != entries_.end())
82 UnregisterExtension(ext_id);
83 entries_[ext_id] = new ExtensionEntry;
84 entries_[ext_id]->install_time = install_time;
85 entries_[ext_id]->enabled = is_enabled;
88 void ExtensionPrefValueMap::UnregisterExtension(const std::string& ext_id) {
89 ExtensionEntryMap::iterator i = entries_.find(ext_id);
101 void ExtensionPrefValueMap::SetExtensionState(const std::string& ext_id,
103 ExtensionEntryMap::const_iterator i = entries_.find(ext_id);
114 const std::string& ext_id,
116 ExtensionEntryMap::const_iterator i = entries_.find(ext_id);
123 const std::string& ext_id,
125 ExtensionEntryMap::const_iterator i = entries_.find(ext_id);
155 const std::string& ext_id = winner->first;
157 GetExtensionPrefValueMap(ext_id, true)->GetValue(key, &value);
159 GetExtensionPrefValueMap(ext_id, false)->GetValue(key, &value);
173 const std::string& ext_id = i->first;
183 const PrefValueMap* prefs = GetExtensionPrefValueMap(ext_id, false);
194 prefs = GetExtensionPrefValueMap(ext_id, true);