Lines Matching refs:GetController
244 scoped_refptr<FakeDataTypeController> GetController(
300 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK);
353 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK);
382 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK);
412 GetController(PASSWORDS)->FinishStart(DataTypeController::NEEDS_CRYPTO);
450 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK);
467 GetController(PREFERENCES)->FinishStart(DataTypeController::OK);
503 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK);
520 GetController(PREFERENCES)->FinishStart(DataTypeController::OK);
560 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK);
569 GetController(PREFERENCES)->FinishStart(DataTypeController::OK);
596 GetController(BOOKMARKS)->FinishStart(
627 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK);
631 GetController(PREFERENCES)->FinishStart(
666 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK);
670 GetController(PREFERENCES)->FinishStart(
719 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK);
721 GetController(PREFERENCES)->FinishStart(DataTypeController::OK);
766 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK);
768 GetController(PREFERENCES)->FinishStart(DataTypeController::OK);
788 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK);
815 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK);
830 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK);
865 GetController(PREFERENCES)->FinishStart(DataTypeController::OK);
892 GetController(PREFERENCES)->FinishStart(DataTypeController::OK);
895 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK);
930 GetController(PREFERENCES)->FinishStart(DataTypeController::OK);
942 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK);
943 GetController(APPS)->FinishStart(DataTypeController::OK);
971 GetController(PREFERENCES)->state());
973 GetController(BOOKMARKS)->state());
978 GetController(PREFERENCES)->state());
979 EXPECT_EQ(DataTypeController::NOT_RUNNING, GetController(BOOKMARKS)->state());
1006 GetController(PREFERENCES)->state());
1008 GetController(BOOKMARKS)->state());
1014 GetController(PREFERENCES)->state());
1015 EXPECT_EQ(DataTypeController::NOT_RUNNING, GetController(BOOKMARKS)->state());
1042 GetController(PREFERENCES)->state());
1044 GetController(BOOKMARKS)->state());
1047 GetController(PREFERENCES)->FinishStart(
1061 GetController(BOOKMARKS)->state());
1062 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK);
1066 GetController(PREFERENCES)->state());
1067 EXPECT_EQ(DataTypeController::RUNNING, GetController(BOOKMARKS)->state());
1094 GetController(PREFERENCES)->state());
1096 GetController(BOOKMARKS)->state());
1100 GetController(PREFERENCES)->FinishStart(DataTypeController::OK);
1101 EXPECT_EQ(DataTypeController::RUNNING, GetController(PREFERENCES)->state());
1107 GetController(BOOKMARKS)->FinishStart(DataTypeController::ASSOCIATION_FAILED);
1109 GetController(BOOKMARKS)->state());
1116 EXPECT_EQ(DataTypeController::RUNNING, GetController(PREFERENCES)->state());
1118 GetController(BOOKMARKS)->state());
1136 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK);
1175 GetController(PREFERENCES)->FinishStart(DataTypeController::OK);
1177 EXPECT_EQ(DataTypeController::RUNNING, GetController(PREFERENCES)->state());
1178 EXPECT_EQ(DataTypeController::NOT_RUNNING, GetController(BOOKMARKS)->state());
1193 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK);
1195 EXPECT_EQ(DataTypeController::RUNNING, GetController(PREFERENCES)->state());
1196 EXPECT_EQ(DataTypeController::RUNNING, GetController(BOOKMARKS)->state());