| Index: base/run_loop.h
|
| diff --git a/base/run_loop.h b/base/run_loop.h
|
| index 6fc0ed27908b6a0d263459317734e4d3a2bb64aa..16b91dd911d0aa8b91a12f20d00a7884013e3217 100644
|
| --- a/base/run_loop.h
|
| +++ b/base/run_loop.h
|
| @@ -16,6 +16,10 @@ namespace base {
|
| class MessagePumpForUI;
|
| #endif
|
|
|
| +#if defined(OS_IOS)
|
| +class MessagePumpUIApplication;
|
| +#endif
|
| +
|
| // Helper class to Run a nested MessageLoop. Please do not use nested
|
| // MessageLoops in production code! If you must, use this class instead of
|
| // calling MessageLoop::Run/Quit directly. RunLoop::Run can only be called once
|
| @@ -77,6 +81,12 @@ class BASE_EXPORT RunLoop {
|
| friend class base::MessagePumpForUI;
|
| #endif
|
|
|
| +#if defined(OS_IOS)
|
| + // iOS doesn't support the blocking MessageLoop::Run, so it calls
|
| + // BeforeRun directly.
|
| + friend class base::MessagePumpUIApplication;
|
| +#endif
|
| +
|
| // Return false to abort the Run.
|
| bool BeforeRun();
|
| void AfterRun();
|
|
|