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

Unified Diff: chrome/browser/process_singleton.h

Issue 159577: Linux: Adds ACKs to ProcessSingletonLinux. (Closed)
Patch Set: Remove extra header. 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
diff --git a/chrome/browser/process_singleton.h b/chrome/browser/process_singleton.h
index 3ef620a6bcde4a923fa3dd81eb94de4c8453adf0..ed572fe46841eaf3e6e2e5a0ea5bc7fc658578cf 100644
--- a/chrome/browser/process_singleton.h
+++ b/chrome/browser/process_singleton.h
@@ -68,6 +68,12 @@ class ProcessSingleton : public NonThreadSafe {
}
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 @@ class ProcessSingleton : public NonThreadSafe {
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