diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-14 20:33:01 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-14 20:33:01 +0000 |
commit | ad834d2e31e1e7aece26910c12329535d1f2b6e0 (patch) | |
tree | 2ecb74b53ef032411a15851c681930fc1c45888e /chrome/test/in_process_browser_test.h | |
parent | 8bb7d838a762c049a046a87c119a2724a98a69ae (diff) | |
download | chromium_src-ad834d2e31e1e7aece26910c12329535d1f2b6e0.zip chromium_src-ad834d2e31e1e7aece26910c12329535d1f2b6e0.tar.gz chromium_src-ad834d2e31e1e7aece26910c12329535d1f2b6e0.tar.bz2 |
Revert 59409 - GTTF: Move browser_tests test launcher timeout to chrome/test/test_timeouts
BUG=none
TEST=browser_tests
Review URL: http://codereview.chromium.org/3327023
TBR=phajdan.jr@chromium.org
Review URL: http://codereview.chromium.org/3440002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59426 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/in_process_browser_test.h')
-rw-r--r-- | chrome/test/in_process_browser_test.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/test/in_process_browser_test.h b/chrome/test/in_process_browser_test.h index 347d19c..0af1877 100644 --- a/chrome/test/in_process_browser_test.h +++ b/chrome/test/in_process_browser_test.h @@ -95,6 +95,12 @@ class InProcessBrowserTest : public testing::Test { // main thread before the browser is torn down. virtual void CleanUpOnMainThread() {} + // Invoked when a test is not finishing in a timely manner. + void TimedOut(); + + // Sets Initial Timeout value. + void SetInitialTimeoutInMS(int initial_timeout); + // Returns the testing server. Guaranteed to be non-NULL. net::TestServer* test_server() { return &test_server_; } @@ -152,6 +158,9 @@ class InProcessBrowserTest : public testing::Test { // Saved to restore the value of RenderProcessHost::run_renderer_in_process. bool original_single_process_; + // Initial timeout value in ms. + int initial_timeout_; + // Host resolver to use during the test. scoped_refptr<net::RuleBasedHostResolverProc> host_resolver_; |