Home
last modified time | relevance | path

Searched refs:weak_factory_ (Results 1 – 25 of 27) sorted by relevance

12

/external/libchrome/base/
Dcancelable_callback.h64 CancelableCallback() : weak_factory_(this) {} in CancelableCallback()
68 : callback_(callback), weak_factory_(this) { in CancelableCallback()
77 weak_factory_.InvalidateWeakPtrs(); in Cancel()
115 weak_factory_.GetWeakPtr()); in InitializeForwarder()
125 base::WeakPtrFactory<CancelableCallback<void(A...)>> weak_factory_; variable
Drun_loop.cc21 weak_factory_(this) { in RunLoop()
59 return base::Bind(&RunLoop::Quit, weak_factory_.GetWeakPtr()); in QuitClosure()
63 return base::Bind(&RunLoop::QuitWhenIdle, weak_factory_.GetWeakPtr()); in QuitWhenIdleClosure()
Dobserver_list_unittest.cc104 weak_factory_(this) { in AddRemoveThread()
113 base::Bind(&AddRemoveThread::AddTask, weak_factory_.GetWeakPtr())); in ThreadMain()
143 base::Bind(&AddRemoveThread::AddTask, weak_factory_.GetWeakPtr())); in AddTask()
176 base::WeakPtrFactory<AddRemoveThread> weak_factory_; member in base::__anonea3212f50111::AddRemoveThread
Drun_loop.h109 base::WeakPtrFactory<RunLoop> weak_factory_; variable
/external/libmojo/mojo/public/cpp/bindings/lib/
Drouter.cc132 weak_factory_(this) { in Router()
176 base::WeakPtr<Router> weak_self = weak_factory_.GetWeakPtr(); in AcceptWithResponder()
215 weak_factory_.GetWeakPtr())); in HandleIncomingMessage()
228 base::WeakPtr<Router> weak_self = weak_factory_.GetWeakPtr(); in HandleQueuedMessages()
258 weak_factory_.GetWeakPtr(), connector_.task_runner()); in HandleMessageInternal()
311 base::Bind(&Router::OnConnectionError, weak_factory_.GetWeakPtr())); in OnConnectionError()
Dconnector.cc60 weak_factory_(this) { in Connector()
61 weak_self_ = weak_factory_.GetWeakPtr(); in Connector()
Drouter.h171 base::WeakPtrFactory<Router> weak_factory_; variable
/external/libmojo/mojo/common/
Ddata_pipe_drainer.cc18 : client_(client), source_(std::move(source)), weak_factory_(this) { in DataPipeDrainer()
22 base::Bind(&DataPipeDrainer::WaitComplete, weak_factory_.GetWeakPtr())); in DataPipeDrainer()
Ddata_pipe_drainer.h41 base::WeakPtrFactory<DataPipeDrainer> weak_factory_; variable
/external/libchrome/base/task/
Dcancelable_task_tracker.cc66 : next_id_(1),weak_factory_(this) {} in CancelableTaskTracker()
100 Bind(&CancelableTaskTracker::Untrack, weak_factory_.GetWeakPtr(), id); in PostTaskAndReply()
129 Bind(&CancelableTaskTracker::Untrack, weak_factory_.GetWeakPtr(), id), in NewTrackedTaskId()
Dcancelable_task_tracker.h135 base::WeakPtrFactory<CancelableTaskTracker> weak_factory_; variable
/external/libchrome/components/timers/
Dalarm_timer_chromeos.cc336 weak_factory_(this) { in AlarmTimer()
347 weak_factory_(this) { in AlarmTimer()
361 base::Bind(&AlarmTimer::OnTimerFired, weak_factory_.GetWeakPtr()))); in Init()
404 weak_factory_.GetWeakPtr()))); in Reset()
Dalarm_timer_chromeos.h89 base::WeakPtrFactory<AlarmTimer> weak_factory_; variable
/external/libmojo/mojo/public/cpp/system/
Dwatcher.cc53 weak_factory_(this) { in Watcher()
55 weak_self_ = weak_factory_.GetWeakPtr(); in Watcher()
Dwatcher.h118 base::WeakPtrFactory<Watcher> weak_factory_; variable
/external/libchrome/base/files/
Dimportant_file_writer.cc144 weak_factory_(this) { in ImportantFileWriter()
224 weak_factory_.GetWeakPtr())); in PostWriteTask()
Dimportant_file_writer.h133 WeakPtrFactory<ImportantFileWriter> weak_factory_; variable
/external/libbrillo/brillo/dbus/
Ddbus_service_watcher.cc20 &DBusServiceWatcher::OnServiceOwnerChange, weak_factory_.GetWeakPtr());
Ddbus_service_watcher.h46 base::WeakPtrFactory<DBusServiceWatcher> weak_factory_{this};
/external/libmojo/mojo/message_pump/
Dhandle_watcher.cc410 weak_factory_(this) { in SecondaryThreadWatchingState()
416 weak_factory_.GetWeakPtr())); in SecondaryThreadWatchingState()
433 base::WeakPtrFactory<SecondaryThreadWatchingState> weak_factory_; member in mojo::common::HandleWatcher::SecondaryThreadWatchingState
Dhandle_watcher_unittest.cc73 weak_factory_(this) {} in CallbackHelper()
90 return base::Bind(&CallbackHelper::OnCallback, weak_factory_.GetWeakPtr()); in GetCallback()
117 base::WeakPtrFactory<CallbackHelper> weak_factory_; member in mojo::common::test::CallbackHelper
/external/libchrome/base/trace_event/
Dtrace_event_system_stats_monitor.h62 WeakPtrFactory<TraceEventSystemStatsMonitor> weak_factory_; variable
/external/libmojo/mojo/edk/js/
Dwaiting_callback.h58 base::WeakPtrFactory<WaitingCallback> weak_factory_; variable
Dwaiting_callback.cc56 weak_factory_(this) { in WaitingCallback()
/external/libmojo/mojo/public/cpp/bindings/
Dconnector.h204 base::WeakPtrFactory<Connector> weak_factory_; variable

12