Home
last modified time | relevance | path

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

/external/libchrome/base/task_scheduler/
Dtracked_ref.h72 class TrackedRef {
75 TrackedRef(TrackedRef<T>&& other) in TrackedRef() function
81 TrackedRef(const TrackedRef<T>& other) in TrackedRef() function
89 TrackedRef& operator=(TrackedRef<T>&& other) = delete;
90 TrackedRef& operator=(const TrackedRef<T>& other) = delete;
92 ~TrackedRef() { in ~TrackedRef()
109 TrackedRef(T* ptr, TrackedRefFactory<T>* factory) in TrackedRef() function
123 : ptr_(ptr), self_ref_(WrapUnique(new TrackedRef<T>(ptr_, this))) { in TrackedRefFactory()
138 TrackedRef<T> GetTrackedRef() { in GetTrackedRef()
144 return TrackedRef<T>(ptr_, this); in GetTrackedRef()
[all …]
Dtracked_ref_unittest.cc27 TrackedRef<ObjectWithTrackedRefs> GetTrackedRef() { in GetTrackedRef()
59 [](TrackedRef<ObjectWithTrackedRefs> obj) { in TEST()
94 [](TrackedRef<ObjectWithTrackedRefs> obj) { in TEST()
116 void ConsumesTrackedRef(TrackedRef<ObjectWithTrackedRefs> obj) {} in ConsumesTrackedRef()
136 TrackedRef<Foo> plain = foo.factory.GetTrackedRef(); in TEST()
139 TrackedRef<Foo> copy_constructed(plain); in TEST()
142 TrackedRef<Foo> moved_constructed(std::move(copy_constructed)); in TEST()
Dscheduler_worker_pool.cc171 TrackedRef<TaskTracker> task_tracker, in SchedulerWorkerPool()