/external/chromium_org/jingle/notifier/listener/ |
xmpp_push_client_unittest.cc | 45 xmpp_push_client_->AddObserver(&mock_observer_); 51 xmpp_push_client_->RemoveObserver(&mock_observer_); 58 StrictMock<MockObserver> mock_observer_; member in class:notifier::__anon10772::XmppPushClientTest 66 EXPECT_CALL(mock_observer_, OnIncomingNotification(_)); 73 EXPECT_CALL(mock_observer_, OnNotificationsEnabled()); 81 EXPECT_CALL(mock_observer_, 89 EXPECT_CALL(mock_observer_, 97 EXPECT_CALL(mock_observer_, 108 EXPECT_CALL(mock_observer_, OnNotificationsEnabled()); 119 EXPECT_CALL(mock_observer_, OnNotificationsEnabled()) [all...] |
/external/chromium_org/chrome/browser/chromeos/input_method/ |
browser_state_monitor_unittest.cc | 67 : monitor_(mock_observer_.AsCallback()) { 71 MockObserver mock_observer_; member in class:chromeos::input_method::__anon6859::BrowserStateMonitorTest 81 EXPECT_EQ(1, mock_observer_.update_state_count()); 86 // Check if the state of the |mock_observer_| as well as the |monitor| are 88 EXPECT_EQ(2, mock_observer_.update_state_count()); 90 mock_observer_.state()); 95 EXPECT_EQ(1, mock_observer_.update_state_count()); 100 // Check if the state of the |mock_observer_| as well as the |monitor| are 102 EXPECT_EQ(2, mock_observer_.update_state_count()); 104 mock_observer_.state()) [all...] |
/external/chromium/chrome/browser/automation/ |
automation_tab_helper_unittest.cc | 23 mock_observer_.StartObserving(tab_helper()); 53 MockTabEventObserver mock_observer_; member in class:AutomationTabHelperTest 65 EXPECT_CALL(mock_observer_, OnFirstPendingLoad(_)); 71 tab_helper()->RemoveObserver(&mock_observer_); 79 EXPECT_CALL(mock_observer_, OnFirstPendingLoad(contents())) 82 EXPECT_CALL(mock_observer_, OnNoMorePendingLoads(contents())) 95 EXPECT_CALL(mock_observer_, OnFirstPendingLoad(contents())); 96 EXPECT_CALL(mock_observer_, OnNoMorePendingLoads(contents())); 108 EXPECT_CALL(mock_observer_, OnFirstPendingLoad(contents())) 111 EXPECT_CALL(mock_observer_, OnNoMorePendingLoads(contents()) [all...] |
/external/chromium/chrome/browser/sync/notifier/ |
invalidation_notifier_unittest.cc | 38 invalidation_notifier_->AddObserver(&mock_observer_); 42 invalidation_notifier_->RemoveObserver(&mock_observer_); 50 StrictMock<MockSyncNotifierObserver> mock_observer_; member in class:sync_notifier::__anon4910::InvalidationNotifierTest 64 EXPECT_CALL(mock_observer_, OnNotificationStateChange(true)); 65 EXPECT_CALL(mock_observer_, StoreState("new_fake_state")); 66 EXPECT_CALL(mock_observer_, OnIncomingNotification(type_payloads)); 67 EXPECT_CALL(mock_observer_, OnNotificationStateChange(false));
|
non_blocking_invalidation_notifier_unittest.cc | 38 invalidation_notifier_->AddObserver(&mock_observer_); 42 invalidation_notifier_->RemoveObserver(&mock_observer_); 56 StrictMock<MockSyncNotifierObserver> mock_observer_; member in class:sync_notifier::__anon4911::NonBlockingInvalidationNotifierTest
|
/external/chromium_org/chrome/browser/extensions/api/dial/ |
dial_registry_unittest.cc | 90 registry_.reset(new MockDialRegistry(&mock_observer_, 100 MockDialObserver mock_observer_; member in class:extensions::DialRegistryTest 143 EXPECT_CALL(mock_observer_, OnDialDeviceEvent(empty_list_)) 160 EXPECT_CALL(mock_observer_, OnDialDeviceEvent(empty_list_)) 162 EXPECT_CALL(mock_observer_, OnDialDeviceEvent(list_with_first_device_)) 164 EXPECT_CALL(mock_observer_, OnDialDeviceEvent(expected_list2)) 183 EXPECT_CALL(mock_observer_, OnDialDeviceEvent(empty_list_)) 185 EXPECT_CALL(mock_observer_, OnDialDeviceEvent(list_with_first_device_)) 218 EXPECT_CALL(mock_observer_, OnDialDeviceEvent(empty_list_)); 219 EXPECT_CALL(mock_observer_, OnDialDeviceEvent(list_with_first_device_)) [all...] |
dial_service_unittest.cc | 46 dial_service_.AddObserver(&mock_observer_); 52 MockObserver mock_observer_; member in class:extensions::DialServiceTest 63 EXPECT_CALL(mock_observer_, OnDiscoveryRequest(A<DialService*>())).Times(4); 64 EXPECT_CALL(mock_observer_, OnDiscoveryFinished(A<DialService*>())).Times(1); 75 EXPECT_CALL(mock_observer_, OnDiscoveryRequest(A<DialService*>())).Times(1); 89 EXPECT_CALL(mock_observer_, 98 EXPECT_CALL(mock_observer_, OnDiscoveryFinished(A<DialService*>())).Times(1);
|