Index: chrome/browser/process_singleton.h |
diff --git a/chrome/browser/process_singleton.h b/chrome/browser/process_singleton.h |
index 439e170b30a9af6b3da3723967b8d65f65dc8836..04759078bcce7d62081ff4b330e8078fbf8a7027 100644 |
--- a/chrome/browser/process_singleton.h |
+++ b/chrome/browser/process_singleton.h |
@@ -84,30 +84,6 @@ class ProcessSingleton : public base::NonThreadSafe { |
// Clear any lock state during shutdown. |
void Cleanup(); |
- // Blocks the dispatch of CopyData messages. foreground_window refers |
- // to the window that should be set to the foreground if a CopyData message |
- // is received while the ProcessSingleton is locked. |
- void Lock(gfx::NativeWindow foreground_window) { |
- DCHECK(CalledOnValidThread()); |
- locked_ = true; |
- foreground_window_ = foreground_window; |
- } |
- |
- // Changes the foreground window without changing the locked state. |
- void SetForegroundWindow(gfx::NativeWindow foreground_window) { |
- DCHECK(CalledOnValidThread()); |
- foreground_window_ = foreground_window; |
- } |
- |
- // Allows the dispatch of CopyData messages and replays the messages which |
- // were received when the ProcessSingleton was locked. |
- void Unlock(); |
- |
- bool locked() { |
- DCHECK(CalledOnValidThread()); |
- return locked_; |
- } |
- |
#if defined(OS_WIN) |
LRESULT WndProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam); |
#endif |
@@ -138,16 +114,12 @@ class ProcessSingleton : public base::NonThreadSafe { |
#endif // defined(OS_LINUX) || defined(OS_OPENBSD) |
private: |
- typedef std::pair<CommandLine::StringVector, |
- base::FilePath> DelayedStartupMessage; |
- |
#if !defined(OS_MACOSX) |
// 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_; |
NotificationCallback notification_callback_; // Handler for notifications. |
@@ -211,10 +183,6 @@ class ProcessSingleton : public base::NonThreadSafe { |
int lock_fd_; |
#endif |
- // If messages are received in the locked state, the corresponding command |
- // lines are saved here to be replayed later. |
- std::vector<DelayedStartupMessage> saved_startup_messages_; |
- |
DISALLOW_COPY_AND_ASSIGN(ProcessSingleton); |
}; |