summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_switches.cc
diff options
context:
space:
mode:
authorsky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-24 17:22:43 +0000
committersky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-24 17:22:43 +0000
commit28d9c672a6fcf2d93c487ffb9b855c4d7fe58d22 (patch)
treed054790c8671b83c6bf339836231af818e7fc367 /chrome/common/chrome_switches.cc
parentd3bd376a7f7ed527f387ab8dbff1b8c832a55354 (diff)
downloadchromium_src-28d9c672a6fcf2d93c487ffb9b855c4d7fe58d22.zip
chromium_src-28d9c672a6fcf2d93c487ffb9b855c4d7fe58d22.tar.gz
chromium_src-28d9c672a6fcf2d93c487ffb9b855c4d7fe58d22.tar.bz2
Attempt at fixing flakeyness when running session restore ui tests in
purify. I believe the ui test isn't waiting for the session restore to complete, so that when the ui test does various asserts the state of the browser is wrong. BUG=6495 TEST=covered by tests Review URL: http://codereview.chromium.org/28051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10268 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_switches.cc')
-rw-r--r--chrome/common/chrome_switches.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 39bb988..c142622 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -199,7 +199,9 @@ const wchar_t kOmniBoxPopupCount[] = L"omnibox-popup-count";
const wchar_t kAutomationClientChannelID[] = L"automation-channel";
// Indicates the last session should be restored on startup. This overrides
-// the preferences value and is primarily intended for testing.
+// the preferences value and is primarily intended for testing. The value of
+// this switch is the number of tabs to wait until loaded before
+// 'load completed' is sent to the ui_test.
const wchar_t kRestoreLastSession[] = L"restore-last-session";
// Chrome supports a playback and record mode. Record mode saves *everything*