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

Unified Diff: base/test/ios/wait_util.h

Issue 2194283002: [ios] Use SpinRunLoopWithMinDelay in MetaTagsTestCase. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed review comment Created 4 years, 4 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 | « no previous file | base/test/ios/wait_util.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/ios/wait_util.h
diff --git a/base/test/ios/wait_util.h b/base/test/ios/wait_util.h
index 01c6fe72bb733c927e06e256986119ab3592e90f..e32511ac5d1e487bb13b4f3f5492d64754de72df 100644
--- a/base/test/ios/wait_util.h
+++ b/base/test/ios/wait_util.h
@@ -39,9 +39,15 @@ void WaitUntilCondition(ConditionBlock condition,
void WaitUntilCondition(ConditionBlock condition);
// Lets the run loop of the current thread process other messages
-// within the given maximum delay.
+// within the given maximum delay. This method may return before max_delay
+// elapsed.
void SpinRunLoopWithMaxDelay(TimeDelta max_delay);
+// Lets the run loop of the current thread process other messages
+// within the given minimum delay. This method returns after |min_delay|
+// elapsed.
+void SpinRunLoopWithMinDelay(TimeDelta min_delay);
+
} // namespace ios
} // namespace test
} // namespace base
« no previous file with comments | « no previous file | base/test/ios/wait_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698