summaryrefslogtreecommitdiffstats
path: root/chrome_frame/bho.cc
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-20 00:42:55 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-20 00:42:55 +0000
commit845f6bf4e89b593d93c425a9f2382c71383b4dd5 (patch)
tree2fb7499f5bf7efb21536a2a11d9cd345040a7e61 /chrome_frame/bho.cc
parent0942444abdf2cae88ea5816f563fd55c5cfbde23 (diff)
downloadchromium_src-845f6bf4e89b593d93c425a9f2382c71383b4dd5.zip
chromium_src-845f6bf4e89b593d93c425a9f2382c71383b4dd5.tar.gz
chromium_src-845f6bf4e89b593d93c425a9f2382c71383b4dd5.tar.bz2
Enable the ChromeFrame IHttpNegotiate patch for all IE versions. Ensure that Chrome's UA
is sent out from IE in case Chrome is the default renderer for IE. Fixes bug http://code.google.com/p/chromium/issues/detail?id=70138 BUG=70138 TEST=As described in the bug at this point. Unit tests for this will follow. Review URL: http://codereview.chromium.org/6279006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71887 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/bho.cc')
-rw-r--r--chrome_frame/bho.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/chrome_frame/bho.cc b/chrome_frame/bho.cc
index 7feb0ca..0778177 100644
--- a/chrome_frame/bho.cc
+++ b/chrome_frame/bho.cc
@@ -362,12 +362,7 @@ bool PatchHelper::InitializeAndPatchProtocolsIfNeeded() {
if (state_ == UNKNOWN) {
g_trans_hooks.InstallHooks();
- // IE9 sends the short user agent by default. To enable websites to
- // identify and send content specific to chrome frame we need the
- // negotiate patch which adds the user agent to outgoing requests.
- if (GetIEVersion() == IE_9) {
- HttpNegotiatePatch::Initialize();
- }
+ HttpNegotiatePatch::Initialize();
state_ = PATCH_PROTOCOL;
ret = true;
}