。
She majored in history.
Literal
She [topic-は] history [object-を] majored-in.
専攻する (せんこうする) is a suru-verb meaning 'to major in, to specialize in.' A standard academic vocabulary item. The sentence is minimal and informational.
She majored in history.