| Index: base/test/ios/wait_util.mm
|
| diff --git a/base/test/ios/wait_util.mm b/base/test/ios/wait_util.mm
|
| index c69b692eff168eda7f90ae45e09cbc1bf344a025..05fc5147f9b6df5c931dc8944e96cf72c69d0917 100644
|
| --- a/base/test/ios/wait_util.mm
|
| +++ b/base/test/ios/wait_util.mm
|
| @@ -57,6 +57,13 @@ void SpinRunLoopWithMaxDelay(TimeDelta max_delay) {
|
| beforeDate:beforeDate];
|
| }
|
|
|
| +void SpinRunLoopWithMinDelay(TimeDelta min_delay) {
|
| + ElapsedTimer timer;
|
| + while (timer.Elapsed() < min_delay) {
|
| + SpinRunLoopWithMaxDelay(base::TimeDelta::FromMilliseconds(10));
|
| + }
|
| +}
|
| +
|
| } // namespace ios
|
| } // namespace test
|
| } // namespace base
|
|
|