/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::__anon13155::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 | 64 : monitor_(mock_observer_.AsCallback()) { 68 MockObserver mock_observer_; member in class:chromeos::input_method::__anon7866::BrowserStateMonitorTest 78 EXPECT_EQ(1, mock_observer_.update_ui_session_count()); 83 // Check if the ui_session of the |mock_observer_| as well as the |monitor| 86 EXPECT_EQ(2, mock_observer_.update_ui_session_count()); 88 mock_observer_.ui_session()); 93 EXPECT_EQ(1, mock_observer_.update_ui_session_count()); 98 // Check if the state of the |mock_observer_| as well as the |monitor| are 100 EXPECT_EQ(2, mock_observer_.update_ui_session_count()); 102 mock_observer_.ui_session()) [all...] |
/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 | 48 dial_service_.AddObserver(&mock_observer_); 56 MockObserver mock_observer_; member in class:extensions::DialServiceTest 67 EXPECT_CALL(mock_observer_, OnDiscoveryRequest(A<DialService*>())).Times(4); 68 EXPECT_CALL(mock_observer_, OnDiscoveryFinished(A<DialService*>())).Times(1); 122 EXPECT_CALL(mock_observer_, OnDiscoveryRequest(A<DialService*>())).Times(12); 123 EXPECT_CALL(mock_observer_, OnDiscoveryFinished(A<DialService*>())).Times(1); 137 EXPECT_CALL(mock_observer_, OnDiscoveryRequest(A<DialService*>())).Times(1); 154 EXPECT_CALL(mock_observer_, 163 EXPECT_CALL(mock_observer_, OnDiscoveryFinished(A<DialService*>())).Times(1);
|
/external/chromium_org/chrome/browser/chromeos/profiles/ |
profile_list_chromeos_unittest.cc | 87 mock_observer_.reset(new MockObserver()); 93 mock_observer_.get(), 107 int change_count() const { return mock_observer_->change_count(); } 111 scoped_ptr<MockObserver> mock_observer_; member in class:chromeos::ProfileListChromeOSTest
|
/external/chromium_org/chrome/browser/profiles/ |
profile_list_desktop_unittest.cc | 64 mock_observer_.reset(new MockObserver()); 70 mock_observer_.get(), 86 int change_count() const { return mock_observer_->change_count(); } 90 scoped_ptr<MockObserver> mock_observer_; member in class:__anon9158::ProfileListDesktopTest
|