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

Unified Diff: ui/aura/test/aura_test_base.h

Issue 2897663002: chromeos: makes it possible for windows to outlive WindowTreeClient (Closed)
Patch Set: cleanup Created 3 years, 7 months 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 | « ui/aura/mus/window_tree_client_unittest.cc ('k') | ui/aura/test/aura_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/aura_test_base.h
diff --git a/ui/aura/test/aura_test_base.h b/ui/aura/test/aura_test_base.h
index 34e9bca46a864613195b04a83e12b47a01e98953..fecf8d252e6cdab66aa58315787a043e8a6a46ab 100644
--- a/ui/aura/test/aura_test_base.h
+++ b/ui/aura/test/aura_test_base.h
@@ -64,6 +64,11 @@ class AuraTestBase : public testing::Test,
// Turns on mus with a test WindowTree. Must be called before SetUp().
void EnableMusWithTestWindowTree();
+ // Deletes the WindowTreeClient now. Normally the WindowTreeClient is deleted
+ // at the right time and there is no need to call this. This is provided for
+ // testing shutdown ordering.
+ void DeleteWindowTreeClient();
+
// Used to configure the backend. This is exposed to make parameterized tests
// easy to write. This *must* be called from SetUp().
void ConfigureBackend(BackendType type);
« no previous file with comments | « ui/aura/mus/window_tree_client_unittest.cc ('k') | ui/aura/test/aura_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698