|
Mojo: Simplify object serialization
Eliminate ObjectTraits<T> classes in favor of putting these methods directly on
the generated *_Data classes. ObjectTraits<T> was added to hide these methods
from public classes, but now that *_Data classes are internal, there is no
longer any need for ObjectTraits<T>.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244071
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+238 lines, -336 lines) |
Patch |
|
M |
mojo/public/bindings/generators/cpp_templates/interface_definition.tmpl
|
View
|
|
4 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
mojo/public/bindings/generators/cpp_templates/module.cc.tmpl
|
View
|
|
3 chunks |
+6 lines, -24 lines |
0 comments
|
Download
|
|
M |
mojo/public/bindings/generators/cpp_templates/module_internal.h.tmpl
|
View
|
|
2 chunks |
+1 line, -12 lines |
0 comments
|
Download
|
|
M |
mojo/public/bindings/generators/cpp_templates/params_definition.tmpl
|
View
|
|
1 chunk |
+16 lines, -2 lines |
0 comments
|
Download
|
|
D |
mojo/public/bindings/generators/cpp_templates/params_serialization.tmpl
|
View
|
|
1 chunk |
+0 lines, -25 lines |
0 comments
|
Download
|
|
M |
mojo/public/bindings/generators/cpp_templates/struct_declaration.tmpl
|
View
|
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
mojo/public/bindings/generators/cpp_templates/struct_definition.tmpl
|
View
|
|
2 chunks |
+43 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/public/bindings/generators/cpp_templates/struct_macros.tmpl
|
View
|
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
|
D |
mojo/public/bindings/generators/cpp_templates/struct_serialization_definition.tmpl
|
View
|
|
1 chunk |
+0 lines, -51 lines |
0 comments
|
Download
|
|
D |
mojo/public/bindings/generators/cpp_templates/struct_serialization_traits.tmpl
|
View
|
|
1 chunk |
+0 lines, -14 lines |
0 comments
|
Download
|
|
M |
mojo/public/bindings/lib/array_internal.h
|
View
|
1
|
3 chunks |
+126 lines, -2 lines |
0 comments
|
Download
|
|
M |
mojo/public/bindings/lib/array_internal.cc
|
View
|
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/public/bindings/lib/bindings_serialization.h
|
View
|
|
3 chunks |
+3 lines, -166 lines |
0 comments
|
Download
|
|
M |
mojo/public/bindings/lib/bindings_serialization.cc
|
View
|
|
2 chunks |
+2 lines, -21 lines |
0 comments
|
Download
|
|
M |
mojo/public/bindings/mojom_bindings_generator.gypi
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|