Searched refs:ObjectToDelete (Results 1 – 1 of 1) sorted by relevance
39 class ObjectToDelete : public RefCounted<ObjectToDelete> { class42 ObjectToDelete(bool* delete_flag) : delete_flag_(delete_flag) { in ObjectToDelete() function in base::internal::__anon742512640111::ObjectToDelete47 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()