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

Unified Diff: cc/test/cc_test_suite.h

Issue 1531403002: Revert "Delete CC." (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years 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/begin_frame_args_test.cc ('k') | cc/test/cc_test_suite.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/cc_test_suite.h
diff --git a/cc/test/cc_test_suite.h b/cc/test/cc_test_suite.h
new file mode 100644
index 0000000000000000000000000000000000000000..d2ad2b84a39ce1887ef9804a9bb26c07fdb2393c
--- /dev/null
+++ b/cc/test/cc_test_suite.h
@@ -0,0 +1,36 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CC_TEST_CC_TEST_SUITE_H_
+#define CC_TEST_CC_TEST_SUITE_H_
+
+#include "base/macros.h"
+#include "base/memory/scoped_ptr.h"
+#include "base/test/test_suite.h"
+
+namespace base {
+class MessageLoop;
+}
+
+namespace cc {
+
+class CCTestSuite : public base::TestSuite {
+ public:
+ CCTestSuite(int argc, char** argv);
+ ~CCTestSuite() override;
+
+ protected:
+ // Overridden from base::TestSuite:
+ void Initialize() override;
+ void Shutdown() override;
+
+ private:
+ scoped_ptr<base::MessageLoop> message_loop_;
+
+ DISALLOW_COPY_AND_ASSIGN(CCTestSuite);
+};
+
+} // namespace cc
+
+#endif // CC_TEST_CC_TEST_SUITE_H_
« no previous file with comments | « cc/test/begin_frame_args_test.cc ('k') | cc/test/cc_test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698