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

Unified Diff: chrome/browser/process_singleton.h

Issue 155772: This CL implements the second TODO item of issue 12343:... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/process_singleton_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/process_singleton.h
===================================================================
--- chrome/browser/process_singleton.h (版本 21941)
+++ chrome/browser/process_singleton.h (工作副本)
@@ -92,9 +92,6 @@
HWND remote_window_; // The HWND_MESSAGE of another browser.
HWND window_; // The HWND_MESSAGE window.
#elif defined(OS_LINUX)
- // Set up a socket and sockaddr appropriate for messaging.
- void SetupSocket(int* sock, struct sockaddr_un* addr);
-
// Path in file system to the socket.
FilePath socket_path_;
@@ -104,6 +101,12 @@
scoped_refptr<LinuxWatcher> watcher_;
#endif
+#if defined(OS_WIN) || defined(OS_LINUX)
+ // Timeout for the current browser process to respond. 20 seconds should be
+ // enough. It's only used in Windows and Linux implementations.
+ static const int kTimeoutInSeconds = 20;
+#endif
+
DISALLOW_COPY_AND_ASSIGN(ProcessSingleton);
};
« no previous file with comments | « no previous file | chrome/browser/process_singleton_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698