diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-05 22:14:25 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-05 22:14:25 +0000 |
commit | 66085319ab6fbc59916871566848ec454b35a453 (patch) | |
tree | 851b6521f75ba18f913645ccec2711a1f1c46dc7 /tools | |
parent | f6b8a8d47aeba7ee52e1b3f1ee93f84972a0348c (diff) | |
download | chromium_src-66085319ab6fbc59916871566848ec454b35a453.zip chromium_src-66085319ab6fbc59916871566848ec454b35a453.tar.gz chromium_src-66085319ab6fbc59916871566848ec454b35a453.tar.bz2 |
Var serialization-related proxy stuff. This allows vars to be sent over IPC
and received with proper refcounting semantics.
The basic design is that the SerializedVar is the thing actually handled by
IPC. Then you use one of the many helper classes depending on whether you are
sending or receiving and what the ownership semantics are. The helper classes,
along with the VarSerialization interface makes the right thing happen for
string conversion & refcounting.
The VarSerialization class is implemented differently on the browser and plugin
side and is where the differences in refcounting & strings are handled. This
allows the rest of the code to be the same on both the plugin and browser side
and allows vars to be sent back and forth.
This patch references some files not in it like the dispatcher and various
tracker classes. This is the cleanest cut I could make for a reasonably
reviewable chunk.
Review URL: http://codereview.chromium.org/4096008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65262 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions