| Index: base/message_loop.h
|
| diff --git a/base/message_loop.h b/base/message_loop.h
|
| index 227bfe3d8a1cb3b06d55bb05f13fed12825659c1..5a7f7e02f1619c10dc3c9938fe85a8a918ece60c 100644
|
| --- a/base/message_loop.h
|
| +++ b/base/message_loop.h
|
| @@ -259,6 +259,10 @@ class BASE_EXPORT MessageLoop : public base::MessagePump::Delegate {
|
| // arbitrary MessageLoop to QuitWhenIdle.
|
| static base::Closure QuitWhenIdleClosure();
|
|
|
| + // Returns true if this loop is |type|. This allows subclasses (especially
|
| + // those in tests) to specialize how they are identified.
|
| + virtual bool IsType(Type type) const;
|
| +
|
| // Returns the type passed to the constructor.
|
| Type type() const { return type_; }
|
|
|
|
|