Home | History | Annotate | Download | only in media_galleries_private

Lines Matching refs:profile_id

238     void* profile_id) {
240 DCHECK(profile_id);
242 GalleryWatchManager::HasForProfile(profile_id));
246 (*g_gallery_watch_managers)[profile_id] = new GalleryWatchManager;
247 return (*g_gallery_watch_managers)[profile_id];
251 bool GalleryWatchManager::HasForProfile(void* profile_id) {
253 DCHECK(profile_id);
257 g_gallery_watch_managers->find(profile_id);
262 void GalleryWatchManager::OnProfileShutdown(void* profile_id) {
264 DCHECK(profile_id);
267 WatchManagerMap::iterator it = g_gallery_watch_managers->find(profile_id);
280 void* profile_id,
286 return GalleryWatchManager::GetForProfile(profile_id)->StartGalleryWatch(
291 void GalleryWatchManager::RemoveGalleryWatch(void* profile_id,
295 if (!GalleryWatchManager::HasForProfile(profile_id))
297 GalleryWatchManager::GetForProfile(profile_id)->StopGalleryWatch(
301 void GalleryWatchManager::OnExtensionUnloaded(void* profile_id,
304 if (!GalleryWatchManager::HasForProfile(profile_id))
306 GalleryWatchManager::GetForProfile(profile_id)->HandleExtensionUnloadedEvent(