diff options
author | stoyan@chromium.org <stoyan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-01 16:33:37 +0000 |
---|---|---|
committer | stoyan@chromium.org <stoyan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-01 16:33:37 +0000 |
commit | 606334078cffc3385560da493c7882a3e849bc86 (patch) | |
tree | 2fe64dd1f55bab598e73f16135b5f8e1671138c0 /chrome_frame/plugin_url_request.cc | |
parent | 1bf71ed8bf7b58f63101049a85e1d881802aa500 (diff) | |
download | chromium_src-606334078cffc3385560da493c7882a3e849bc86.zip chromium_src-606334078cffc3385560da493c7882a3e849bc86.tar.gz chromium_src-606334078cffc3385560da493c7882a3e849bc86.tar.bz2 |
Do not write non-toplevel POST response into the WINInet cache.
BUG=55918
Review URL: http://codereview.chromium.org/3595004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61184 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/plugin_url_request.cc')
-rw-r--r-- | chrome_frame/plugin_url_request.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome_frame/plugin_url_request.cc b/chrome_frame/plugin_url_request.cc index ac746c6..ad223a9 100644 --- a/chrome_frame/plugin_url_request.cc +++ b/chrome_frame/plugin_url_request.cc @@ -11,7 +11,8 @@ PluginUrlRequest::PluginUrlRequest() : delegate_(NULL), remote_request_id_(-1), post_data_len_(0), - enable_frame_busting_(false) { + enable_frame_busting_(false), + resource_type_(ResourceType::MAIN_FRAME) { } PluginUrlRequest::~PluginUrlRequest() { @@ -20,13 +21,15 @@ PluginUrlRequest::~PluginUrlRequest() { bool PluginUrlRequest::Initialize(PluginUrlRequestDelegate* delegate, int remote_request_id, const std::string& url, const std::string& method, const std::string& referrer, const std::string& extra_headers, - net::UploadData* upload_data, bool enable_frame_busting) { + net::UploadData* upload_data, ResourceType::Type resource_type, + bool enable_frame_busting) { delegate_ = delegate; remote_request_id_ = remote_request_id; url_ = url; method_ = method; referrer_ = referrer; extra_headers_ = extra_headers; + resource_type_ = resource_type; if (upload_data) { // We store a pointer to UrlmonUploadDataStream and not net::UploadData |