/external/chromium_org/chrome/browser/media_galleries/ |
media_galleries_scan_result_controller_unittest.cc | 106 MediaGalleriesPreferences* gallery_prefs() { function in class:MediaGalleriesScanResultControllerTest 203 EXPECT_EQ(0U, gallery_prefs()->GalleriesForExtension(*extension()).size()); 209 EXPECT_EQ(0U, gallery_prefs()->GalleriesForExtension(*extension()).size()); 217 EXPECT_EQ(0U, gallery_prefs()->GalleriesForExtension(*extension()).size()); 225 gallery_prefs()->GalleriesForExtension(*extension()); 235 EXPECT_EQ(2U, gallery_prefs()->GalleriesForExtension(*extension()).size()); 243 EXPECT_EQ(0U, gallery_prefs()->GalleriesForExtension(*extension()).size()); 249 EXPECT_EQ(0U, gallery_prefs()->GalleriesForExtension(*extension()).size()); 252 gallery_prefs()->ForgetGalleryById(scan_id); 263 gallery_prefs()->ForgetGalleryById(auto_id) [all...] |
media_galleries_preferences_unittest.cc | 260 MediaGalleriesPreferences* gallery_prefs() { function in class:MediaGalleriesPreferencesTest 305 return gallery_prefs()->AddOrUpdateGalleryInternal( 318 return gallery_prefs()->AddOrUpdateGalleryInternal( 328 return gallery_prefs()->AddOrUpdateGalleryInternal( 351 return gallery_prefs()->UpdateDeviceIDForSingletonType(device_id); 472 EXPECT_TRUE(gallery_prefs()->LookUpGalleryByPath( 474 EXPECT_TRUE(gallery_prefs()->LookUpGalleryByPath( 476 EXPECT_TRUE(gallery_prefs()->LookUpGalleryByPath( 478 EXPECT_FALSE(gallery_prefs()->LookUpGalleryByPath( 483 EXPECT_TRUE(gallery_prefs()->LookUpGalleryByPath [all...] |
media_galleries_permission_controller_unittest.cc | 110 MediaGalleriesPreferences* gallery_prefs() { function in class:MediaGalleriesPermissionControllerTest 180 EXPECT_EQ(0U, gallery_prefs()->GalleriesForExtension(*extension()).size()); 182 MediaGalleryPrefId forgotten1 = gallery_prefs()->AddGalleryByPath( 184 MediaGalleryPrefId forgotten2 = gallery_prefs()->AddGalleryByPath( 194 EXPECT_EQ(2U, gallery_prefs()->GalleriesForExtension(*extension()).size()); 202 EXPECT_EQ(2U, gallery_prefs()->GalleriesForExtension(*extension()).size()); 210 EXPECT_EQ(1U, gallery_prefs()->GalleriesForExtension(*extension()).size()); 217 EXPECT_EQ(2U, gallery_prefs()->GalleriesForExtension(*extension()).size()); 219 EXPECT_TRUE(gallery_prefs()->LookUpGalleryByPath( 224 MediaGalleryPrefId forgotten3 = gallery_prefs()->AddGalleryByPath [all...] |
gallery_watch_manager_unittest.cc | 124 MediaGalleriesPreferences* gallery_prefs() { return gallery_prefs_; } function in class:component_updater::GalleryWatchManagerTest 296 gallery_prefs()->EraseGalleryById(id); 311 gallery_prefs()->SetGalleryPermissionForExtension(*extension(), id, false);
|
media_scan_manager_unittest.cc | 196 MediaGalleriesPreferences* gallery_prefs() { function in class:MediaScanManagerTest 598 gallery_prefs()->SetGalleryPermissionForExtension(*extension(), granted_scan, 658 gallery_prefs()->SetGalleryPermissionForExtension(*extension(), scan_id,
|