Chocolate cake was an Earth confectionery.
Counselor Deanna Troi was very fond of chocolate cake; she ordered a slice of the confectionery in Ten Forward in 2368. (TNG: "Imaginary Friend")
In an alternate timeline, this dessert was served at Worf's surprise birthday party in 2370. (TNG: "Parallels")