Searched defs:MockDelegate (Results 1 - 16 of 16) sorted by relevance

/external/chromium_org/chrome/browser/local_discovery/
H A Dprivet_confirm_api_flow_unittest.cc39 class MockDelegate { class in namespace:local_discovery::__anon4097
45 StrictMock<MockDelegate> delegate;
47 "123", base::Bind(&MockDelegate::Callback, base::Unretained(&delegate)));
H A Dcloud_device_list_unittest.cc46 class MockDelegate : public CloudDeviceListDelegate { class in namespace:local_discovery::__anon4089
63 StrictMock<MockDelegate> delegate;
H A Dcloud_print_printer_list_unittest.cc32 class MockDelegate : public CloudDeviceListDelegate { class in namespace:local_discovery::__anon4090
49 StrictMock<MockDelegate> delegate;
H A Dgcd_registration_ticket_request_unittest.cc41 class MockDelegate { class in namespace:local_discovery::__anon4095
47 StrictMock<MockDelegate> delegate;
49 base::Bind(&MockDelegate::Callback, base::Unretained(&delegate)));
H A Dgcd_api_flow_unittest.cc35 class MockDelegate : public CloudPrintApiFlowRequest { class in namespace:local_discovery::__anon4093
59 scoped_ptr<MockDelegate> delegate(new MockDelegate);
75 MockDelegate* mock_delegate_;
/external/chromium_org/media/midi/
H A Dusb_midi_input_stream_unittest.cc36 class MockDelegate : public UsbMidiInputStream::Delegate { class in namespace:media::__anon8139
38 MockDelegate() {} function in class:media::__anon8139::MockDelegate
39 virtual ~MockDelegate() {}
53 DISALLOW_COPY_AND_ASSIGN(MockDelegate);
83 MockDelegate delegate_;
/external/chromium_org/ui/message_center/
H A Dmessage_center_tray_unittest.cc19 class MockDelegate : public MessageCenterTrayDelegate { class in namespace:message_center::__anon16191
21 MockDelegate() function in class:message_center::__anon16191::MockDelegate
25 virtual ~MockDelegate() {}
51 DISALLOW_COPY_AND_ASSIGN(MockDelegate);
63 delegate_.reset(new MockDelegate);
94 scoped_ptr<MockDelegate> delegate_;
/external/chromium_org/google_apis/gaia/
H A Doauth2_mint_token_flow_unittest.cc125 class MockDelegate : public OAuth2MintTokenFlow::Delegate { class in namespace:__anon7845
127 MockDelegate() {} function in class:__anon7845::MockDelegate
128 ~MockDelegate() {}
140 explicit MockMintTokenFlow(MockDelegate* delegate,
160 void CreateFlow(MockDelegate* delegate,
180 StrictMock<MockDelegate> delegate_;
/external/chromium_org/sync/engine/
H A Dsyncer_proto_util_unittest.cc37 class MockDelegate : public sessions::SyncSession::Delegate { class in namespace:syncer
39 MockDelegate() {} function in class:syncer::MockDelegate
40 ~MockDelegate() {}
/external/chromium_org/net/quic/
H A Dquic_alarm_test.cc18 class MockDelegate : public QuicAlarm::Delegate { class in namespace:net::test::__anon8852
52 : delegate_(new MockDelegate()),
63 MockDelegate* delegate_; // not owned
H A Dquic_reliable_client_stream_test.cc26 class MockDelegate : public QuicReliableClientStream::Delegate { class in namespace:net::test::__anon8884
28 MockDelegate() {} function in class:net::test::__anon8884::MockDelegate
38 DISALLOW_COPY_AND_ASSIGN(MockDelegate);
81 testing::StrictMock<MockDelegate> delegate_;
H A Dquic_packet_generator_test.cc33 class MockDelegate : public QuicPacketGenerator::DelegateInterface { class in namespace:net::test::__anon8879
35 MockDelegate() {} function in class:net::test::__anon8879::MockDelegate
36 virtual ~MockDelegate() OVERRIDE {}
74 DISALLOW_COPY_AND_ASSIGN(MockDelegate);
227 StrictMock<MockDelegate> delegate_;
/external/chromium_org/ppapi/shared_impl/
H A Dmedia_stream_buffer_manager_unittest.cc30 class MockDelegate : public MediaStreamBufferManager::Delegate { class in namespace:ppapi
32 MockDelegate() : new_buffer_enqueue_counter_(0) {} function in class:ppapi::MockDelegate
44 MockDelegate delegate;
96 MockDelegate delegate;
126 MockDelegate delegate;
/external/chromium_org/apps/app_shim/
H A Dextension_app_shim_handler_mac_unittest.cc28 class MockDelegate : public ExtensionAppShimHandler::Delegate { class in namespace:apps
30 virtual ~MockDelegate() {}
144 : delegate_(new MockDelegate),
203 MockDelegate* delegate_;
234 .WillOnce(WithArgs<2>(Invoke(delegate_, &MockDelegate::RunCallback)));
245 .WillOnce(WithArgs<2>(Invoke(delegate_, &MockDelegate::RunCallback)));
389 .WillOnce(Invoke(delegate_, &MockDelegate::CaptureLoadProfileCallback));
/external/chromium_org/chrome/browser/net/
H A Devicted_domain_cookie_counter_unittest.cc33 class MockDelegate : public EvictedDomainCookieCounter::Delegate { class in class:chrome_browser_net::__anon4267::EvictedDomainCookieCounterTest
35 explicit MockDelegate(EvictedDomainCookieCounterTest* tester);
95 EvictedDomainCookieCounterTest::MockDelegate::MockDelegate( function in class:chrome_browser_net::__anon4267::EvictedDomainCookieCounterTest::MockDelegate
99 void EvictedDomainCookieCounterTest::MockDelegate::Report(
110 Time EvictedDomainCookieCounterTest::MockDelegate::CurrentTime() const {
128 scoped_ptr<MockDelegate> cookie_counter_delegate(new MockDelegate(this));
204 scoped_ptr<MockDelegate> cookie_counter_delegate(new MockDelegate(thi
[all...]
/external/chromium_org/content/browser/download/
H A Ddownload_item_impl_unittest.cc41 class MockDelegate : public DownloadItemImplDelegate { class in namespace:content::__anon6787
43 MockDelegate() : DownloadItemImplDelegate() { function in class:content::__anon6787::MockDelegate
316 MockDelegate* mock_delegate() {
329 StrictMock<MockDelegate> delegate_;

Completed in 406 milliseconds