Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: mojo/public/cpp/application/application_test_base.h

Issue 795593004: Update mojo sdk to rev cc531b32182099a5a034a99daff35ed5d38a61c8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More workarounds for MSVC Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/c/test_support/test_support.h ('k') | mojo/public/cpp/application/lib/application_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..70ef9d612554ca979fefecb4717ae90b2c660558 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_;
« no previous file with comments | « mojo/public/c/test_support/test_support.h ('k') | mojo/public/cpp/application/lib/application_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698