Home
last modified time | relevance | path

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

123

/external/chromium_org/chrome/browser/sync/test/integration/
Dmigration_waiter.cc12 : watcher_(watcher), expected_types_(expected_types) { in MigrationWaiter()
14 watcher_->set_migration_waiter(this); in MigrationWaiter()
18 watcher_->clear_migration_waiter(); in ~MigrationWaiter()
24 return watcher_->GetMigratedTypes().HasAll(expected_types_) && in IsExitConditionSatisfied()
25 !watcher_->HasPendingBackendMigration(); in IsExitConditionSatisfied()
31 ModelTypeSetToString(watcher_->GetMigratedTypes()) + ")"; in GetDebugMessage()
/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()
43 panel_container->AddObserver(watcher_); in RootWindowAdded()
49 container->children()[i]->AddObserver(watcher_); in RootWindowAdded()
55 panel_container->RemoveObserver(watcher_); in RootWindowRemoved()
61 container->children()[i]->RemoveObserver(watcher_); in RootWindowRemoved()
65 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()
Dshelf_delegate_impl.h25 void set_watcher(WindowWatcher* watcher) { watcher_ = watcher; } in set_watcher()
39 WindowWatcher* watcher_;
Dshell_delegate_impl.cc152 : watcher_(NULL), in ShellDelegateImpl()
161 watcher_ = watcher; in SetWatcher()
223 shelf_delegate_ = new ShelfDelegateImpl(watcher_); in CreateShelfDelegate()
/external/chromium_org/chrome/browser/chromeos/memory/
Dlow_memory_observer.cc108 scoped_ptr<base::MessageLoopForIO::FileDescriptorWatcher> watcher_; member in chromeos::LowMemoryObserverImpl
119 DCHECK(watcher_.get() == NULL); in StartObservingOnFileThread()
130 watcher_.reset(new base::MessageLoopForIO::FileDescriptorWatcher); in StartObservingOnFileThread()
139 watcher_.reset(NULL); in StopObservingOnFileThread()
153 DCHECK(watcher_.get()); in StartWatchingDescriptor()
162 watcher_.get(), in StartWatchingDescriptor()
/external/chromium_org/remoting/host/
Dconfig_file_watcher_unittest.cc61 scoped_ptr<ConfigFileWatcher> watcher_; member in remoting::ConfigFileWatcherTest
71 watcher_.reset(); in StopWatcher()
86 watcher_.reset( in SetUp()
108 watcher_->Watch(&delegate_); in TEST_F()
124 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 __anon819154200111::SocketAcceptor
/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()
Dmessage_pump_io_ios.h78 void set_watcher(Watcher* watcher) { watcher_ = watcher; } in set_watcher()
88 Watcher* watcher_; variable
Dmessage_pump_libevent.h81 void set_watcher(Watcher* watcher) { watcher_ = watcher; } in set_watcher()
88 Watcher* watcher_; variable
/external/chromium_org/net/socket/
Dstream_listen_socket.cc228 watcher_.StartWatching(socket_event_, this);
232 socket_, true, base::MessageLoopForIO::WATCH_READ, &watcher_, this);
239 watcher_.StopWatching();
241 watcher_.StopWatchingFileDescriptor();
264 watcher_.StartWatching(object, this);
Dstream_listen_socket.h115 base::win::ObjectWatcher watcher_; variable
123 base::MessageLoopForIO::FileDescriptorWatcher watcher_; variable
/external/chromium_org/chrome/browser/net/
Dwebsocket_browsertest.cc59 watcher_.reset(new content::TitleWatcher( in SetUpOnMainThread()
62 watcher_->AlsoWaitForTitle(base::ASCIIToUTF16("FAIL")); in SetUpOnMainThread()
65 virtual void TearDownOnMainThread() OVERRIDE { watcher_.reset(); } in TearDownOnMainThread()
68 return base::UTF16ToUTF8(watcher_->WaitAndGetTitle()); in WaitAndGetTitle()
76 scoped_ptr<content::TitleWatcher> watcher_; member in __anon2318a4360111::WebSocketBrowserTest
/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/base/files/
Dfile_path_watcher_win.cc73 base::win::ObjectWatcher watcher_; member in base::__anon9c9986080111::FilePathWatcherImpl
109 watcher_.StartWatching(handle_, this); in Watch()
202 watcher_.StartWatching(handle_, this); in OnObjectSignaled()
290 watcher_.StopWatching(); in DestroyWatch()
/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/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/chrome/service/cloud_print/
Dprint_system_win.cc73 ret = watcher_.StartWatching(printer_change_.Get(), this); in Start()
83 watcher_.StopWatching(); in Stop()
111 watcher_.StartWatching(printer_change_.Get(), this); in OnObjectSignaled()
120 base::win::ObjectWatcher watcher_; member in cloud_print::__anon4d7f84d30111::PrintSystemWatcherWin
139 return watcher_.Start(std::string(), this); in StartWatching()
143 bool ret = watcher_.Stop(); in StopWatching()
161 PrintSystemWatcherWin watcher_; member in cloud_print::__anon4d7f84d30111::PrintServerWatcherWin
179 return watcher_.Start(printer_name_, this); in StartWatching()
183 bool ret = watcher_.Stop(); in StopWatching()
190 return watcher_.GetCurrentPrinterInfo(printer_info); in GetCurrentPrinterInfo()
[all …]
/external/chromium_org/net/dns/
Dnotify_watcher_mac.cc33 &watcher_, in Watch()
47 watcher_.StopWatchingFileDescriptor(); in Cancel()
Ddns_config_service_win.cc309 if (!watcher_.StartWatching(key_.watch_event(), this)) in Watch()
317 watcher_.StartWatching(key_.watch_event(), this); in OnObjectSignaled()
319 watcher_.StopWatching(); in OnObjectSignaled()
330 base::win::ObjectWatcher watcher_; member in net::internal::__anon3e3a68b70111::RegistryWatcher
729 watcher_.reset(new Watcher(this)); in StartWatching()
732 return watcher_->Watch(); in StartWatching()
/external/chromium_org/base/process/
Dkill_win.cc54 win::ObjectWatcher watcher_; member in base::__anonf2017ce70111::TimerExpiredTask
60 watcher_.StartWatching(process_, this); in TimerExpiredTask()
80 watcher_.StopWatching(); in KillProcess()
/external/chromium_org/third_party/libjingle/source/talk/media/devices/
Ddevicemanager.h189 void set_watcher(DeviceWatcher* watcher) { watcher_.reset(watcher); } in set_watcher()
190 DeviceWatcher* watcher() { return watcher_.get(); } in watcher()
205 rtc::scoped_ptr<DeviceWatcher> watcher_; variable
/external/chromium_org/device/hid/
Dhid_connection_win.cc52 base::win::ObjectWatcher watcher_; member
82 watcher_.StartWatching(event_.Get(), this); in TakeResultFromWindowsAPI()
95 watcher_.StopWatching(); in WillDestroyCurrentMessageLoop()

123