summaryrefslogtreecommitdiffstats
path: root/chrome/browser/process_singleton.h
diff options
context:
space:
mode:
authormarja@chromium.org <marja@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-15 10:44:23 +0000
committermarja@chromium.org <marja@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-15 10:44:23 +0000
commit3fa4c56565680f375ab08c0cdc682826bb43e924 (patch)
tree02d0837128a35d73ccd98c369bf5f553008719c6 /chrome/browser/process_singleton.h
parentb2c5460ef9ff1c85df3baaeb4dca032a8892e20a (diff)
downloadchromium_src-3fa4c56565680f375ab08c0cdc682826bb43e924.zip
chromium_src-3fa4c56565680f375ab08c0cdc682826bb43e924.tar.gz
chromium_src-3fa4c56565680f375ab08c0cdc682826bb43e924.tar.bz2
Revert 122065 - Fix attempt for the double-SessionRestoreImpl problem.
The problem is that BrowserInit::ProcessCommandLineAlreadyRunning gets called too early, before launching the first profile during normal startup. BUG=111238 TEST=NONE Review URL: http://codereview.chromium.org/9365049 TBR=marja@chromium.org Review URL: https://chromiumcodereview.appspot.com/9402007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122077 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/process_singleton.h')
-rw-r--r--chrome/browser/process_singleton.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/process_singleton.h b/chrome/browser/process_singleton.h
index 34d3dbd..a3b6ca1 100644
--- a/chrome/browser/process_singleton.h
+++ b/chrome/browser/process_singleton.h
@@ -106,12 +106,6 @@ class ProcessSingleton : public base::NonThreadSafe {
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.
void Unlock() {
DCHECK(CalledOnValidThread());