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

Unified Diff: ash/test/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 | « ash/test/ash_interactive_ui_test_base.cc ('k') | ash/test/test_suite.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_suite.h
diff --git a/ash/test/test_suite.h b/ash/test/test_suite.h
index 9540f835c9837e4cca7762a64e9b38b81b4b96c3..5f869f39cfa673ea3f3e1438c2ff7319208236ce 100644
--- a/ash/test/test_suite.h
+++ b/ash/test/test_suite.h
@@ -15,6 +15,10 @@
#include "base/win/scoped_com_initializer.h"
#endif
+namespace aura {
+class Env;
+}
+
namespace ash {
namespace test {
@@ -32,6 +36,7 @@ class AuraShellTestSuite : public base::TestSuite {
#if defined(OS_WIN)
std::unique_ptr<base::win::ScopedCOMInitializer> com_initializer_;
#endif
+ std::unique_ptr<aura::Env> env_;
base::TestDiscardableMemoryAllocator discardable_memory_allocator_;
};
« no previous file with comments | « ash/test/ash_interactive_ui_test_base.cc ('k') | ash/test/test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698