diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-16 01:10:47 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-16 01:10:47 +0000 |
commit | 6ee88534895ff56a131400acfd2a837824ef1ead (patch) | |
tree | dda29859ab5e7ee86fc80afdc1f3dca3ac86438d /chrome_frame/urlmon_moniker.h | |
parent | 6044824e6c218ea5c801934ac52b88d3b10f89eb (diff) | |
download | chromium_src-6ee88534895ff56a131400acfd2a837824ef1ead.zip chromium_src-6ee88534895ff56a131400acfd2a837824ef1ead.tar.gz chromium_src-6ee88534895ff56a131400acfd2a837824ef1ead.tar.bz2 |
With the ChromeFrame IMoniker patch in the referrer would not propagate correctly to Chrome when we switch from IE to CF. In ChromeFrame
the referrer is set in the navigation manager which receives this in the IHttpNegotiate::BeginningTransaction patch. When we switch from IE
to cF via the moniker patch we receive two calls to BeginningTransaction, the first one with the referrer and the other one without the
referrer for the same URL causing the referrer to be overwritten.
Fix is to handle this case. The referrer is cleared in our BeforeNavigate notification.
I also moved some functions to chrome frame utils as part of this CL.
Fixes bug http://code.google.com/p/chromium/issues/detail?id=41680
Bug=41680
Review URL: http://codereview.chromium.org/1653006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44733 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/urlmon_moniker.h')
-rw-r--r-- | chrome_frame/urlmon_moniker.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/chrome_frame/urlmon_moniker.h b/chrome_frame/urlmon_moniker.h index 7aa36d8..1f168a8 100644 --- a/chrome_frame/urlmon_moniker.h +++ b/chrome_frame/urlmon_moniker.h @@ -119,13 +119,6 @@ class NavigationManager { // document that might have to be rendered in CF. virtual bool IsTopLevelUrl(const wchar_t* url); - // Called from HttpNegotiatePatch::BeginningTransaction when a request is - // being issued. We check the url and headers and see if there is a referrer - // header that we need to cache. - virtual void OnBeginningTransaction(bool is_top_level, const wchar_t* url, - const wchar_t* headers, - const wchar_t* additional_headers); - // Called when we've detected the http-equiv meta tag in the current page // and need to switch over from mshtml to CF. virtual HRESULT NavigateToCurrentUrlInCF(IBrowserService* browser); |