diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-21 18:45:33 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-21 18:45:33 +0000 |
commit | d9ffd55d3a85e3e543bd97f89ff46fd7dc228455 (patch) | |
tree | d70e93b879eef49a5dbbeccb2001ea5564bfebcb /chrome_frame/plugin_url_request.h | |
parent | dcc7b326b585c5de60590cd808aed91342311d05 (diff) | |
download | chromium_src-d9ffd55d3a85e3e543bd97f89ff46fd7dc228455.zip chromium_src-d9ffd55d3a85e3e543bd97f89ff46fd7dc228455.tar.gz chromium_src-d9ffd55d3a85e3e543bd97f89ff46fd7dc228455.tar.bz2 |
Refreshing pages in ChromeFrame would basically always fetch the pages from the cache. We need
to emulate Chrome and MSHTML where in the cache is resynchronized, i.e. new content is fetched
from the server if it has been modified.
To achieve this we now pass the load flags from Chrome when we initiate a HTTP request and
basically or in the BINDF_RESYNCHRONIZE and BINDF_GETNEWESTVERSION flags based on the value
of the load flags.
Fixes bug http://code.google.com/p/chromium/issues/detail?id=41508
Test=Covered by new ChromeFrame test.
Review URL: http://codereview.chromium.org/4000001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63389 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/plugin_url_request.h')
-rw-r--r-- | chrome_frame/plugin_url_request.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome_frame/plugin_url_request.h b/chrome_frame/plugin_url_request.h index 0026ade..2d25b94 100644 --- a/chrome_frame/plugin_url_request.h +++ b/chrome_frame/plugin_url_request.h @@ -123,7 +123,7 @@ class PluginUrlRequest { 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, ResourceType::Type resource_type, - bool enable_frame_busting_); + bool enable_frame_busting_, int load_flags); // Accessors. int id() const { @@ -180,6 +180,7 @@ class PluginUrlRequest { std::string referrer_; std::string extra_headers_; ResourceType::Type resource_type_; + int load_flags_; ScopedComPtr<IStream> upload_data_; }; |