Home | History | Annotate | Download | only in media_galleries

Lines Matching refs:gallery

276   // For each gallery in the list of permitted |galleries|, checks if the
296 // Checks if |gallery| is attached and if so, registers the file system and
299 const MediaGalleryPrefInfo& gallery,
304 device_ids->insert(gallery.device_id);
307 base::Owned(device_ids), gallery, callback));
312 PrefIdFsInfoMap::iterator gallery = pref_id_map_.find(id);
313 if (gallery == pref_id_map_.end())
316 file_system_context_->RevokeFileSystem(gallery->second.fsid);
317 pref_id_map_.erase(gallery);
407 const MediaGalleryPrefInfo& gallery,
416 profile_path_, extension_id_, gallery.pref_id);
417 base::FilePath path = gallery.AbsolutePath();
418 const std::string& device_id = gallery.device_id;
420 if (ContainsKey(pref_id_map_, gallery.pref_id)) {
426 pref_id_map_[gallery.pref_id] = MediaFileSystemInfo(
427 gallery.GetGalleryDisplayName(),
430 gallery
477 // A map from the gallery preferences id to the file system information.
530 MediaGalleriesPrefInfoMap::const_iterator gallery =
535 if (gallery == preferences->known_galleries().end() ||
550 extension_host->RegisterMediaFileSystem(gallery->second, callback);
574 // Since revoking a gallery in the ExtensionGalleriesHost may cause it
576 // to it, this code first copies all the invalid gallery ids and the
769 // Go through ExtensionHosts, and remove indicated gallery, if any.
829 // matching gallery-change-watcher since it is no longer needed. Leave the