Lines Matching defs:obs
29 PrefStoreObserverMock obs;
30 overlay_->AddObserver(&obs);
33 EXPECT_CALL(obs, OnPrefValueChanged(StrEq(key))).Times(1);
35 Mock::VerifyAndClearExpectations(&obs);
38 EXPECT_CALL(obs, OnPrefValueChanged(StrEq(key))).Times(1);
40 Mock::VerifyAndClearExpectations(&obs);
43 EXPECT_CALL(obs, OnPrefValueChanged(StrEq(key))).Times(1);
45 Mock::VerifyAndClearExpectations(&obs);
48 EXPECT_CALL(obs, OnPrefValueChanged(StrEq(key))).Times(0);
50 Mock::VerifyAndClearExpectations(&obs);
53 EXPECT_CALL(obs, OnPrefValueChanged(StrEq(key))).Times(1);
55 Mock::VerifyAndClearExpectations(&obs);
58 EXPECT_CALL(obs, OnPrefValueChanged(StrEq(key))).Times(1);
60 Mock::VerifyAndClearExpectations(&obs);
63 EXPECT_CALL(obs, OnPrefValueChanged(StrEq(key))).Times(0);
65 Mock::VerifyAndClearExpectations(&obs);
67 overlay_->RemoveObserver(&obs);
70 EXPECT_CALL(obs, OnPrefValueChanged(StrEq(key))).Times(0);
73 Mock::VerifyAndClearExpectations(&obs);