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

Issue 115491: Add IPC serialization for DictionaryValue, with unit tests. (Closed)

Created:
11 years, 7 months ago by Matt Perry
Modified:
9 years, 7 months ago
Reviewers:
tony, cpu_(ooo_6.6-7.5)
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Add IPC serialization for DictionaryValue and ListValue, with unit tests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=16562

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 9

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+300 lines, -1 line) Patch
M chrome/common/ipc_message_unittest.cc View 1 2 3 2 chunks +58 lines, -1 line 0 comments Download
M chrome/common/ipc_message_utils.h View 1 2 3 2 chunks +18 lines, -0 lines 0 comments Download
M chrome/common/ipc_message_utils.cc View 1 2 3 4 3 chunks +224 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Matt Perry
11 years, 7 months ago (2009-05-18 23:16:03 UTC) #1
Matt Perry
Actually, hold off on this review. I found out I can't use DictionaryValue as a ...
11 years, 7 months ago (2009-05-19 02:15:03 UTC) #2
Matt Perry
OK, this is ready for a look. I'm using linked_ptr to hold the json values ...
11 years, 7 months ago (2009-05-19 20:09:57 UTC) #3
tony
Drive by question: Is serializing/deserializing to json too slow?
11 years, 7 months ago (2009-05-19 21:47:27 UTC) #4
tony
http://codereview.chromium.org/115491/diff/1014/8 File chrome/common/ipc_message_utils.cc (right): http://codereview.chromium.org/115491/diff/1014/8#newcode270 Line 270: WriteValue(m, subval); Since this is recursive, you need ...
11 years, 7 months ago (2009-05-19 22:06:55 UTC) #5
cpu_(ooo_6.6-7.5)
http://codereview.chromium.org/115491/diff/1014/8 File chrome/common/ipc_message_utils.cc (right): http://codereview.chromium.org/115491/diff/1014/8#newcode343 Line 343: *value = val.release(); so when do we call ...
11 years, 7 months ago (2009-05-19 23:35:40 UTC) #6
Matt Perry
http://codereview.chromium.org/115491/diff/1014/8 File chrome/common/ipc_message_utils.cc (right): http://codereview.chromium.org/115491/diff/1014/8#newcode343 Line 343: *value = val.release(); On 2009/05/19 23:35:40, cpu wrote: ...
11 years, 7 months ago (2009-05-19 23:46:00 UTC) #7
cpu_(ooo_6.6-7.5)
Ignore the NOTREACHED then. LGTM On 2009/05/19 23:46:00, Matt Perry wrote: > http://codereview.chromium.org/115491/diff/1014/8 > File ...
11 years, 7 months ago (2009-05-20 00:20:31 UTC) #8
Matt Perry
I uploaded a new snapshot to get rid of the linked_ptr usage (requires http://codereview.chromium.org/112042 ). ...
11 years, 7 months ago (2009-05-20 19:58:13 UTC) #9
tony
LGTM.
11 years, 7 months ago (2009-05-20 21:01:08 UTC) #10
cpu_(ooo_6.6-7.5)
11 years, 7 months ago (2009-05-20 21:49:17 UTC) #11
LGTM

On 2009/05/20 21:01:08, tony wrote:
> LGTM.

Powered by Google App Engine
This is Rietveld 408576698