Skip to content

Commit

Permalink
Reverting 22144.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
suzhe@chromium.org committed Jul 31, 2009
1 parent dc609a1 commit 8637807
Show file tree
Hide file tree
Showing 5 changed files with 94 additions and 442 deletions.
9 changes: 3 additions & 6 deletions chrome/browser/process_singleton.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_;

Expand All @@ -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_;

Expand Down
Loading

0 comments on commit 8637807

Please sign in to comment.