Home
last modified time | relevance | path

Searched refs:MockDelegate (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/chrome/browser/net/
Devicted_domain_cookie_counter_unittest.cc33 class MockDelegate : public EvictedDomainCookieCounter::Delegate { class in chrome_browser_net::__anon13b2f57e0111::EvictedDomainCookieCounterTest
35 explicit MockDelegate(EvictedDomainCookieCounterTest* tester);
95 EvictedDomainCookieCounterTest::MockDelegate::MockDelegate( in MockDelegate() function in chrome_browser_net::__anon13b2f57e0111::EvictedDomainCookieCounterTest::MockDelegate
99 void EvictedDomainCookieCounterTest::MockDelegate::Report( in Report()
110 Time EvictedDomainCookieCounterTest::MockDelegate::CurrentTime() const { in CurrentTime()
128 scoped_ptr<MockDelegate> cookie_counter_delegate(new MockDelegate(this)); in InitCounter()
204 scoped_ptr<MockDelegate> cookie_counter_delegate(new MockDelegate(this)); in TEST_F()
/external/chromium_org/media/midi/
Dusb_midi_input_stream_unittest.cc36 class MockDelegate : public UsbMidiInputStream::Delegate { class
38 MockDelegate() {} in MockDelegate() function in media::__anon72bb2d3c0111::MockDelegate
39 virtual ~MockDelegate() {} in ~MockDelegate()
53 DISALLOW_COPY_AND_ASSIGN(MockDelegate);
83 MockDelegate delegate_;
/external/chromium_org/chrome/browser/local_discovery/
Dprivetv3_setup_flow_unittest.cc70 class MockDelegate : public PrivetV3SetupFlow::Delegate { class
72 MockDelegate() : privet_client_ptr_(NULL) {} in MockDelegate() function in local_discovery::__anonf828f9700111::MockDelegate
76 explicit MockGCDApiFlow(MockDelegate* delegate) : delegate_(delegate) {} in MockGCDApiFlow()
85 MockDelegate* delegate_;
127 void ConfirmCode(const MockDelegate::ResultCallback& confirm_callback) { in ConfirmCode()
158 StrictMock<MockDelegate> delegate_;
Dgcd_registration_ticket_request_unittest.cc42 class MockDelegate { class
50 StrictMock<MockDelegate> delegate; in TEST()
52 base::Bind(&MockDelegate::Callback, base::Unretained(&delegate))); in TEST()
Dprivet_confirm_api_flow_unittest.cc39 class MockDelegate { class
45 StrictMock<MockDelegate> delegate; in TEST()
47 "123", base::Bind(&MockDelegate::Callback, base::Unretained(&delegate))); in TEST()
Dgcd_api_flow_unittest.cc35 class MockDelegate : public CloudPrintApiFlowRequest { class
59 scoped_ptr<MockDelegate> delegate(new MockDelegate); in SetUp()
75 MockDelegate* mock_delegate_;
Dcloud_device_list_unittest.cc46 class MockDelegate : public CloudDeviceListDelegate { class
63 StrictMock<MockDelegate> delegate; in TEST()
Dcloud_print_printer_list_unittest.cc32 class MockDelegate : public CloudDeviceListDelegate { class
49 StrictMock<MockDelegate> delegate; in TEST()
Dprivetv3_session_unittest.cc22 class MockDelegate : public PrivetV3Session::Delegate { class
53 StrictMock<MockDelegate> delegate_;
/external/chromium_org/ppapi/shared_impl/
Dmedia_stream_buffer_manager_unittest.cc30 class MockDelegate : public MediaStreamBufferManager::Delegate { class
32 MockDelegate() : new_buffer_enqueue_counter_(0) {} in MockDelegate() function in ppapi::MockDelegate
44 MockDelegate delegate; in TEST()
96 MockDelegate delegate; in TEST()
126 MockDelegate delegate; in TEST()
/external/chromium_org/ui/message_center/
Dmessage_center_tray_unittest.cc19 class MockDelegate : public MessageCenterTrayDelegate { class
21 MockDelegate() in MockDelegate() function in message_center::__anona2e517fa0111::MockDelegate
25 virtual ~MockDelegate() {} in ~MockDelegate()
51 DISALLOW_COPY_AND_ASSIGN(MockDelegate);
63 delegate_.reset(new MockDelegate); in SetUp()
94 scoped_ptr<MockDelegate> delegate_;
/external/chromium_org/google_apis/gaia/
Doauth2_mint_token_flow_unittest.cc125 class MockDelegate : public OAuth2MintTokenFlow::Delegate { class
127 MockDelegate() {} in MockDelegate() function in __anon53a1e2cf0111::MockDelegate
128 ~MockDelegate() {} in ~MockDelegate()
140 explicit MockMintTokenFlow(MockDelegate* delegate, in MockMintTokenFlow()
160 void CreateFlow(MockDelegate* delegate, in CreateFlow()
180 StrictMock<MockDelegate> delegate_;
/external/chromium_org/net/quic/
Dquic_reliable_client_stream_test.cc26 class MockDelegate : public QuicReliableClientStream::Delegate { class
28 MockDelegate() {} in MockDelegate() function in net::test::__anon4cd61a860111::MockDelegate
38 DISALLOW_COPY_AND_ASSIGN(MockDelegate);
81 testing::StrictMock<MockDelegate> delegate_;
Dquic_alarm_test.cc18 class MockDelegate : public QuicAlarm::Delegate { class
52 : delegate_(new MockDelegate()), in QuicAlarmTest()
63 MockDelegate* delegate_; // not owned
Dquic_packet_generator_test.cc33 class MockDelegate : public QuicPacketGenerator::DelegateInterface { class
35 MockDelegate() {} in MockDelegate() function in net::test::__anon0368ffdb0111::MockDelegate
36 virtual ~MockDelegate() OVERRIDE {} in ~MockDelegate()
74 DISALLOW_COPY_AND_ASSIGN(MockDelegate);
227 StrictMock<MockDelegate> delegate_;
/external/chromium_org/chrome/browser/apps/app_shim/
Dextension_app_shim_handler_mac_unittest.cc28 class MockDelegate : public ExtensionAppShimHandler::Delegate { class
30 virtual ~MockDelegate() {} in ~MockDelegate()
144 : delegate_(new MockDelegate), in ExtensionAppShimHandlerTest()
203 MockDelegate* delegate_;
234 .WillOnce(WithArgs<2>(Invoke(delegate_, &MockDelegate::RunCallback))); in TEST_F()
245 .WillOnce(WithArgs<2>(Invoke(delegate_, &MockDelegate::RunCallback))); in TEST_F()
389 .WillOnce(Invoke(delegate_, &MockDelegate::CaptureLoadProfileCallback)); in TEST_F()
/external/chromium_org/sync/engine/
Dsyncer_proto_util_unittest.cc37 class MockDelegate : public sessions::SyncSession::Delegate { class
39 MockDelegate() {} in MockDelegate() function in syncer::MockDelegate
40 ~MockDelegate() {} in ~MockDelegate()
/external/chromium_org/chrome/browser/ui/cocoa/
Dweb_dialog_window_controller_unittest.mm33 class MockDelegate : public WebDialogDelegate {
64 MockDelegate delegate_;
/external/chromium_org/content/browser/download/
Ddownload_item_impl_unittest.cc41 class MockDelegate : public DownloadItemImplDelegate { class
43 MockDelegate() : DownloadItemImplDelegate() { in MockDelegate() function in content::__anond2ed9fb00111::MockDelegate
316 MockDelegate* mock_delegate() { in mock_delegate()
329 StrictMock<MockDelegate> delegate_;