diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-25 19:40:01 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-25 19:40:01 +0000 |
commit | 7a2b60825bfee6abe4f59b930e9f1e09e40cb1da (patch) | |
tree | dc419a3fd4dddf180cbd1af020cebf4de19ddedb /base/test/test_timeouts.h | |
parent | 8473902467aed029aff0ca4d8b48311e52590381 (diff) | |
download | chromium_src-7a2b60825bfee6abe4f59b930e9f1e09e40cb1da.zip chromium_src-7a2b60825bfee6abe4f59b930e9f1e09e40cb1da.tar.gz chromium_src-7a2b60825bfee6abe4f59b930e9f1e09e40cb1da.tar.bz2 |
Remove obsolete test timeouts and convert callers.
This will make it easier to choose the right timeout.
BUG=none
Review URL: http://codereview.chromium.org/7744031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98273 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/test/test_timeouts.h')
-rw-r--r-- | base/test/test_timeouts.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/base/test/test_timeouts.h b/base/test/test_timeouts.h index 8a5db3f..c4787b92 100644 --- a/base/test/test_timeouts.h +++ b/base/test/test_timeouts.h @@ -43,21 +43,6 @@ class TestTimeouts { return large_test_timeout_ms_; } - // Timeout for a huge test (like running a layout test inside the browser). - // Do not use unless absolutely necessary - try to make the test smaller. - // Do not use multiple times in a single test. - static int huge_test_timeout_ms() { - DCHECK(initialized_); - return large_test_timeout_ms_; - } - - // Timeout to wait for a live operation to complete. Used by tests that access - // external services. - static int live_operation_timeout_ms() { - DCHECK(initialized_); - return action_max_timeout_ms_; - } - private: static bool initialized_; |