summaryrefslogtreecommitdiffstats
path: root/chrome_frame/plugin_url_request.h
diff options
context:
space:
mode:
authorstoyan@chromium.org <stoyan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-01 16:33:37 +0000
committerstoyan@chromium.org <stoyan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-01 16:33:37 +0000
commit606334078cffc3385560da493c7882a3e849bc86 (patch)
tree2fe64dd1f55bab598e73f16135b5f8e1671138c0 /chrome_frame/plugin_url_request.h
parent1bf71ed8bf7b58f63101049a85e1d881802aa500 (diff)
downloadchromium_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.h')
-rw-r--r--chrome_frame/plugin_url_request.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome_frame/plugin_url_request.h b/chrome_frame/plugin_url_request.h
index 60e73d4..0026ade 100644
--- a/chrome_frame/plugin_url_request.h
+++ b/chrome_frame/plugin_url_request.h
@@ -16,6 +16,7 @@
#include "ipc/ipc_message.h"
#include "net/base/upload_data.h"
#include "net/url_request/url_request_status.h"
+#include "webkit/glue/resource_type.h"
class PluginUrlRequest;
class PluginUrlRequestDelegate;
@@ -121,7 +122,8 @@ class PluginUrlRequest {
bool 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_);
// Accessors.
int id() const {
@@ -177,6 +179,7 @@ class PluginUrlRequest {
std::string method_;
std::string referrer_;
std::string extra_headers_;
+ ResourceType::Type resource_type_;
ScopedComPtr<IStream> upload_data_;
};