media_galleries_preferences_unittest.cc | 168 MediaGalleriesPreferences* gallery_prefs() { function in class:chrome::MediaGalleriesPreferencesTest 196 return gallery_prefs()->AddGalleryInternal( 205 return gallery_prefs()->AddGalleryInternal( 214 return gallery_prefs()->AddGalleryInternal( 220 return gallery_prefs()->UpdateDeviceIDForSingletonType(device_id); 301 EXPECT_TRUE(gallery_prefs()->LookUpGalleryByPath(MakePath("new_auto"), NULL)); 302 EXPECT_TRUE(gallery_prefs()->LookUpGalleryByPath(MakePath("new_user"), NULL)); 303 EXPECT_FALSE(gallery_prefs()->LookUpGalleryByPath(MakePath("other"), NULL)); 307 EXPECT_TRUE(gallery_prefs()->LookUpGalleryByPath(MakePath("new_auto"), 311 EXPECT_TRUE(gallery_prefs()->LookUpGalleryByPath(MakePath("new_user") [all...] |