Chromium Code Reviews| Index: mojo/public/cpp/application/application_test_base.h |
| diff --git a/mojo/public/cpp/application/application_test_base.h b/mojo/public/cpp/application/application_test_base.h |
| index 04580c76893a5cb1de23a895c9be6ae40ad69a28..c355117e6e5d2887763fb18a26079d2fad3b637f 100644 |
| --- a/mojo/public/cpp/application/application_test_base.h |
| +++ b/mojo/public/cpp/application/application_test_base.h |
| @@ -45,6 +45,11 @@ class ApplicationTestBase : public testing::Test { |
| void SetUp() override; |
| void TearDown() override; |
| + // True by default, which indicates a MessageLoop will automatically be |
| + // created for the application. Tests may override this function to prevent |
| + // a default loop from being created. |
| + virtual bool IsDefaultLoopEnabled(); |
|
sky
2014/12/16 03:47:36
This name is a bit confusing. How about ShouldCrea
DaleCurtis
2014/12/16 19:26:12
Done.
|
| + |
| private: |
| // The application implementation instance, reconstructed for each test. |
| ApplicationImpl* application_impl_; |