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

Issue 12316093: Serialization library. Useful for sending more complex data in RPCs. (Closed)

Created:
7 years, 10 months ago by bsy
Modified:
7 years, 10 months ago
Reviewers:
sehr
CC:
native-client-reviews_googlegroups.com
Visibility:
Public.

Description

Serialization library. Useful for sending more complex data in RPCs. This CL contains a definition for the SerializationBuffer class, which allows simple numeric types, std::string, and std::vector to be serialized into a byte buffer for transmission via some IPC mechanism or for storage. The SerializationBuffer can be constructed from received data, and the data elements deserialized. BUG= https://code.google.com/p/nativeclient/issues/detail?id=3318 Committed: https://src.chromium.org/viewvc/native_client?view=rev&revision=10909

Patch Set 1 #

Patch Set 2 : disable fp support #

Patch Set 3 : fp support tweaks, compile fixes #

Patch Set 4 : fixed conditional compilation control for fp support #

Total comments: 6

Patch Set 5 : CR feedback, plus NACL_WUR as discussed f2f #

Patch Set 6 : added missing NACL_WUR and CHECKs detected by clang #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1167 lines, -0 lines) Patch
M SConstruct View 1 chunk +1 line, -0 lines 0 comments Download
M build/all.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M site_scons/site_tools/library_deps.py View 1 chunk +3 lines, -0 lines 0 comments Download
A src/shared/serialization/build.scons View 1 chunk +25 lines, -0 lines 0 comments Download
A src/shared/serialization/serialization.h View 1 2 3 4 5 1 chunk +523 lines, -0 lines 0 comments Download
A src/shared/serialization/serialization.cc View 1 2 3 4 1 chunk +314 lines, -0 lines 0 comments Download
A src/shared/serialization/serialization.gyp View 1 2 1 chunk +45 lines, -0 lines 0 comments Download
A src/shared/serialization/serialization_test.cc View 1 2 3 4 5 1 chunk +255 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
bsy
please take a look. also, what is your opinion on just handling generic stl containers ...
7 years, 10 months ago (2013-02-25 23:00:11 UTC) #1
sehr
Nits. Still looking a bit more. https://codereview.chromium.org/12316093/diff/21019/src/shared/serialization/serialization.cc File src/shared/serialization/serialization.cc (right): https://codereview.chromium.org/12316093/diff/21019/src/shared/serialization/serialization.cc#newcode33 src/shared/serialization/serialization.cc:33: } memcpy? https://codereview.chromium.org/12316093/diff/21019/src/shared/serialization/serialization.h ...
7 years, 10 months ago (2013-02-26 00:57:58 UTC) #2
bsy
thanks. will upload after getting & responding to rest of feedback. https://codereview.chromium.org/12316093/diff/21019/src/shared/serialization/serialization.cc File src/shared/serialization/serialization.cc (right): ...
7 years, 10 months ago (2013-02-26 01:05:01 UTC) #3
sehr
LGTM, and thanks for adding this long-overdue part.
7 years, 10 months ago (2013-02-26 16:10:30 UTC) #4
bsy
7 years, 10 months ago (2013-02-26 19:47:53 UTC) #5
Message was sent while issue was closed.
Committed manually as r10909 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698