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

Issue 649633003: Add Equals() to mojom structs and related types. (Closed)

Created:
6 years, 2 months ago by Aaron Boodman
Modified:
6 years, 2 months ago
Reviewers:
yzshen1
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add Equals() to mojom structs and related types. BUG= Committed: https://crrev.com/6b5d1a9be85123b55109f92268a6bf31157f2b88 Cr-Commit-Position: refs/heads/master@{#299614}

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 15

Patch Set 3 : blah #

Total comments: 2

Patch Set 4 : rebase #

Patch Set 5 : Combine a bunch of template specializations #

Patch Set 6 : reorder #

Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -1 line) Patch
M mojo/edk/mojo_edk.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/public/cpp/bindings/array.h View 2 chunks +13 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/lib/bindings_internal.h View 1 2 3 4 2 chunks +29 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/lib/map_internal.h View 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/cpp/bindings/lib/template_util.h View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/map.h View 1 chunk +18 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/struct_ptr.h View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/tests/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A mojo/public/cpp/bindings/tests/equals_unittest.cc View 1 2 1 chunk +120 lines, -0 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl View 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_definition.tmpl View 1 2 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
Aaron Boodman
6 years, 2 months ago (2014-10-14 21:10:53 UTC) #2
yzshen1
https://codereview.chromium.org/649633003/diff/80001/mojo/public/cpp/bindings/struct_ptr.h File mojo/public/cpp/bindings/struct_ptr.h (right): https://codereview.chromium.org/649633003/diff/80001/mojo/public/cpp/bindings/struct_ptr.h#newcode77 mojo/public/cpp/bindings/struct_ptr.h:77: return ptr_->Equals(*other.ptr_); ptr_ and other.ptr_ may both be null ...
6 years, 2 months ago (2014-10-14 21:47:21 UTC) #6
Aaron Boodman
https://codereview.chromium.org/649633003/diff/80001/mojo/public/cpp/bindings/struct_ptr.h File mojo/public/cpp/bindings/struct_ptr.h (right): https://codereview.chromium.org/649633003/diff/80001/mojo/public/cpp/bindings/struct_ptr.h#newcode77 mojo/public/cpp/bindings/struct_ptr.h:77: return ptr_->Equals(*other.ptr_); On 2014/10/14 21:47:21, yzshen1 wrote: > ptr_ ...
6 years, 2 months ago (2014-10-14 22:30:13 UTC) #7
yzshen1
https://codereview.chromium.org/649633003/diff/80001/mojo/public/cpp/bindings/tests/equals_unittest.cc File mojo/public/cpp/bindings/tests/equals_unittest.cc (right): https://codereview.chromium.org/649633003/diff/80001/mojo/public/cpp/bindings/tests/equals_unittest.cc#newcode1 mojo/public/cpp/bindings/tests/equals_unittest.cc:1: // Copyright 2014 The Chromium Authors. All rights reserved. ...
6 years, 2 months ago (2014-10-14 22:47:40 UTC) #8
Aaron Boodman
I also fixed the duplicate template specializations in bindings_util.h https://codereview.chromium.org/649633003/diff/80001/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl File mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl (right): https://codereview.chromium.org/649633003/diff/80001/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl#newcode24 mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl:24: ...
6 years, 2 months ago (2014-10-14 23:24:57 UTC) #9
yzshen1
The clang format idea is just some random non-blocking suggestion. Lgtm On Oct 14, 2014 ...
6 years, 2 months ago (2014-10-14 23:33:37 UTC) #10
yzshen1
lgtm https://codereview.chromium.org/649633003/diff/80001/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl File mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl (right): https://codereview.chromium.org/649633003/diff/80001/mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl#newcode24 mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl:24: On 2014/10/14 23:24:57, Aaron Boodman wrote: > On ...
6 years, 2 months ago (2014-10-15 00:09:57 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/649633003/160001
6 years, 2 months ago (2014-10-15 00:29:11 UTC) #13
commit-bot: I haz the power
Committed patchset #6 (id:160001)
6 years, 2 months ago (2014-10-15 01:18:15 UTC) #14
commit-bot: I haz the power
6 years, 2 months ago (2014-10-15 01:18:50 UTC) #15
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/6b5d1a9be85123b55109f92268a6bf31157f2b88
Cr-Commit-Position: refs/heads/master@{#299614}

Powered by Google App Engine
This is Rietveld 408576698