Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4658)

Unified Diff: chrome/browser/apps/app_shim/unix_domain_socket_acceptor.cc

Issue 2695593009: Use the location where FileDescriptorWatcher is created to track the libevent handlers (Closed)
Patch Set: fix mac. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/apps/app_shim/unix_domain_socket_acceptor.cc
diff --git a/chrome/browser/apps/app_shim/unix_domain_socket_acceptor.cc b/chrome/browser/apps/app_shim/unix_domain_socket_acceptor.cc
index 662ba09b81dea5a12e5b9a3929de9592119018a6..9764c607ec5d093cd69c177c20bc15e99f973bcf 100644
--- a/chrome/browser/apps/app_shim/unix_domain_socket_acceptor.cc
+++ b/chrome/browser/apps/app_shim/unix_domain_socket_acceptor.cc
@@ -14,7 +14,8 @@ namespace apps {
UnixDomainSocketAcceptor::UnixDomainSocketAcceptor(const base::FilePath& path,
Delegate* delegate)
- : named_pipe_(path.value()),
+ : server_listen_connection_watcher_(FROM_HERE),
+ named_pipe_(path.value()),
delegate_(delegate),
listen_handle_(mojo::edk::CreateServerHandle(named_pipe_)) {
DCHECK(delegate_);
« no previous file with comments | « base/message_loop/message_pump_libevent_unittest.cc ('k') | chrome/browser/chrome_browser_main_extra_parts_exo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698