diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-18 05:44:23 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-18 05:44:23 +0000 |
commit | 214832f40d2351a88579d65de1ac6830dc0ed356 (patch) | |
tree | 1a0b18bf4c18a5e22b31ce67a5d43746692b53b8 /ppapi/proxy/ppb_udp_socket_private_proxy.cc | |
parent | 4e7b125c9beb49512e4d895bc1ee462f34f2dd7d (diff) | |
download | chromium_src-214832f40d2351a88579d65de1ac6830dc0ed356.zip chromium_src-214832f40d2351a88579d65de1ac6830dc0ed356.tar.gz chromium_src-214832f40d2351a88579d65de1ac6830dc0ed356.tar.bz2 |
Eliminate some buffer copies in the URLLoader proxy.
Change ReadResponseBody_Ack to be a custom generated message so that the plugin
can read directly from the IPC::Message payload. Copy data directly from the
IPC::Message to current_read_buffer_, and only use buffer_ for when the
IPC::Message has more data than can fit in current_read_buffer_.
Change the sender of ReadResponseBody_Ack to write directly into the
IPC::Message that will be sent.
Modify URLLoader::ReadResponseBody to read from buffer_ even when the size
of buffer_ is relatively small.
R=brettw@chromium.org
Review URL: https://codereview.chromium.org/10915301
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157307 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppb_udp_socket_private_proxy.cc')
0 files changed, 0 insertions, 0 deletions