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

Issue 2604953003: Remove internal uses of mojo::Array and mojo::WTFArray. (Closed)

Created:
3 years, 11 months ago by Sam McNally
Modified:
3 years, 11 months ago
Reviewers:
yzshen1, enne (OOO)
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, cc-bugs_chromium.org, darin (slow to review), chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove internal uses of mojo::Array and mojo::WTFArray. This changes the following to use std::vector/WTF::Vector instead of the wrapper types: - Struct::Serialize()/Deserialize() - Internal storage of NativeStruct BUG=674766 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2604953003 Cr-Commit-Position: refs/heads/master@{#442436} Committed: https://chromium.googlesource.com/chromium/src/+/fd1748672f6e2f79693dc01bb868c8bf9edaa035

Patch Set 1 : #

Total comments: 6

Patch Set 2 : rebase #

Patch Set 3 : #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -31 lines) Patch
M cc/ipc/cc_serialization_perftest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/lib/hash_util.h View 2 chunks +11 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/lib/native_struct.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/lib/serialization.h View 2 chunks +3 lines, -5 lines 0 comments Download
M mojo/public/cpp/bindings/native_struct.h View 2 chunks +4 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/tests/struct_traits_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/cpp/bindings/tests/struct_unittest.cc View 7 chunks +12 lines, -14 lines 0 comments Download
M mojo/public/cpp/bindings/tests/wtf_types_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/wrapper_class_declaration.tmpl View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 58 (47 generated)
Sam McNally
3 years, 11 months ago (2016-12-29 06:34:41 UTC) #29
yzshen1
https://codereview.chromium.org/2604953003/diff/120001/mojo/public/cpp/bindings/lib/hash_util.h File mojo/public/cpp/bindings/lib/hash_util.h (right): https://codereview.chromium.org/2604953003/diff/120001/mojo/public/cpp/bindings/lib/hash_util.h#newcode67 mojo/public/cpp/bindings/lib/hash_util.h:67: struct HashTraits<base::Optional<std::vector<T>>, false> { Does it make sense to ...
3 years, 11 months ago (2017-01-03 19:26:26 UTC) #36
Sam McNally
https://codereview.chromium.org/2604953003/diff/120001/mojo/public/cpp/bindings/lib/hash_util.h File mojo/public/cpp/bindings/lib/hash_util.h (right): https://codereview.chromium.org/2604953003/diff/120001/mojo/public/cpp/bindings/lib/hash_util.h#newcode67 mojo/public/cpp/bindings/lib/hash_util.h:67: struct HashTraits<base::Optional<std::vector<T>>, false> { On 2017/01/03 19:26:26, yzshen1 wrote: ...
3 years, 11 months ago (2017-01-03 23:52:05 UTC) #37
yzshen1
https://codereview.chromium.org/2604953003/diff/120001/mojo/public/cpp/bindings/lib/hash_util.h File mojo/public/cpp/bindings/lib/hash_util.h (right): https://codereview.chromium.org/2604953003/diff/120001/mojo/public/cpp/bindings/lib/hash_util.h#newcode67 mojo/public/cpp/bindings/lib/hash_util.h:67: struct HashTraits<base::Optional<std::vector<T>>, false> { On 2017/01/03 23:52:04, Sam McNally ...
3 years, 11 months ago (2017-01-04 18:05:48 UTC) #42
yzshen1
On 2017/01/04 18:05:48, yzshen1 wrote: > https://codereview.chromium.org/2604953003/diff/120001/mojo/public/cpp/bindings/lib/hash_util.h > File mojo/public/cpp/bindings/lib/hash_util.h (right): > > https://codereview.chromium.org/2604953003/diff/120001/mojo/public/cpp/bindings/lib/hash_util.h#newcode67 > ...
3 years, 11 months ago (2017-01-04 18:06:20 UTC) #43
Sam McNally
https://codereview.chromium.org/2604953003/diff/120001/mojo/public/cpp/bindings/lib/hash_util.h File mojo/public/cpp/bindings/lib/hash_util.h (right): https://codereview.chromium.org/2604953003/diff/120001/mojo/public/cpp/bindings/lib/hash_util.h#newcode67 mojo/public/cpp/bindings/lib/hash_util.h:67: struct HashTraits<base::Optional<std::vector<T>>, false> { On 2017/01/04 18:05:48, yzshen1 wrote: ...
3 years, 11 months ago (2017-01-04 22:58:35 UTC) #44
yzshen1
On 2017/01/04 22:58:35, Sam McNally wrote: > https://codereview.chromium.org/2604953003/diff/120001/mojo/public/cpp/bindings/lib/hash_util.h > File mojo/public/cpp/bindings/lib/hash_util.h (right): > > https://codereview.chromium.org/2604953003/diff/120001/mojo/public/cpp/bindings/lib/hash_util.h#newcode67 ...
3 years, 11 months ago (2017-01-04 23:14:59 UTC) #45
Sam McNally
+enne for //cc/ipc/cc_serialization_perftest.cc
3 years, 11 months ago (2017-01-05 05:55:24 UTC) #47
enne (OOO)
cc lgtm, sorry for delay
3 years, 11 months ago (2017-01-09 19:39:48 UTC) #52
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2604953003/200001
3 years, 11 months ago (2017-01-09 22:22:16 UTC) #55
commit-bot: I haz the power
3 years, 11 months ago (2017-01-10 01:24:31 UTC) #58
Message was sent while issue was closed.
Committed patchset #5 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/fd1748672f6e2f79693dc01bb868...

Powered by Google App Engine
This is Rietveld 408576698