summaryrefslogtreecommitdiffstats
path: root/chrome/browser/process_singleton.h
diff options
context:
space:
mode:
authorsuzhe@chromium.org <suzhe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-31 07:09:34 +0000
committersuzhe@chromium.org <suzhe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-31 07:09:34 +0000
commit8637807161aa6a5046e3374750b7f24ae497a823 (patch)
tree76b395bc6f59d7734e0980a30c9fec4a3cfe37d6 /chrome/browser/process_singleton.h
parentdc609a177259742a89359fbb317d58b622af2f3f (diff)
downloadchromium_src-8637807161aa6a5046e3374750b7f24ae497a823.zip
chromium_src-8637807161aa6a5046e3374750b7f24ae497a823.tar.gz
chromium_src-8637807161aa6a5046e3374750b7f24ae497a823.tar.bz2
Reverting 22144.
still broke valgrind ui_tests. Review URL: http://codereview.chromium.org/159694 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22145 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/process_singleton.h')
-rw-r--r--chrome/browser/process_singleton.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/chrome/browser/process_singleton.h b/chrome/browser/process_singleton.h
index ed572fe..3ef620a 100644
--- a/chrome/browser/process_singleton.h
+++ b/chrome/browser/process_singleton.h
@@ -68,12 +68,6 @@ 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_;
@@ -98,6 +92,9 @@ 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_;