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

Unified Diff: mojo/public/bindings/generators/cpp_templates/struct_serialization_traits

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_traits
diff --git a/mojo/public/bindings/generators/cpp_templates/struct_serialization.h-template b/mojo/public/bindings/generators/cpp_templates/struct_serialization_traits
similarity index 51%
rename from mojo/public/bindings/generators/cpp_templates/struct_serialization.h-template
rename to mojo/public/bindings/generators/cpp_templates/struct_serialization_traits
index 2e3128319f7c4ff15c3a9cd7e5bbc7455faa6adf..475a907d246c7f3bc931329e9e733f3431a41c99 100644
--- a/mojo/public/bindings/generators/cpp_templates/struct_serialization.h-template
+++ b/mojo/public/bindings/generators/cpp_templates/struct_serialization_traits
@@ -1,19 +1,3 @@
-// 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:
@@ -24,8 +8,3 @@ class ObjectTraits<$FULL_CLASS> {
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