| Index: base/message_loop/message_loop.h
|
| diff --git a/base/message_loop/message_loop.h b/base/message_loop/message_loop.h
|
| index 6f71a859930b506202e98af16d560188bd535e40..f22c9044d1b9d30c4d9ff0b601eacd8aa4b765b2 100644
|
| --- a/base/message_loop/message_loop.h
|
| +++ b/base/message_loop/message_loop.h
|
| @@ -109,10 +109,19 @@ class BASE_EXPORT MessageLoop : public MessagePump::Delegate {
|
| // This type of ML also supports asynchronous IO. See also
|
| // MessageLoopForIO.
|
| //
|
| + // TYPE_JAVA
|
| + // This type of ML is backed by a Java message handler which is responsible
|
| + // for running the tasks added to the ML. This is only for use on Android.
|
| + // TYPE_JAVA behaves in essence like TYPE_UI, except during construction
|
| + // where it does not use the main thread specific pump factory.
|
| + //
|
| enum Type {
|
| TYPE_DEFAULT,
|
| TYPE_UI,
|
| - TYPE_IO
|
| + TYPE_IO,
|
| +#if defined(OS_ANDROID)
|
| + TYPE_JAVA,
|
| +#endif // defined(OS_ANDROID)
|
| };
|
|
|
| // Normally, it is not necessary to instantiate a MessageLoop. Instead, it
|
|
|