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

Unified Diff: ash/test/ash_test_helper.h

Issue 2790903002: Makes AshTestImpl::Create create the right impl based on config (Closed)
Patch Set: Created 3 years, 9 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
Index: ash/test/ash_test_helper.h
diff --git a/ash/test/ash_test_helper.h b/ash/test/ash_test_helper.h
index 8d419477de6e6cc3d0412c94a6d2d3f27ef667d7..2a7d2fa4436d81e3e3eb49b804789982c9c83abe 100644
--- a/ash/test/ash_test_helper.h
+++ b/ash/test/ash_test_helper.h
@@ -65,6 +65,9 @@ class AshTestHelper {
explicit AshTestHelper(AshTestEnvironment* ash_test_environment);
~AshTestHelper();
+ // Returns the configuration tests are run in.
msw 2017/03/31 16:27:13 nit: "that tests", optionally mention mus to clari
sky 2017/03/31 17:37:22 Done.
+ static Config config() { return config_; }
+
// Creates the ash::Shell and performs associated initialization. Set
// |start_session| to true if the user should log in before the test is run.
void SetUp(bool start_session);
« ash/test/BUILD.gn ('K') | « ash/test/BUILD.gn ('k') | ash/test/ash_test_impl_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698