Home | History | Annotate | Download | only in dbus

Lines Matching refs:watch

40 class Watch : public base::MessagePumpLibevent::Watcher {
42 explicit Watch(DBusWatch* watch)
43 : raw_watch_(watch) {
47 ~Watch() override { dbus_watch_set_data(raw_watch_, NULL, NULL); }
69 const bool persistent = true; // Watch persistently.
100 // Unlike Watch, Timeout is a ref counted object, to ensure that |this| of
1024 // watch will be deleted when raw_watch is removed in OnRemoveWatch().
1025 Watch* watch = new Watch(raw_watch);
1026 if (watch->IsReadyToBeWatched()) {
1027 watch->StartWatching();
1036 Watch* watch = static_cast<Watch*>(dbus_watch_get_data(raw_watch));
1037 delete watch;
1044 Watch* watch = static_cast<Watch*>(dbus_watch_get_data(raw_watch));
1045 if (watch->IsReadyToBeWatched()) {
1046 watch->StartWatching();
1050 watch->StopWatching();