Home
last modified time | relevance | path

Searched refs:watcher_ (Results 1 – 25 of 71) sorted by relevance

123

/external/chromium_org/chrome/service/cloud_print/
Dprint_system_win.cc55 ret = watcher_.StartWatching(printer_change_, this); in Start()
65 watcher_.StopWatching(); in Stop()
93 watcher_.StartWatching(printer_change_, this); in OnObjectSignaled()
102 base::win::ObjectWatcher watcher_; member in cloud_print::__anonef780bc60111::PrintSystemWatcherWin
121 return watcher_.Start(std::string(), this); in StartWatching()
125 bool ret = watcher_.Stop(); in StopWatching()
143 PrintSystemWatcherWin watcher_; member in cloud_print::__anonef780bc60111::PrintServerWatcherWin
161 return watcher_.Start(printer_name_, this); in StartWatching()
165 bool ret = watcher_.Stop(); in StopWatching()
172 return watcher_.GetCurrentPrinterInfo(printer_info); in GetCurrentPrinterInfo()
[all …]
/external/chromium_org/ash/shell/
Dwindow_watcher.cc25 explicit WorkspaceWindowWatcher(WindowWatcher* watcher) : watcher_(watcher) { in WorkspaceWindowWatcher()
32 new_window->AddObserver(watcher_); in OnWindowAdded()
37 window->RemoveObserver(watcher_); in OnWillRemoveWindow()
44 panel_container->AddObserver(watcher_); in RootWindowAdded()
50 container->children()[i]->AddObserver(watcher_); in RootWindowAdded()
57 panel_container->RemoveObserver(watcher_); in RootWindowRemoved()
63 container->children()[i]->RemoveObserver(watcher_); in RootWindowRemoved()
67 WindowWatcher* watcher_; member in ash::shell::WindowWatcher::WorkspaceWindowWatcher
Dwindow_watcher_shelf_item_delegate.cc17 : id_(id), watcher_(watcher) { in WindowWatcherShelfItemDelegate()
19 DCHECK(watcher_); in WindowWatcherShelfItemDelegate()
26 aura::Window* window = watcher_->GetWindowByID(id_); in ItemSelected()
35 return watcher_->GetWindowByID(id_)->title(); in GetTitle()
Dshell_delegate_impl.cc71 : watcher_(NULL), in ShellDelegateImpl()
80 watcher_ = watcher; in SetWatcher()
125 shelf_delegate_ = new ShelfDelegateImpl(watcher_); in CreateShelfDelegate()
Dshelf_delegate_impl.h25 void set_watcher(WindowWatcher* watcher) { watcher_ = watcher; } in set_watcher()
39 WindowWatcher* watcher_;
/external/chromium/base/synchronization/
Dwaitable_event_watcher_win.cc15 : watcher_(watcher) { in ObjectWatcherHelper()
19 watcher_->OnObjectSignaled(); in OnObjectSignaled()
37 return watcher_.StartWatching(event->handle(), &helper_); in StartWatching()
43 watcher_.StopWatching(); in StopWatching()
Dwaitable_event_watcher.h137 WaitableEventWatcher *const watcher_;
143 win::ObjectWatcher watcher_; variable
/external/chromium_org/chromeos/memory/
Dlow_memory_listener.cc97 scoped_ptr<base::MessageLoopForIO::FileDescriptorWatcher> watcher_; member in chromeos::LowMemoryListenerImpl
111 DCHECK(watcher_.get() == NULL); in StartObservingOnFileThread()
122 watcher_.reset(new base::MessageLoopForIO::FileDescriptorWatcher); in StartObservingOnFileThread()
131 watcher_.reset(NULL); in StopObservingOnFileThread()
145 DCHECK(watcher_.get()); in StartWatchingDescriptor()
154 watcher_.get(), in StartWatchingDescriptor()
/external/chromium_org/remoting/host/
Dconfig_file_watcher_unittest.cc61 scoped_ptr<ConfigFileWatcher> watcher_; member in remoting::ConfigFileWatcherTest
72 watcher_.reset(); in StopWatcher()
87 watcher_.reset( in SetUp()
109 watcher_->Watch(&delegate_); in TEST_F()
125 watcher_->Watch(&delegate_); in TEST_F()
/external/chromium_org/ipc/
Dunix_domain_socket_util_unittest.cc45 if (watcher_.get()) { in Close()
48 watcher_.release())); in Close()
54 watcher_.reset(new base::MessageLoopForIO::FileDescriptorWatcher); in StartWatching()
56 fd, true, base::MessageLoopForIO::WATCH_READ, watcher_.get(), this); in StartWatching()
66 watcher_->StopWatchingFileDescriptor(); in OnFileCanReadWithoutBlocking()
73 scoped_ptr<base::MessageLoopForIO::FileDescriptorWatcher> watcher_; member in __anon22a016730111::SocketAcceptor
/external/chromium_org/net/socket/
Dstream_listen_socket.cc211 watcher_.StartWatching(socket_event_, this);
215 socket_, true, base::MessageLoopForIO::WATCH_READ, &watcher_, this);
222 watcher_.StopWatching();
224 watcher_.StopWatchingFileDescriptor();
245 watcher_.StartWatching(object, this);
/external/chromium_org/base/message_loop/
Dmessage_pump_libevent.cc56 watcher_(NULL), in FileDescriptorWatcher()
75 watcher_ = NULL; in StopWatchingFileDescriptor()
96 if (!watcher_) in OnFileCanReadWithoutBlocking()
99 watcher_->OnFileCanReadWithoutBlocking(fd); in OnFileCanReadWithoutBlocking()
105 DCHECK(watcher_); in OnFileCanWriteWithoutBlocking()
107 watcher_->OnFileCanWriteWithoutBlocking(fd); in OnFileCanWriteWithoutBlocking()
Dmessage_pump_io_ios.cc14 watcher_(NULL) { in FileDescriptorWatcher()
32 watcher_ = NULL; in StopWatchingFileDescriptor()
55 watcher_->OnFileCanReadWithoutBlocking(fd); in OnFileCanReadWithoutBlocking()
64 watcher_->OnFileCanWriteWithoutBlocking(fd); in OnFileCanWriteWithoutBlocking()
/external/chromium/net/base/
Dlisten_socket.cc252 watcher_.StartWatching(socket_event_, this);
256 socket_, true, MessageLoopForIO::WATCH_READ, &watcher_, this);
263 watcher_.StopWatching();
265 watcher_.StopWatchingFileDescriptor();
280 watcher_.StartWatching(object, this);
/external/chromium_org/base/files/
Dfile_path_watcher_win.cc72 base::win::ObjectWatcher watcher_; member in base::__anon32f616db0111::FilePathWatcherImpl
102 watcher_.StartWatching(handle_, this); in Watch()
185 watcher_.StartWatching(handle_, this); in OnObjectSignaled()
280 watcher_.StopWatching(); in DestroyWatch()
/external/chromium/base/files/
Dfile_path_watcher_win.cc67 base::win::ObjectWatcher watcher_; member in base::files::__anonb24958940111::FilePathWatcherImpl
92 watcher_.StartWatching(handle_, this); in Watch()
175 watcher_.StartWatching(handle_, this); in OnObjectSignaled()
269 watcher_.StopWatching(); in DestroyWatch()
/external/chromium/chrome/browser/policy/
Dfile_based_policy_loader.cc99 watcher_.reset(new FilePathWatcher); in InitOnFileThread()
102 !watcher_->Watch(path, new FileBasedPolicyWatcherDelegate(this))) { in InitOnFileThread()
115 watcher_.reset(); in StopOnFileThread()
/external/chromium_org/tools/memory_watcher/
Dmemory_hook.cc418 : watcher_(NULL), in MemoryHook()
509 DCHECK(global_hook_->watcher_ == NULL); in RegisterWatcher()
515 global_hook_->watcher_ = watcher; in RegisterWatcher()
521 DCHECK(global_hook_->watcher_ == watcher); in UnregisterWatcher()
525 global_hook_->watcher_ = NULL; in UnregisterWatcher()
551 if (watcher_) in OnTrack()
552 watcher_->OnTrack(heap, id, size); in OnTrack()
560 if (watcher_) in OnUntrack()
561 watcher_->OnUntrack(heap, id, size); in OnUntrack()
/external/chromium_org/base/synchronization/
Dwaitable_event_watcher_win.cc25 return watcher_.StartWatching(event->handle(), this); in StartWatching()
31 watcher_.StopWatching(); in StopWatching()
/external/chromium_org/remoting/host/policy_hack/
Dpolicy_watcher_linux.cc62 watcher_.reset(new base::FilePathWatcher()); in StartWatchingInternal()
65 !watcher_->Watch( in StartWatchingInternal()
84 watcher_.reset(); in StopWatchingInternal()
230 scoped_ptr<base::FilePathWatcher> watcher_; member in remoting::policy_hack::PolicyWatcherLinux
/external/chromium_org/chrome/tools/service_discovery_sniffer/
Dservice_discovery_sniffer.cc69 watcher_ = client_->CreateServiceWatcher( in ServiceTypePrinter()
75 watcher_->Start(); in Start()
76 watcher_->DiscoverNewServices(false); in Start()
/external/chromium_org/net/dns/
Dnotify_watcher_mac.cc33 &watcher_, in Watch()
47 watcher_.StopWatchingFileDescriptor(); in Cancel()
/external/chromium/base/
Dmessage_pump_libevent.cc56 watcher_(NULL) { in FileDescriptorWatcher()
74 watcher_ = NULL; in StopWatchingFileDescriptor()
96 watcher_->OnFileCanReadWithoutBlocking(fd); in OnFileCanReadWithoutBlocking()
103 watcher_->OnFileCanWriteWithoutBlocking(fd); in OnFileCanWriteWithoutBlocking()
Dmessage_pump_libevent.h76 void set_watcher(Watcher* watcher) { watcher_ = watcher; } in set_watcher()
84 Watcher* watcher_; variable
/external/chromium_org/base/process/
Dkill_win.cc54 win::ObjectWatcher watcher_; member in base::__anona743839a0111::TimerExpiredTask
60 watcher_.StartWatching(process_, this); in TimerExpiredTask()
80 watcher_.StopWatching(); in KillProcess()

123