Chromium Code Reviews| 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..ba5b4f7396dfe832db5b7bc71eaa9470c18940c2 100644 |
| --- a/base/test/ios/wait_util.h |
| +++ b/base/test/ios/wait_util.h |
| @@ -39,9 +39,14 @@ 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 max_delay elapsed. |
|
rohitrao (ping after 24h)
2016/08/02 15:52:37
What is "max_delay" in this context? Should that
Eugene But (OOO till 7-30)
2016/08/02 15:57:28
Yes, this should be |min_delay|. Thanks for catchi
|
| +void SpinRunLoopWithMinDelay(TimeDelta min_delay); |
| + |
| } // namespace ios |
| } // namespace test |
| } // namespace base |