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

Unified Diff: cc/test/serialization_test_utils.h

Issue 2494623002: cc: Remove client/engine LayerTreeHostInProcess. (Closed)
Patch Set: .. Created 4 years, 1 month 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/remote_proto_channel_bridge.cc ('k') | cc/test/serialization_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/serialization_test_utils.h
diff --git a/cc/test/serialization_test_utils.h b/cc/test/serialization_test_utils.h
new file mode 100644
index 0000000000000000000000000000000000000000..3150483f76a10e9ca03c455ea93b39c98d018760
--- /dev/null
+++ b/cc/test/serialization_test_utils.h
@@ -0,0 +1,27 @@
+// Copyright 2016 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_SERIALIZATION_TEST_UTILS_H_
+#define CC_TEST_SERIALIZATION_TEST_UTILS_H_
+
+#include "base/macros.h"
+
+namespace cc {
+class CompositorStateDeserializer;
+class Layer;
+class LayerTree;
+
+void VerifySerializedTreesAreIdentical(
+ LayerTree* engine_layer_tree,
+ LayerTree* client_layer_tree,
+ CompositorStateDeserializer* compositor_state_deserializer);
+
+void VerifySerializedLayersAreIdentical(
+ Layer* engine_layer,
+ Layer* client_layer,
+ CompositorStateDeserializer* compositor_state_deserializer);
+
+} // namespace cc
+
+#endif // CC_TEST_SERIALIZATION_TEST_UTILS_H_
« no previous file with comments | « cc/test/remote_proto_channel_bridge.cc ('k') | cc/test/serialization_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698