A California, judge has granted model-actress Karrueche Tran a five-year restraining order against her former boyfriend, singer Chris Brown.