diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-16 19:38:52 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-16 19:38:52 +0000 |
commit | 6a8515e44d88fcd704dc871d7c07314ceb3323bb (patch) | |
tree | f3c82ed61a3e191313975b6f1afe515709e0cba0 /chrome_frame/chrome_frame_automation.cc | |
parent | 457592496d7b0ad20c7f05ac3e1141073e134e6f (diff) | |
download | chromium_src-6a8515e44d88fcd704dc871d7c07314ceb3323bb.zip chromium_src-6a8515e44d88fcd704dc871d7c07314ceb3323bb.tar.gz chromium_src-6a8515e44d88fcd704dc871d7c07314ceb3323bb.tar.bz2 |
Add the ChromeFrame UA in the post platform section in the IE user agent string. To achieve
this we need to add the desired value in the registry under the
Internet Settings\User Agent\Post Platform key. We add this under the per user or per machine
section in the registry depending on whether ChromeFrame is being installed in per user or
per machine mode. This fixes the bug where certain top level requests in IE would not have
the chrome frame UA appended to the IE UA.
Removed the BeginningTransaction vtable patch code, which only existed to add chrome frame to
the UA in outgoing requests.
The limitation with registering the chrome frame UA in the registry is that it will be sent
out even in the ChromeFrame BHO is disabled.
Fixes bug http://code.google.com/p/chromium/issues/detail?id=45087
BUG=45087
TESt=Covered by new chrome frame test.
Review URL: http://codereview.chromium.org/5831002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69442 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_frame_automation.cc')
-rw-r--r-- | chrome_frame/chrome_frame_automation.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/chrome_frame/chrome_frame_automation.cc b/chrome_frame/chrome_frame_automation.cc index e0cab31..b25b89d 100644 --- a/chrome_frame/chrome_frame_automation.cc +++ b/chrome_frame/chrome_frame_automation.cc @@ -46,15 +46,6 @@ static const wchar_t kUmaSendIntervalValue[] = L"UmaSendInterval"; // threads. Lock g_ChromeFrameHistogramLock; -namespace { -std::wstring GetCurrentModuleVersion() { - scoped_ptr<FileVersionInfo> module_version_info( - FileVersionInfo::CreateFileVersionInfoForCurrentModule()); - DCHECK(module_version_info.get() != NULL); - return module_version_info->file_version(); -} -} - class ChromeFrameAutomationProxyImpl::TabProxyNotificationMessageFilter : public IPC::ChannelProxy::MessageFilter { public: |