diff options
author | joshia@google.com <joshia@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-10 18:32:44 +0000 |
---|---|---|
committer | joshia@google.com <joshia@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-10 18:32:44 +0000 |
commit | 6552d203e8c2507b46f6216db84e92b6391e9506 (patch) | |
tree | 2e9fcd266a10df1c071a8ebb787eaae665d9a93b /third_party | |
parent | cdce139e4aac3d2f1e4b2f41f6fc4d77779b2b7f (diff) | |
download | chromium_src-6552d203e8c2507b46f6216db84e92b6391e9506.zip chromium_src-6552d203e8c2507b46f6216db84e92b6391e9506.tar.gz chromium_src-6552d203e8c2507b46f6216db84e92b6391e9506.tar.bz2 |
Add a support to NPN_PostUrl[Notify] using files
Post data to be uploaded from a file. This can be handled in two ways.
1. Read entire file and send the contents as if it was a post data
specified in the argument
2. Send just the file details and read them in the browser at the
time of sending the request.
Approach 2 is more efficient but complicated. Approach 1 has a major
drawback of sending potentially large data over two IPC hops.
In a way 'large data over IPC' problem exists as it is in case of
plugin giving the data directly instead of in a file. Currently we
are going with the approach 1 to get the feature working. We can
optimize this later with approach 2.
BUG=629
Review URL: http://codereview.chromium.org/6548
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3226 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
0 files changed, 0 insertions, 0 deletions