Lines Matching defs:ext_id
48 void ExtensionPrefValueMap::SetExtensionPref(const std::string& ext_id,
52 PrefValueMap* prefs = GetExtensionPrefValueMap(ext_id, scope);
59 const std::string& ext_id,
62 PrefValueMap* prefs = GetExtensionPrefValueMap(ext_id, scope);
116 void ExtensionPrefValueMap::RegisterExtension(const std::string& ext_id,
119 if (entries_.find(ext_id) != entries_.end())
120 UnregisterExtension(ext_id);
121 entries_[ext_id] = new ExtensionEntry;
122 entries_[ext_id]->install_time = install_time;
123 entries_[ext_id]->enabled = is_enabled;
126 void ExtensionPrefValueMap::UnregisterExtension(const std::string& ext_id) {
127 ExtensionEntryMap::iterator i = entries_.find(ext_id);
139 void ExtensionPrefValueMap::SetExtensionState(const std::string& ext_id,
141 ExtensionEntryMap::const_iterator i = entries_.find(ext_id);
155 const std::string& ext_id,
157 ExtensionEntryMap::const_iterator i = entries_.find(ext_id);
174 const std::string& ext_id,
176 ExtensionEntryMap::const_iterator i = entries_.find(ext_id);
227 const std::string& ext_id = winner->first;
232 ext_id, extensions::kExtensionPrefsScopeIncognitoSessionOnly);
240 ext_id,
248 ext_id, extensions::kExtensionPrefsScopeRegularOnly);
256 ext_id, extensions::kExtensionPrefsScopeRegular);
271 const std::string& ext_id = i->first;
282 ext_id, extensions::kExtensionPrefsScopeRegular);
292 ext_id, extensions::kExtensionPrefsScopeRegularOnly);
304 ext_id, extensions::kExtensionPrefsScopeIncognitoPersistent);
313 ext_id, extensions::kExtensionPrefsScopeIncognitoSessionOnly);