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

Unified Diff: mojo/public/bindings/generators/cpp_templates/module_internal.h.tmpl

Issue 131033002: Mojo: Simplify object serialization (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix indentation error Created 6 years, 11 months 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/module_internal.h.tmpl
diff --git a/mojo/public/bindings/generators/cpp_templates/module_internal.h.tmpl b/mojo/public/bindings/generators/cpp_templates/module_internal.h.tmpl
index 624d4f5b973683fc349fc7ecfb94e4a94db62186..44f340fda3aff77d7dc855a5ef831c443efe8b56 100644
--- a/mojo/public/bindings/generators/cpp_templates/module_internal.h.tmpl
+++ b/mojo/public/bindings/generators/cpp_templates/module_internal.h.tmpl
@@ -8,7 +8,7 @@
#ifndef {{header_guard}}
#define {{header_guard}}
-#include "mojo/public/bindings/lib/bindings_serialization.h"
+#include "mojo/public/bindings/lib/bindings_internal.h"
namespace {{namespace}} {
@@ -31,15 +31,4 @@ namespace internal {
} // namespace internal
} // namespace {{namespace}}
-namespace mojo {
-namespace internal {
-
-{#--- Serialization traits #}
-{% for struct in structs %}
-{% include "struct_serialization_traits.tmpl" %}
-{%- endfor %}
-
-} // namespace internal
-} // namespace mojo
-
#endif // {{header_guard}}

Powered by Google App Engine
This is Rietveld 408576698