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

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

Issue 1293013002: aura: Require explicit ownership of the Env instance. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 4 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 b59cdd09124d93af8829dab5abf94956ec2629ee..6009e24485cd0103ded4d5d1cfb787a6c7a0e6d6 100644
--- a/content/public/test/unittest_test_suite.h
+++ b/content/public/test/unittest_test_suite.h
@@ -8,6 +8,12 @@
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
+#if defined(USE_AURA)
+namespace aura {
+class Env;
+}
+#endif
+
namespace base {
class TestSuite;
}
@@ -34,6 +40,9 @@ class UnitTestTestSuite {
#if !defined(OS_IOS)
scoped_ptr<TestBlinkWebUnitTestSupport> blink_test_support_;
#endif
+#if defined(USE_AURA)
+ scoped_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