Answer
$Cr: +6$ , $O: -2$
Work Step by Step
O normally has an oxidation state of $-2$ and there are four O atoms so their sum is $-8$. The polyatomic ion has an overall charge of $-2$ so the sum of the oxidation states must equal $-2$. This means the oxidation state of Cr is $+6$ as $4(-2)+(+6)=-2$