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

Unified Diff: content/public/test/unittest_test_suite.h

Issue 1871253002: aura: Require explicit ownership of the Env instance. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tot.merge Created 4 years, 8 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 | « content/browser/browser_main_loop.cc ('k') | content/public/test/unittest_test_suite.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/unittest_test_suite.h
diff --git a/content/public/test/unittest_test_suite.h b/content/public/test/unittest_test_suite.h
index a6be2fa60836b7d4a5a1d4d2a0ea83e39ce3a106..1b97eb9bceb5fdcc85a131bb30003205d622f111 100644
--- a/content/public/test/unittest_test_suite.h
+++ b/content/public/test/unittest_test_suite.h
@@ -10,6 +10,12 @@
#include "base/macros.h"
#include "build/build_config.h"
+#if defined(USE_AURA)
+namespace aura {
+class Env;
+}
+#endif
+
namespace base {
class TestSuite;
}
@@ -34,6 +40,9 @@ class UnitTestTestSuite {
std::unique_ptr<base::TestSuite> test_suite_;
std::unique_ptr<TestBlinkWebUnitTestSupport> blink_test_support_;
+#if defined(USE_AURA)
+ std::unique_ptr<aura::Env> env_;
+#endif
DISALLOW_COPY_AND_ASSIGN(UnitTestTestSuite);
};
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | content/public/test/unittest_test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698