Lines Matching defs:id
32 // each background page: the parent application/extension ID, and a boolean
157 std::string id = UTF16ToUTF8(
159 OnBackgroundPageLoaded(id);
166 OnBackgroundPageLoaded(extension->id());
170 std::string id = Details<UnloadedExtensionInfo>(details)->extension->id();
171 OnExtensionUnloaded(id);
205 // If the extension is not loaded, add the id to our list of keys to delete
226 // If we have not seen this extension ID before, add it to our list.
227 if (!contents->HasKey((*iter)->id())) {
229 (*iter)->id(), Value::CreateBooleanValue(first_launch));
267 void BackgroundPageTracker::OnBackgroundPageLoaded(const std::string& id) {
273 if (contents->HasKey(id))
277 contents->SetWithoutPathExpansion(id, Value::CreateBooleanValue(false));
282 void BackgroundPageTracker::OnExtensionUnloaded(const std::string& id) {
288 if (!contents->HasKey(id))
291 contents->RemoveWithoutPathExpansion(id, NULL);