diff options
author | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-21 16:07:24 +0000 |
---|---|---|
committer | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-21 16:07:24 +0000 |
commit | 0535809cc310e18eefdf3afbd32ff35b593b182f (patch) | |
tree | 269d36f76b6ce9e69ab4d88254871d26366dbfa5 /chrome_frame/utils.h | |
parent | 2e4c50cd49a81bef973b934c236b110e660f3746 (diff) | |
download | chromium_src-0535809cc310e18eefdf3afbd32ff35b593b182f.zip chromium_src-0535809cc310e18eefdf3afbd32ff35b593b182f.tar.gz chromium_src-0535809cc310e18eefdf3afbd32ff35b593b182f.tar.bz2 |
A different approach to avoid crashes in buggy 3rd party BHOs.This time we're more preceise and only target the buggy components.Behaviour for components that handle browser events correctly, is unchanged even in the presence of buggy DLLs.The core class here is the BuggyBhoTls class and here's the comment for that class:
// Construct an instance of this class on the stack when firing web browser
// events that can be sent to buggy BHOs. This class will intercept those
// BHOs (see list in cc file) and ignore notifications to those components
// for as long as the BuggyBhoTls instance on the stack lives.
TEST=A better fix for bug 44463 but also fixes bug 49373 and a number of crashes that haven't been associated with bug reports yet.
BUG=44463, 49373
Review URL: http://codereview.chromium.org/3031009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53194 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/utils.h')
-rw-r--r-- | chrome_frame/utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome_frame/utils.h b/chrome_frame/utils.h index 5561331..b40a741 100644 --- a/chrome_frame/utils.h +++ b/chrome_frame/utils.h @@ -28,6 +28,7 @@ extern const wchar_t kChromeProtocolPrefix[]; extern const wchar_t kChromeFrameHeadlessMode[]; extern const wchar_t kChromeFrameUnpinnedMode[]; extern const wchar_t kEnableGCFProtocol[]; +extern const wchar_t kEnableBuggyBhoIntercept[]; extern const wchar_t kChromeMimeType[]; typedef enum ProtocolPatchMethod { |