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

Issue 2474783004: [ABANDONED] Make it possible to send unique_ptr<Value> over IPC/Mojo. (Closed)

Created:
4 years, 1 month ago by Julia Tuttle
Modified:
4 years, 1 month ago
Reviewers:
Tom Sepez, yzshen, yzshen1
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, darin (slow to review)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make it possible to send unique_ptr<Value> over IPC/Mojo. I will need this for Reporting, which needs to accept "any valid JSON" as a parameter to a method exported over Mojo. BUG=

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -0 lines) Patch
M ipc/ipc_message_utils.h View 1 chunk +11 lines, -0 lines 1 comment Download
M ipc/ipc_message_utils.cc View 2 chunks +46 lines, -0 lines 1 comment Download
M mojo/common/common_custom_types.mojom View 1 chunk +3 lines, -0 lines 0 comments Download
M mojo/common/common_custom_types.typemap View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
Julia Tuttle
PTAL, tsepez.
4 years, 1 month ago (2016-11-03 20:29:57 UTC) #3
Tom Sepez
On 2016/11/03 20:29:57, Julia Tuttle wrote: > PTAL, tsepez. We've shied away from this in ...
4 years, 1 month ago (2016-11-03 20:50:37 UTC) #4
Tom Sepez
I take it back, looks like someone has already done this however https://codereview.chromium.org/2474783004/diff/1/ipc/ipc_message_utils.h File ipc/ipc_message_utils.h ...
4 years, 1 month ago (2016-11-03 20:54:51 UTC) #5
Tom Sepez
+yzshen - surprised we don't already have a base::Value in some other .mojom.
4 years, 1 month ago (2016-11-03 20:59:59 UTC) #7
Julia Tuttle
On 2016/11/03 20:54:51, Tom Sepez wrote: > I take it back, looks like someone has ...
4 years, 1 month ago (2016-11-03 21:01:38 UTC) #8
Julia Tuttle
On 2016/11/03 20:50:37, Tom Sepez wrote: > On 2016/11/03 20:29:57, Julia Tuttle wrote: > > ...
4 years, 1 month ago (2016-11-03 21:03:24 UTC) #9
Tom Sepez
On 2016/11/03 21:03:24, Julia Tuttle wrote: > On 2016/11/03 20:50:37, Tom Sepez wrote: > > ...
4 years, 1 month ago (2016-11-03 21:53:21 UTC) #10
yzshen1
As Tom said, usually we use a ListValue as container and pass that. The code ...
4 years, 1 month ago (2016-11-03 21:59:24 UTC) #12
Tom Sepez
On 2016/11/03 21:59:24, yzshen1 wrote: > As Tom said, usually we use a ListValue as ...
4 years, 1 month ago (2016-11-03 22:04:05 UTC) #13
Julia Tuttle
4 years, 1 month ago (2016-11-03 22:42:37 UTC) #14
Alright, sounds like the wrapper trick is simpler. I'll do that instead.

Powered by Google App Engine
This is Rietveld 408576698