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

Issue 2013433002: [Mojo] Add [Native] type traits for base::Values (Closed)

Created:
4 years, 7 months ago by Devlin
Modified:
4 years, 7 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Mojo] Add [Native] type traits for base::Values Mojo struct traits aren't quite ready for something like base::Value, but adding [native] traits will allow base::DictionaryValue and base::ListValue to be passed in mojo messages. BUG=614410 Committed: https://crrev.com/a6458a0c45099522f647b63337f94ea4e98c9f94 Cr-Commit-Position: refs/heads/master@{#395701}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Yuzhu's #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -4 lines) Patch
M mojo/common/common_custom_types.mojom View 1 chunk +6 lines, -0 lines 0 comments Download
M mojo/common/common_custom_types.typemap View 1 1 chunk +9 lines, -2 lines 0 comments Download
M mojo/common/common_custom_types_unittest.cc View 1 4 chunks +87 lines, -2 lines 0 comments Download
M mojo/common/test_common_custom_types.mojom View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (8 generated)
Devlin
Per Yuzhu's suggestion, starting with a [native] type traits version leveraging the existing IPC pickling. ...
4 years, 7 months ago (2016-05-24 17:31:49 UTC) #4
Ken Rockot(use gerrit already)
Cool, lgtm
4 years, 7 months ago (2016-05-24 17:39:02 UTC) #5
yzshen1
https://codereview.chromium.org/2013433002/diff/20001/mojo/common/common_custom_types.typemap File mojo/common/common_custom_types.typemap (right): https://codereview.chromium.org/2013433002/diff/20001/mojo/common/common_custom_types.typemap#newcode6 mojo/common/common_custom_types.typemap:6: public_headers = [ "//base/files/file_path.h", "//base/values.h" ] Please put each ...
4 years, 7 months ago (2016-05-24 17:54:41 UTC) #6
Devlin
https://codereview.chromium.org/2013433002/diff/20001/mojo/common/common_custom_types.typemap File mojo/common/common_custom_types.typemap (right): https://codereview.chromium.org/2013433002/diff/20001/mojo/common/common_custom_types.typemap#newcode6 mojo/common/common_custom_types.typemap:6: public_headers = [ "//base/files/file_path.h", "//base/values.h" ] On 2016/05/24 17:54:41, ...
4 years, 7 months ago (2016-05-24 18:05:57 UTC) #8
yzshen1
lgtm
4 years, 7 months ago (2016-05-24 18:09:03 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2013433002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2013433002/60001
4 years, 7 months ago (2016-05-24 18:10:29 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:60001)
4 years, 7 months ago (2016-05-24 21:34:10 UTC) #14
commit-bot: I haz the power
4 years, 7 months ago (2016-05-24 21:35:38 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a6458a0c45099522f647b63337f94ea4e98c9f94
Cr-Commit-Position: refs/heads/master@{#395701}

Powered by Google App Engine
This is Rietveld 408576698