|
Mojo C++ bindings: more consistent Clone() and Equals().
With this change, the Clone() and Equals() methods of structs/unions/maps/arrays call Clone() and Equals() of elements if available, otherwise fall back on copy and == operator of elements.
BUG= 616527
Committed: https://crrev.com/14c4e1dca371579ceef264b8e3272b07c8bb92cb
Cr-Commit-Position: refs/heads/master@{#397717}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+263 lines, -381 lines) |
Patch |
![](/static/closedtriangle.gif) |
M |
mojo/mojo_public.gyp
|
View
|
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
mojo/public/cpp/bindings/BUILD.gn
|
View
|
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
mojo/public/cpp/bindings/array.h
|
View
|
|
4 chunks |
+11 lines, -35 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
mojo/public/cpp/bindings/associated_interface_ptr_info.h
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
mojo/public/cpp/bindings/associated_interface_request.h
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
mojo/public/cpp/bindings/interface_ptr.h
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
mojo/public/cpp/bindings/interface_request.h
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
mojo/public/cpp/bindings/lib/array_internal.h
|
View
|
1
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
mojo/public/cpp/bindings/lib/array_serialization.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
D |
mojo/public/cpp/bindings/lib/map_internal.h
|
View
|
|
1 chunk |
+0 lines, -46 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
mojo/public/cpp/bindings/lib/template_util.h
|
View
|
|
2 chunks |
+50 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
D |
mojo/public/cpp/bindings/lib/value_traits.h
|
View
|
|
1 chunk |
+0 lines, -112 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
mojo/public/cpp/bindings/map.h
|
View
|
1
2
|
4 chunks |
+20 lines, -21 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
mojo/public/cpp/bindings/tests/equals_unittest.cc
|
View
|
|
2 chunks |
+10 lines, -16 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
mojo/public/cpp/bindings/tests/struct_traits_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
mojo/public/cpp/bindings/tests/struct_with_traits_impl.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
mojo/public/cpp/bindings/tests/struct_with_traits_impl.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
mojo/public/cpp/bindings/wtf_array.h
|
View
|
|
3 chunks |
+11 lines, -39 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
mojo/public/cpp/system/handle.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
mojo/public/interfaces/bindings/tests/struct_with_traits.mojom
|
View
|
1
2
3
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
mojo/public/interfaces/bindings/tests/test_unions.mojom
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
mojo/public/tools/bindings/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
mojo/public/tools/bindings/bindings.gyp
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
mojo/public/tools/bindings/generators/cpp_templates/module-internal.h.tmpl
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl
|
View
|
1
2
3
|
3 chunks |
+17 lines, -8 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl
|
View
|
1
2
3
|
1 chunk |
+6 lines, -25 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
A |
mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_template_definition.tmpl
|
View
|
1
2
3
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
mojo/public/tools/bindings/generators/cpp_templates/wrapper_union_class_declaration.tmpl
|
View
|
1
2
3
|
1 chunk |
+12 lines, -3 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
mojo/public/tools/bindings/generators/cpp_templates/wrapper_union_class_definition.tmpl
|
View
|
|
1 chunk |
+0 lines, -40 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
A |
mojo/public/tools/bindings/generators/cpp_templates/wrapper_union_class_template_definition.tmpl
|
View
|
1
2
3
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
mojo/public/tools/bindings/generators/mojom_cpp_generator.py
|
View
|
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
mojo/public/tools/bindings/pylib/mojom/generate/module.py
|
View
|
|
1 chunk |
+0 lines, -25 lines |
0 comments
|
Download
|
Total messages: 10 (3 generated)
|