| Index: base/message_loop/message_loop.h
|
| diff --git a/base/message_loop/message_loop.h b/base/message_loop/message_loop.h
|
| index 84e1449f6cf03922e00a0c0fff16428e877dfeaa..e307d365a00e6721bf091def4c8bb89d8bf21224 100644
|
| --- a/base/message_loop/message_loop.h
|
| +++ b/base/message_loop/message_loop.h
|
| @@ -163,6 +163,12 @@ class BASE_EXPORT MessageLoop : public MessagePump::Delegate {
|
| // was successfully registered.
|
| static bool InitMessagePumpForUIFactory(MessagePumpFactory* factory);
|
|
|
| + // Creates the default MessagePump based on |type|. Caller owns return
|
| + // value.
|
| + // TODO(sky): convert this and InitMessagePumpForUIFactory() to return a
|
| + // scoped_ptr.
|
| + static MessagePump* CreateMessagePumpForType(Type type);
|
| +
|
| // A DestructionObserver is notified when the current MessageLoop is being
|
| // destroyed. These observers are notified prior to MessageLoop::current()
|
| // being changed to return NULL. This gives interested parties the chance to
|
|
|