media_galleries_permissions_unittest.cc | 37 // for also resetting the ExtensionPrefs used by |gallery_prefs_| after 46 gallery_prefs_->SetExtensionPrefsForTesting(prefs()); 57 gallery_prefs_.reset(new MediaGalleriesPreferences(profile_.get())); 58 gallery_prefs_->SetExtensionPrefsForTesting(prefs()); 67 gallery_prefs_->SetGalleryPermissionInPrefs(extension1_id_, 1, false); 71 gallery_prefs_->SetGalleryPermissionInPrefs(extension1_id_, 2, true); 75 gallery_prefs_->SetGalleryPermissionInPrefs(extension1_id_, 2, false); 79 gallery_prefs_->SetGalleryPermissionInPrefs(extension2_id_, 1, true); 80 gallery_prefs_->SetGalleryPermissionInPrefs(extension2_id_, 3, true); 81 gallery_prefs_->SetGalleryPermissionInPrefs(extension2_id_, 4, true) 138 scoped_ptr<MediaGalleriesPreferences> gallery_prefs_; member in class:chrome::MediaGalleriesPermissionsTest [all...] |