Searched refs:WrapRefCounted (Results 1 – 11 of 11) sorted by relevance
113 return WrapRefCounted(new TaskQueueType(CreateTaskQueueImpl(spec), spec, in CreateTaskQueue()
95 test_task_runner_ = WrapRefCounted(new TestMockTimeTaskRunner( in SetUp()
92 return WrapRefCounted(subtle::GetOrCreateLazyPointer( in Get()
170 base::WrapRefCounted(static_cast<MessageAttachment*>(attachment.get())), in WriteAttachment()
297 pending_filters_.push_back(base::WrapRefCounted(filter)); in AddFilter()
32 return base::WrapRefCounted(new MockDispatcher(info)); in Create()
409 return base::WrapRefCounted(new SharedBufferDispatcher(std::move(region))); in CreateInternal()
98 scoped_refptr<T> WrapRefCounted(T* t) { in WrapRefCounted() function
660 EXPECT_DCHECK_DEATH(base::WrapRefCounted(new InitialRefCountIsOne)); in TEST()
295 cancelled_contexts_.emplace_back(base::WrapRefCounted(context)); in Notify()
816 TypeParam::Bind(&HasRef::VoidMethod0, WrapRefCounted(&has_ref)); in TYPED_TEST()