Home
last modified time | relevance | path

Searched refs:MockCallback (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/media/base/
Dtest_helpers.cc25 class MockCallback : public base::RefCountedThreadSafe<MockCallback> { class
27 MockCallback();
32 friend class base::RefCountedThreadSafe<MockCallback>;
33 virtual ~MockCallback();
36 DISALLOW_COPY_AND_ASSIGN(MockCallback);
39 MockCallback::MockCallback() {} in MockCallback() function in media::MockCallback
40 MockCallback::~MockCallback() {} in ~MockCallback()
43 StrictMock<MockCallback>* callback = new StrictMock<MockCallback>(); in NewExpectedClosure()
45 return base::Bind(&MockCallback::Run, callback); in NewExpectedClosure()
49 StrictMock<MockCallback>* callback = new StrictMock<MockCallback>(); in NewExpectedStatusCB()
[all …]
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
DServiceTest.java81 MockCallback<Message> fooCallback = new MockCallback<Message>(); in testCallMethod()
82 MockCallback<Message> barCallback = new MockCallback<Message>(); in testCallMethod()
116 MockCallback<FooResponse> fooCallback = new MockCallback<FooResponse>(); in testStub()
117 MockCallback<BarResponse> barCallback = new MockCallback<BarResponse>(); in testStub()
280 MockCallback<?> callback) { in wrapsCallback()
286 private static class MockCallback<Type extends Message> class in ServiceTest
298 private MockCallback<?> callback;
300 public WrapsCallback(MockCallback<?> callback) { in WrapsCallback()
/external/protobuf/java/src/test/java/com/google/protobuf/
DServiceTest.java81 MockCallback<Message> fooCallback = new MockCallback<Message>(); in testCallMethod()
82 MockCallback<Message> barCallback = new MockCallback<Message>(); in testCallMethod()
116 MockCallback<FooResponse> fooCallback = new MockCallback<FooResponse>(); in testStub()
117 MockCallback<BarResponse> barCallback = new MockCallback<BarResponse>(); in testStub()
278 MockCallback<?> callback) { in wrapsCallback()
284 private static class MockCallback<Type extends Message> class in ServiceTest
296 private MockCallback<?> callback;
298 public WrapsCallback(MockCallback<?> callback) { in WrapsCallback()
/external/chromium_org/chrome/browser/local_discovery/
Dcloud_print_account_manager_unittest.cc29 class MockCallback { class
47 &MockCallback::CloudPrintAccountsResolved, in CloudPrintAccountManagerTest()
58 MockCallback mock_callback_;
/external/chromium/chrome/browser/sync/notifier/
Dchrome_invalidation_client_unittest.cc42 class MockCallback { class
47 return invalidation::NewPermanentCallback(this, &MockCallback::Run); in MakeClosure()
88 MockCallback mock_callback; in FireInvalidate()
94 MockCallback mock_callback; in FireInvalidateAll()
/external/chromium_org/remoting/jingle_glue/
Diq_sender_unittest.cc37 class MockCallback { class
67 &MockCallback::OnReply, base::Unretained(&callback_))); in SendTestMessage()
84 MockCallback callback_;
/external/chromium_org/remoting/host/
Dregister_support_host_request_unittest.cc48 class MockCallback { class
75 MockCallback callback_;
85 base::Bind(&MockCallback::OnResponse, in TEST_F()
/external/chromium_org/chrome/browser/ui/cocoa/autofill/
Dautofill_dialog_cocoa_browsertest.mm26 void MockCallback(const FormStructure*) {}
38 base::Bind(MockCallback)),
/external/chromium_org/net/websockets/
Dwebsocket_deflate_stream_test.cc31 typedef ::testing::MockFunction<void(int)> MockCallback; // NOLINT typedef
355 MockCallback mock_callback, checkpoint; in TEST_F()
357 base::Bind(&MockCallback::Call, base::Unretained(&mock_callback)); in TEST_F()
386 MockCallback mock_callback, checkpoint; in TEST_F()
388 base::Bind(&MockCallback::Call, base::Unretained(&mock_callback)); in TEST_F()
434 MockCallback mock_callback, checkpoint; in TEST_F()
436 base::Bind(&MockCallback::Call, base::Unretained(&mock_callback)); in TEST_F()
472 MockCallback mock_callback, checkpoint; in TEST_F()
474 base::Bind(&MockCallback::Call, base::Unretained(&mock_callback)); in TEST_F()
937 MockCallback mock_callback, checkpoint; in TEST_F()
[all …]
/external/chromium/webkit/glue/media/
Dbuffered_data_source_unittest.cc524 media::MockCallback* stop_callback = media::NewExpectedCallback(); in TEST_F()
/external/chromium_org/chrome/browser/ui/autofill/
Dautofill_dialog_controller_browsertest.cc75 void MockCallback(const FormStructure*) {} in MockCallback() function
115 base::Bind(&MockCallback)), in TestAutofillDialogController()