Home
last modified time | relevance | path

Searched refs:TestCallback (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/components/component_updater/test/
Dcomponent_patcher_unittest.cc27 class TestCallback { class
29 TestCallback();
30 virtual ~TestCallback() {} in ~TestCallback()
38 DISALLOW_COPY_AND_ASSIGN(TestCallback);
41 TestCallback::TestCallback() : error_(-1), extra_code_(-1), called_(false) { in TestCallback() function in __anon637c9aa80111::TestCallback
44 void TestCallback::Set(component_updater::ComponentUnpacker::Error error, in Set()
89 TestCallback callback; in TEST_F()
95 base::Bind(&TestCallback::Set, base::Unretained(&callback)), in TEST_F()
119 TestCallback callback; in TEST_F()
125 base::Bind(&TestCallback::Set, base::Unretained(&callback)), in TEST_F()
[all …]
/external/chromium_org/media/base/
Dgmock_callback_support_unittest.cc17 typedef base::Callback<void(const bool& src, bool* dst)> TestCallback; typedef
24 MockFunction<void(const TestCallback&)> check; in TEST()
26 check.Call(TestCallback()); in TEST()
30 MockFunction<void(const TestCallback&)> check; in TEST()
45 MockFunction<void(const TestCallback&)> check; in TEST()
54 MockFunction<void(int, const TestCallback&)> check; in TEST()
63 MockFunction<void(const TestCallback&)> check; in TEST()
74 MockFunction<void(const TestCallback&)> check; in TEST()
/external/chromium_org/chrome/browser/ui/website_settings/
Dpermission_menu_model_unittest.cc13 class TestCallback { class
15 TestCallback() : current_(-1) {} in TestCallback() function in __anon02ed43c10111::TestCallback
18 return base::Bind(&TestCallback::PermissionChanged, base::Unretained(this)); in callback()
30 TestCallback callback; in TEST()
41 TestCallback callback; in TEST()
52 TestCallback callback; in TEST()
/external/chromium_org/content/browser/indexed_db/
Dindexed_db_backing_store_unittest.cc359 class TestCallback : public IndexedDBBackingStore::BlobWriteCallback { class
361 TestCallback() : called(false), succeeded(false) {} in TestCallback() function in content::__anon143584470111::TestCallback
370 virtual ~TestCallback() {} in ~TestCallback()
373 DISALLOW_COPY_AND_ASSIGN(TestCallback);
385 scoped_refptr<TestCallback> callback(new TestCallback()); in TEST_F()
399 scoped_refptr<TestCallback> callback(new TestCallback()); in TEST_F()
421 scoped_refptr<TestCallback> callback(new TestCallback()); in TEST_F()
437 scoped_refptr<TestCallback> callback(new TestCallback()); in TEST_F()
455 scoped_refptr<TestCallback> callback(new TestCallback()); in TEST_F()
527 scoped_refptr<TestCallback> callback(new TestCallback()); in TEST_F()
[all …]
/external/chromium_org/chrome/common/
Dworker_thread_ticker_unittest.cc13 class TestCallback : public WorkerThreadTicker::Callback { class
15 TestCallback() : counter_(0), message_loop_(base::MessageLoop::current()) {} in TestCallback() function in __anon906e81ec0111::TestCallback
51 TestCallback callback; in TEST()
69 TestCallback callback; in TEST()
86 TestCallback callback; in TEST()
/external/chromium_org/components/domain_reliability/
Dutil_unittest.cc36 TestCallback callback; in TEST_F()
51 TestCallback callback; in TEST_F()
63 TestCallback callback; in TEST_F()
76 TestCallback callback; in TEST_F()
89 TestCallback callback; in TEST_F()
105 TestCallback callback; in TEST_F()
Dtest_util.cc77 TestCallback::TestCallback() in TestCallback() function in domain_reliability::TestCallback
78 : callback_(base::Bind(&TestCallback::OnCalled, in TestCallback()
82 TestCallback::~TestCallback() {} in ~TestCallback()
84 void TestCallback::OnCalled() { in OnCalled()
Ddispatcher_unittest.cc31 TestCallback callback; in TEST_F()
41 TestCallback callback; in TEST_F()
53 TestCallback callback; in TEST_F()
Dtest_util.h23 class TestCallback {
25 TestCallback();
26 ~TestCallback();
/external/chromium_org/ppapi/shared_impl/
Dtracked_callback_unittest.cc60 void TestCallback(void* user_data, int32_t result) { in TestCallback() function
102 PP_MakeCompletionCallback(&TestCallback, &info_did_run())); in TEST_F()
112 PP_MakeCompletionCallback(&TestCallback, &info_did_abort())); in TEST_F()
122 PP_MakeCompletionCallback(&TestCallback, &info_didnt_run())); in TEST_F()
158 this, PP_MakeCompletionCallback(&TestCallback, &info_did_run_)); in SetupForTest()
166 PP_MakeCompletionCallback(&TestCallback, in SetupForTest()
176 this, PP_MakeCompletionCallback(&TestCallback, &info_did_abort_)); in SetupForTest()
183 this, PP_MakeCompletionCallback(&TestCallback, &info_didnt_run_)); in SetupForTest()
/external/chromium_org/chrome/browser/devtools/
Ddevtools_network_controller_unittest.cc24 class TestCallback { class
26 TestCallback() : run_count_(0), value_(0) {} in TestCallback() function in test::TestCallback
43 base::Bind(&TestCallback::Run, base::Unretained(&callback_))), in DevToolsNetworkControllerHelper()
88 TestCallback* callback() { return &callback_; } in callback()
96 TestCallback callback_;
149 TestCallback* callback = helper.callback(); in TEST()
/external/chromium_org/ppapi/proxy/
Ddevice_enumeration_resource_helper_unittest.cc92 class TestCallback { class
94 TestCallback() : called_(false), result_(PP_ERROR_FAILED) { in TestCallback() function in ppapi::proxy::__anoncf9ecb4b0111::TestCallback
96 ~TestCallback() { in ~TestCallback()
109 TestCallback* callback = static_cast<TestCallback*>(user_data); in CompletionCallbackBody()
119 DISALLOW_COPY_AND_ASSIGN(TestCallback);
232 TestCallback callback; in TEST_F()
/external/chromium_org/chrome/browser/chromeos/file_manager/
Dzip_file_creator_browsertest.cc24 void TestCallback(bool* out_success, const base::Closure& quit, bool success) { in TestCallback() function
58 &TestCallback, &success, content::GetQuitTaskForRunLoop(&run_loop)), in IN_PROC_BROWSER_TEST_F()
88 &TestCallback, &success, content::GetQuitTaskForRunLoop(&run_loop)), in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Drtp_sender_unittest.cc793 class TestCallback : public FrameCountObserver { in TEST_F() class
795 TestCallback() in TEST_F() function in webrtc::TEST_F::TestCallback
798 virtual ~TestCallback() {} in TEST_F()
856 class TestCallback : public BitrateStatisticsObserver { in TEST_F() class
858 TestCallback() in TEST_F() function in webrtc::TEST_F::TestCallback
860 virtual ~TestCallback() {} in TEST_F()
935 class TestCallback : public StreamDataCountersCallback { in TEST_F() class
937 TestCallback() in TEST_F() function in webrtc::TEST_F::TestCallback
939 virtual ~TestCallback() {} in TEST_F()
Dreceive_statistics_unittest.cc136 class TestCallback : public RtcpStatisticsCallback { in TEST_F() class
138 TestCallback() in TEST_F() function in webrtc::TEST_F::TestCallback
140 virtual ~TestCallback() {} in TEST_F()
/external/chromium_org/chromeos/network/
Dnetwork_configuration_handler_unittest.cc77 class TestCallback { class
79 TestCallback() : run_count_(0) {} in TestCallback() function in chromeos::__anonb143e7bb0111::TestCallback
370 TestCallback test_callback; in TEST_F()
384 base::Bind(&TestCallback::Run, base::Unretained(&test_callback)), in TEST_F()
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_model_observer_for_cocoa_unittest.mm20 TEST_F(BookmarkModelObserverForCocoaTest, TestCallback) {