/external/chromium_org/chrome/browser/ui/search/ |
H A D | search_ipc_router_unittest.cc | 141 search_tab_helper->ipc_router().set_delegate_for_testing(mock_delegate()); 167 MockSearchIPCRouterDelegate* mock_delegate() { return &delegate_; } function in class:SearchIPCRouterTest 206 EXPECT_CALL(*mock_delegate(), NavigateToURL(destination_url, CURRENT_TAB, 226 EXPECT_CALL(*mock_delegate(), OnSetVoiceSearchSupport(true)).Times(1); 239 EXPECT_CALL(*mock_delegate(), OnSetVoiceSearchSupport(true)).Times(0); 256 EXPECT_CALL(*mock_delegate(), FocusOmnibox(OMNIBOX_FOCUS_VISIBLE)).Times(1); 275 EXPECT_CALL(*mock_delegate(), FocusOmnibox(OMNIBOX_FOCUS_VISIBLE)).Times(0); 314 EXPECT_CALL(*mock_delegate(), NavigateToURL(destination_url, CURRENT_TAB, 335 EXPECT_CALL(*mock_delegate(), NavigateToURL(destination_url, CURRENT_TAB, 356 EXPECT_CALL(*mock_delegate(), OnLogEven [all...] |
H A D | search_tab_helper_unittest.cc | 119 MockSearchIPCRouterDelegate* mock_delegate() { return &delegate_; } function in class:SearchTabHelperTest 127 EXPECT_CALL(*mock_delegate(), OnInstantSupportDetermined(true)).Times(0); 132 search_tab_helper->ipc_router().set_delegate_for_testing(mock_delegate()); 139 EXPECT_CALL(*mock_delegate(), OnInstantSupportDetermined(true)).Times(1); 144 search_tab_helper->ipc_router().set_delegate_for_testing(mock_delegate()); 162 EXPECT_CALL(*mock_delegate(), OnInstantSupportDetermined(false)).Times(0); 167 search_tab_helper->ipc_router().set_delegate_for_testing(mock_delegate());
|
/external/chromium_org/content/renderer/media/ |
H A D | media_stream_video_capture_source_unittest.cc | 77 MockVideoCapturerDelegate& mock_delegate() { function in class:content::MediaStreamVideoCapturerSourceTest 106 EXPECT_CALL(mock_delegate(), StartCapture( 113 EXPECT_CALL(mock_delegate(), StopCapture()); 122 EXPECT_CALL(mock_delegate(), StartCapture( 129 EXPECT_CALL(mock_delegate(), StopCapture()); 191 EXPECT_CALL(mock_delegate(), StartCapture( 198 EXPECT_CALL(mock_delegate(), StopCapture());
|
/external/chromium_org/chrome/browser/local_discovery/ |
H A D | privet_device_lister_unittest.cc | 32 ServiceDiscoveryMockDelegate* mock_delegate) 34 mock_delegate_(mock_delegate) { 74 ServiceDiscoveryMockDelegate* mock_delegate) 76 callback_(callback), mock_delegate_(mock_delegate) { 108 ServiceDiscoveryMockDelegate* mock_delegate) 109 : mock_delegate_(mock_delegate) { 30 MockServiceWatcher(const std::string& service_type, const ServiceWatcher::UpdatedCallback& callback, ServiceDiscoveryMockDelegate* mock_delegate) argument 72 MockServiceResolver(const std::string& service_name, const ServiceResolver::ResolveCompleteCallback& callback, ServiceDiscoveryMockDelegate* mock_delegate) argument 107 MockServiceDiscoveryClient( ServiceDiscoveryMockDelegate* mock_delegate) argument
|
/external/chromium_org/content/browser/download/ |
H A D | download_item_impl_unittest.cc | 245 EXPECT_CALL(*mock_delegate(), DetermineDownloadTarget(item, _)) 249 EXPECT_CALL(*mock_delegate(), DetermineDownloadTarget(item, _)); 259 mock_delegate()->VerifyAndClearExpectations(); 260 EXPECT_CALL(*mock_delegate(), AssertStateConsistent(_)) 262 EXPECT_CALL(*mock_delegate(), ShouldOpenFileBasedOnExtension(_)) 264 EXPECT_CALL(*mock_delegate(), ShouldOpenDownload(_, _)) 316 MockDelegate* mock_delegate() { function in class:content::DownloadItemTest 395 EXPECT_CALL(*mock_delegate(), MockResumeInterruptedDownload(_,_)) 474 EXPECT_CALL(*mock_delegate(), ShouldCompleteDownload(item, _)) 507 EXPECT_CALL(*mock_delegate(), DetermineDownloadTarge [all...] |
/external/chromium_org/chrome/browser/profile_resetter/ |
H A D | automatic_profile_resetter_unittest.cc | 586 mock_delegate().ExpectCallsToDependenciesSetUpMethods(); 587 mock_delegate().ExpectCallsToGetterMethods(); 588 mock_delegate().ExpectCallToShowPrompt(); 595 testing::Mock::VerifyAndClearExpectations(&mock_delegate()); 603 testing::Mock::VerifyAndClearExpectations(&mock_delegate()); 624 MockProfileResetterDelegate& mock_delegate() { return *mock_delegate_; } function in class:__anon4501::AutomaticProfileResetterTestBase 689 mock_delegate().ExpectCallsToDependenciesSetUpMethods(); 690 mock_delegate().ExpectCallsToGetterMethods(); 705 mock_delegate().ExpectCallsToDependenciesSetUpMethods(); 706 mock_delegate() [all...] |