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

Unified Diff: chrome/browser/process_singleton.h

Issue 160436: It's a copy of http://codereview.chromium.org/155772, with the fix for valgri... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 (版本 22359)
+++ chrome/browser/process_singleton.h (工作副本)
@@ -68,6 +68,12 @@
}
private:
+#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
+
bool locked_;
gfx::NativeWindow foreground_window_;
@@ -92,9 +98,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_;
« 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