summaryrefslogtreecommitdiffstats
path: root/mojo/public/cpp/application/application_test_base.h
diff options
context:
space:
mode:
authorDaniel Cheng <dcheng@chromium.org>2014-12-30 14:32:48 -0800
committerDaniel Cheng <dcheng@chromium.org>2014-12-30 22:33:56 +0000
commit0934dff0ed3de5b15deb676d6b6e2fa8c0cbe828 (patch)
tree27752a77555b3a32e9689d4687c1e45e5a3e058d /mojo/public/cpp/application/application_test_base.h
parent39a76697e0fe1769e2ebbcf2c302b02aeedd5ed5 (diff)
downloadchromium_src-0934dff0ed3de5b15deb676d6b6e2fa8c0cbe828.zip
chromium_src-0934dff0ed3de5b15deb676d6b6e2fa8c0cbe828.tar.gz
chromium_src-0934dff0ed3de5b15deb676d6b6e2fa8c0cbe828.tar.bz2
Update mojo sdk to rev cc531b32182099a5a034a99daff35ed5d38a61c8
BUG=none R=jamesr@chromium.org TBR=jbudorick@chromium.org, thestig@chromium.org Review URL: https://codereview.chromium.org/795593004 Cr-Commit-Position: refs/heads/master@{#309785}
Diffstat (limited to 'mojo/public/cpp/application/application_test_base.h')
-rw-r--r--mojo/public/cpp/application/application_test_base.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/mojo/public/cpp/application/application_test_base.h b/mojo/public/cpp/application/application_test_base.h
index 04580c7..70ef9d6 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 ShouldCreateDefaultRunLoop();
+
private:
// The application implementation instance, reconstructed for each test.
ApplicationImpl* application_impl_;