Home
last modified time | relevance | path

Searched refs:gallery_id (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/chrome/browser/extensions/api/media_galleries_private/
Dgallery_watch_state_tracker.cc47 MediaGalleryPrefId gallery_id; in WatchedGalleryIdsFromValue() local
48 if (base::StringToUint64(gallery_id_str, &gallery_id)) in WatchedGalleryIdsFromValue()
49 gallery_ids.insert(gallery_id); in WatchedGalleryIdsFromValue()
116 MediaGalleryPrefId gallery_id) { in OnPermissionAdded() argument
119 if (HasGalleryWatchInfo(extension_id, gallery_id, false)) in OnPermissionAdded()
120 SetupGalleryWatch(extension_id, gallery_id, preferences); in OnPermissionAdded()
126 MediaGalleryPrefId gallery_id) { in OnPermissionRemoved() argument
129 if (HasGalleryWatchInfo(extension_id, gallery_id, true)) in OnPermissionRemoved()
130 RemoveGalleryWatch(extension_id, gallery_id, preferences); in OnPermissionRemoved()
134 MediaGalleryPrefId gallery_id) { in OnGalleryRemoved() argument
[all …]
Dgallery_watch_state_tracker.h47 MediaGalleryPrefId gallery_id);
52 MediaGalleryPrefId gallery_id);
59 MediaGalleryPrefId gallery_id) OVERRIDE;
63 MediaGalleryPrefId gallery_id) OVERRIDE;
66 MediaGalleryPrefId gallery_id) OVERRIDE;
104 MediaGalleryPrefId gallery_id,
110 MediaGalleryPrefId gallery_id,
116 MediaGalleryPrefId gallery_id,
123 MediaGalleryPrefId gallery_id,
131 MediaGalleryPrefId gallery_id);
Dgallery_watch_manager.cc39 MediaGalleryPrefId gallery_id, in SendGalleryChangedEventOnUIThread() argument
43 event_router->OnGalleryChanged(gallery_id, extension_ids); in SendGalleryChangedEventOnUIThread()
63 MediaGalleryPrefId gallery_id,
129 MediaGalleryPrefId gallery_id, in GalleryFilePathWatcher() argument
134 gallery_id_(gallery_id), in GalleryFilePathWatcher()
279 MediaGalleryPrefId gallery_id, in SetupGalleryWatch() argument
285 gallery_id, watch_path, extension_id, event_router); in SetupGalleryWatch()
318 MediaGalleryPrefId gallery_id, in StartGalleryWatch() argument
333 event_router, gallery_id, watch_path, extension_id, in StartGalleryWatch()
Dmedia_galleries_private_api.cc59 bool GetGalleryFilePathAndId(const std::string& gallery_id, in GetGalleryFilePathAndId() argument
65 if (!base::StringToUint64(gallery_id, &pref_id)) in GetGalleryFilePathAndId()
182 params->gallery_id)); in RunImpl()
225 MediaGalleryPrefId gallery_id, in HandleResponse() argument
229 result.gallery_id = base::Uint64ToString(gallery_id); in HandleResponse()
238 state_tracker->OnGalleryWatchAdded(extension_id(), gallery_id); in HandleResponse()
269 params->gallery_id)); in RunImpl()
Dgallery_watch_manager.h44 MediaGalleryPrefId gallery_id,
73 MediaGalleryPrefId gallery_id,
Dmedia_galleries_private_event_router.cc55 MediaGalleryPrefId gallery_id, in OnGalleryChanged() argument
67 details.gallery_id = gallery_id; in OnGalleryChanged()
Dmedia_galleries_private_event_router.h38 void OnGalleryChanged(MediaGalleryPrefId gallery_id,
Dmedia_galleries_private_api.h92 void HandleResponse(MediaGalleryPrefId gallery_id, bool success);
/external/chromium_org/chrome/browser/media_galleries/
Dmedia_galleries_preferences.h189 MediaGalleryPrefId gallery_id,
280 MediaGalleryPrefId gallery_id,
287 MediaGalleryPrefId gallery_id);
296 void RemoveGalleryPermissionsFromPrefs(MediaGalleryPrefId gallery_id);
Dmedia_galleries_dialog_controller.cc236 MediaGalleryPrefId gallery_id, in DidToggleGalleryId() argument
240 known_galleries_.find(gallery_id); in DidToggleGalleryId()
246 if (ContainsKey(toggled_galleries_, gallery_id)) in DidToggleGalleryId()
247 toggled_galleries_.erase(gallery_id); in DidToggleGalleryId()
249 toggled_galleries_.insert(gallery_id); in DidToggleGalleryId()
Dmedia_galleries_preferences.cc682 MediaGalleryPrefId gallery_id, in LookUpGalleryPathForExtension() argument
688 !ContainsKey(GalleriesForExtension(*extension), gallery_id)) in LookUpGalleryPathForExtension()
692 known_galleries_.find(gallery_id); in LookUpGalleryPathForExtension()
990 MediaGalleryPrefId gallery_id, in SetGalleryPermissionInPrefs() argument
1009 if (perm.pref_id == gallery_id) { in SetGalleryPermissionInPrefs()
1021 dict->SetString(kMediaGalleryIdKey, base::Uint64ToString(gallery_id)); in SetGalleryPermissionInPrefs()
1029 MediaGalleryPrefId gallery_id) { in UnsetGalleryPermissionInPrefs() argument
1046 if (perm.pref_id == gallery_id) { in UnsetGalleryPermissionInPrefs()
1081 MediaGalleryPrefId gallery_id) { in RemoveGalleryPermissionsFromPrefs() argument
1095 UnsetGalleryPermissionInPrefs(iter.key(), gallery_id); in RemoveGalleryPermissionsFromPrefs()
/external/chromium_org/chrome/browser/extensions/api/media_galleries/
Dmedia_galleries_api.cc317 metadata.gallery_id = base::Uint64ToString(gallery.pref_id); in OnGetGalleries()