Home
last modified time | relevance | path

Searched refs:ThreadTestHelper (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/test/
Dthread_test_helper.cc15 ThreadTestHelper::ThreadTestHelper( in ThreadTestHelper() function in base::ThreadTestHelper
22 bool ThreadTestHelper::Run() { in Run()
24 FROM_HERE, base::BindOnce(&ThreadTestHelper::RunOnSequence, this))) { in Run()
32 void ThreadTestHelper::RunTest() { set_test_result(true); } in RunTest()
34 ThreadTestHelper::~ThreadTestHelper() = default;
36 void ThreadTestHelper::RunOnSequence() { in RunOnSequence()
Dthread_test_helper.h21 class ThreadTestHelper : public RefCountedThreadSafe<ThreadTestHelper> {
23 explicit ThreadTestHelper(scoped_refptr<SequencedTaskRunner> target_sequence);
31 friend class RefCountedThreadSafe<ThreadTestHelper>;
33 virtual ~ThreadTestHelper();
45 DISALLOW_COPY_AND_ASSIGN(ThreadTestHelper);
/external/libchrome/base/threading/
Dthread_restrictions.h154 class ThreadTestHelper; variable
474 friend class ThreadTestHelper; variable