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

Unified Diff: mojo/public/bindings/generators/cpp_templates/struct_serialization.h-template

Issue 65933002: Mojo: Unify the disparate source and header files into 3 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mistaken /n's Created 7 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
Index: mojo/public/bindings/generators/cpp_templates/struct_serialization.h-template
diff --git a/mojo/public/bindings/generators/cpp_templates/struct_serialization.h-template b/mojo/public/bindings/generators/cpp_templates/struct_serialization.h-template
deleted file mode 100644
index 2e3128319f7c4ff15c3a9cd7e5bbc7455faa6adf..0000000000000000000000000000000000000000
--- a/mojo/public/bindings/generators/cpp_templates/struct_serialization.h-template
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright $YEAR 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 $HEADER_GUARD
-#define $HEADER_GUARD
-
-#include "mojo/public/bindings/lib/bindings_serialization.h"
-
-namespace $NAMESPACE {
-class $CLASS;
-}
-
-namespace mojo {
-namespace internal {
-
-template <>
-class ObjectTraits<$FULL_CLASS> {
- public:
- static size_t ComputeSizeOf(const $FULL_CLASS* $NAME);
- static $FULL_CLASS* Clone(const $FULL_CLASS* bar, Buffer* buf);
- static void EncodePointersAndHandles($FULL_CLASS* $NAME,
- std::vector<mojo::Handle>* handles);
- static bool DecodePointersAndHandles($FULL_CLASS* $NAME,
- const mojo::Message& message);
-};
-
-} // namespace internal
-} // namespace mojo
-
-#endif // $HEADER_GUARD

Powered by Google App Engine
This is Rietveld 408576698