summaryrefslogtreecommitdiffstats
path: root/chrome_frame/http_negotiate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/http_negotiate.cc')
-rw-r--r--chrome_frame/http_negotiate.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome_frame/http_negotiate.cc b/chrome_frame/http_negotiate.cc
index b8a1b9a..45409f5 100644
--- a/chrome_frame/http_negotiate.cc
+++ b/chrome_frame/http_negotiate.cc
@@ -12,6 +12,7 @@
#include "base/scoped_ptr.h"
#include "base/string_util.h"
+#include "chrome_frame/bho.h"
#include "chrome_frame/html_utils.h"
#include "chrome_frame/urlmon_url_request.h"
#include "chrome_frame/utils.h"
@@ -203,6 +204,15 @@ HRESULT HttpNegotiatePatch::BeginningTransaction(
return hr;
}
+ ScopedComPtr<IWebBrowser2> browser2;
+ DoQueryService(IID_ITargetFrame2, me, browser2.Receive());
+ if (browser2) {
+ Bho* bho = Bho::GetCurrentThreadBhoInstance();
+ if (bho) {
+ bho->OnBeginningTransaction(browser2, url, headers, *additional_headers);
+ }
+ }
+
static const char kLowerCaseUserAgent[] = "user-agent";
using net::HttpUtil;