Home
last modified time | relevance | path

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

/external/libchrome/base/threading/
Dpost_task_and_reply_impl_unittest.cc39 class ObjectToDelete : public RefCounted<ObjectToDelete> { class
42 ObjectToDelete(bool* delete_flag) : delete_flag_(delete_flag) { in ObjectToDelete() function in base::internal::__anon742512640111::ObjectToDelete
47 friend class RefCounted<ObjectToDelete>;
48 ~ObjectToDelete() { *delete_flag_ = true; } in ~ObjectToDelete()
52 DISALLOW_COPY_AND_ASSIGN(ObjectToDelete);
59 MOCK_METHOD1(Task, void(scoped_refptr<ObjectToDelete>));
60 MOCK_METHOD1(Reply, void(scoped_refptr<ObjectToDelete>));
107 MakeRefCounted<ObjectToDelete>(&delete_task_flag_)), in PostTaskAndReplyToMockObject()
109 MakeRefCounted<ObjectToDelete>(&delete_reply_flag_)))); in PostTaskAndReplyToMockObject()