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

Unified Diff: mash/test/mash_test_suite.h

Issue 2752303002: views/mus: Install a mus-friend ContextFactory for tests. (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
« no previous file with comments | « cc/test/fake_compositor_frame_sink.cc ('k') | mash/test/mash_test_suite.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/test/mash_test_suite.h
diff --git a/mash/test/mash_test_suite.h b/mash/test/mash_test_suite.h
index 8bfa7bd5db82633e916bc1dafe3b7762976cbcd9..719958ad5721593a80c1429a4d530bf13d3a65eb 100644
--- a/mash/test/mash_test_suite.h
+++ b/mash/test/mash_test_suite.h
@@ -15,11 +15,13 @@ namespace aura {
class Env;
}
+namespace ui {
+class FakeContextFactory;
+}
+
namespace mash {
namespace test {
-class TestContextFactory;
-
class MashTestSuite : public base::TestSuite {
public:
MashTestSuite(int argc, char** argv);
@@ -33,7 +35,7 @@ class MashTestSuite : public base::TestSuite {
private:
base::TestDiscardableMemoryAllocator discardable_memory_allocator_;
std::unique_ptr<aura::Env> env_;
- std::unique_ptr<TestContextFactory> compositor_context_factory_;
+ std::unique_ptr<ui::FakeContextFactory> context_factory_;
DISALLOW_COPY_AND_ASSIGN(MashTestSuite);
};
« no previous file with comments | « cc/test/fake_compositor_frame_sink.cc ('k') | mash/test/mash_test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698