Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2786)

Unified Diff: base/test/test_timeouts.h

Issue 10808069: Remove old test timeout and process waiting function interfaces. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix nits. Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/process_util_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_timeouts.h
diff --git a/base/test/test_timeouts.h b/base/test/test_timeouts.h
index 6d25e0acfb4bc3f5621f46bf7ba889a9b34a3ceb..0c4587e61e06d5cf7ee4aa7413fa2da7d0da9319 100644
--- a/base/test/test_timeouts.h
+++ b/base/test/test_timeouts.h
@@ -18,33 +18,6 @@ class TestTimeouts {
static void Initialize();
// Timeout for actions that are expected to finish "almost instantly".
- static int tiny_timeout_ms() {
- DCHECK(initialized_);
- return tiny_timeout_ms_;
- }
-
- // Timeout to wait for something to happen. If you are not sure
- // which timeout to use, this is the one you want.
- static int action_timeout_ms() {
- DCHECK(initialized_);
- return action_timeout_ms_;
- }
-
- // Timeout longer than the above, but still suitable to use
- // multiple times in a single test. Use if the timeout above
- // is not sufficient.
- static int action_max_timeout_ms() {
- DCHECK(initialized_);
- return action_max_timeout_ms_;
- }
-
- // Timeout for a large test that may take a few minutes to run.
- static int large_test_timeout_ms() {
- DCHECK(initialized_);
- return large_test_timeout_ms_;
- }
-
- // Timeout for actions that are expected to finish "almost instantly".
static base::TimeDelta tiny_timeout() {
DCHECK(initialized_);
return base::TimeDelta::FromMilliseconds(tiny_timeout_ms_);
« no previous file with comments | « base/process_util_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698