diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-29 07:04:35 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-29 07:04:35 +0000 |
commit | ea392a6705010fe7d2ceec3980bf5df39aaf2f82 (patch) | |
tree | 36d54897f7daae79295620ba0eedfe527fdf20f2 /chrome/browser/process_singleton.h | |
parent | 278f81c31b6e9ed5b87a826804426dea3dc4d5d7 (diff) | |
download | chromium_src-ea392a6705010fe7d2ceec3980bf5df39aaf2f82.zip chromium_src-ea392a6705010fe7d2ceec3980bf5df39aaf2f82.tar.gz chromium_src-ea392a6705010fe7d2ceec3980bf5df39aaf2f82.tar.bz2 |
Reverting 21943.
Broke valgrind ui_tests
Review URL: http://codereview.chromium.org/160320
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21945 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/process_singleton.h')
-rw-r--r-- | chrome/browser/process_singleton.h | 9 |
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_; |