Home
last modified time | relevance | path

Searched refs:ext_id (Results 1 – 3 of 3) sorted by relevance

/external/chromium/chrome/browser/extensions/
Dextension_pref_value_map.cc31 void ExtensionPrefValueMap::SetExtensionPref(const std::string& ext_id, in SetExtensionPref() argument
35 PrefValueMap* prefs = GetExtensionPrefValueMap(ext_id, incognito); in SetExtensionPref()
41 void ExtensionPrefValueMap::RemoveExtensionPref(const std::string& ext_id, in RemoveExtensionPref() argument
44 PrefValueMap* prefs = GetExtensionPrefValueMap(ext_id, incognito); in RemoveExtensionPref()
78 void ExtensionPrefValueMap::RegisterExtension(const std::string& ext_id, in RegisterExtension() argument
81 if (entries_.find(ext_id) != entries_.end()) in RegisterExtension()
82 UnregisterExtension(ext_id); in RegisterExtension()
83 entries_[ext_id] = new ExtensionEntry; in RegisterExtension()
84 entries_[ext_id]->install_time = install_time; in RegisterExtension()
85 entries_[ext_id]->enabled = is_enabled; in RegisterExtension()
[all …]
Dextension_pref_value_map.h71 void SetExtensionPref(const std::string& ext_id,
78 void RemoveExtensionPref(const std::string& ext_id,
105 void RegisterExtension(const std::string& ext_id,
110 void UnregisterExtension(const std::string& ext_id);
114 void SetExtensionState(const std::string& ext_id, bool is_enabled);
130 const PrefValueMap* GetExtensionPrefValueMap(const std::string& ext_id,
133 PrefValueMap* GetExtensionPrefValueMap(const std::string& ext_id,
Dextension_prefs.cc1385 for (ExtensionIdSet::const_iterator ext_id = extension_ids.begin(); in FixMissingPrefs() local
1386 ext_id != extension_ids.end(); ++ext_id) { in FixMissingPrefs()
1387 if (GetInstallTime(*ext_id) == base::Time()) { in FixMissingPrefs()
1389 << *ext_id << ". It was probably installed before setting " in FixMissingPrefs()
1393 ScopedExtensionPrefUpdate update(prefs_, *ext_id); in FixMissingPrefs()
1435 for (ExtensionIdSet::iterator ext_id = extension_ids.begin(); in InitPrefStore() local
1436 ext_id != extension_ids.end(); ++ext_id) { in InitPrefStore()
1437 std::string key = *ext_id + std::string(".") + kPrefPreferences; in InitPrefStore()
1447 for (ExtensionIdSet::iterator ext_id = extension_ids.begin(); in InitPrefStore() local
1448 ext_id != extension_ids.end(); ++ext_id) { in InitPrefStore()
[all …]