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

Unified Diff: cc/trees/layer_tree_host_unittest_serialization.cc

Issue 1519293002: Add support for (de)serializing LayerTreeHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added framework for (de)serializing 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
« cc/proto/layer_tree_host.proto ('K') | « cc/trees/layer_tree_host.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_unittest_serialization.cc
diff --git a/cc/trees/layer_tree_host_unittest_serialization.cc b/cc/trees/layer_tree_host_unittest_serialization.cc
new file mode 100644
index 0000000000000000000000000000000000000000..0238f94da1e64864cbe509e6ff6e6f18f8ccd870
--- /dev/null
+++ b/cc/trees/layer_tree_host_unittest_serialization.cc
@@ -0,0 +1,31 @@
+// Copyright 2015 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.
+
+#include "cc/trees/layer_tree_host.h"
+
+#include "cc/test/layer_tree_test.h"
+#include "testing/gtest/include/gtest/gtest.h"
+
+namespace cc {
+namespace {
+
+// These tests deal with serialization.
+class LayerTreeHostSerializationTest : public LayerTreeTest {
+ protected:
+ void SetupTree() override { LayerTreeTest::SetupTree(); }
+};
+
+class LayerTreeHostDumbSerializationTest
+ : public LayerTreeHostSerializationTest {
+ public:
+ void BeginTest() override {}
+ void AfterTest() override {}
+};
+
+TEST_F(LayerTreeHostDumbSerializationTest, FooBar) {
+ EXPECT_TRUE(true);
+}
+
+} // namespace
+} // namespace cc
« cc/proto/layer_tree_host.proto ('K') | « cc/trees/layer_tree_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698