Searched defs:mock_delegate (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/chrome/browser/ui/search/
H A Dsearch_ipc_router_unittest.cc141 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 Dsearch_tab_helper_unittest.cc119 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 Dmedia_stream_video_capture_source_unittest.cc77 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 Dprivet_device_lister_unittest.cc32 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 Ddownload_item_impl_unittest.cc245 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 Dautomatic_profile_resetter_unittest.cc586 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...]

Completed in 160 milliseconds