diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-05 20:59:38 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-05 20:59:38 +0000 |
commit | b0938a4592d2f535687a8ee97d5f81ca96db2b7b (patch) | |
tree | 894e7be57d2efec0535389fa7d7c4e71c4c0daa4 /chrome_frame/utils.h | |
parent | 8c6844fc33ef1d2fc49b57e4b2187c1855d271cb (diff) | |
download | chromium_src-b0938a4592d2f535687a8ee97d5f81ca96db2b7b.zip chromium_src-b0938a4592d2f535687a8ee97d5f81ca96db2b7b.tar.gz chromium_src-b0938a4592d2f535687a8ee97d5f81ca96db2b7b.tar.bz2 |
Handle UrlRequests in ChromeFrame for resource types except MAIN_FRAME and SUB_FRAME in a background worker thread.
We have a new request map in ChromeFrame to keep track of these requests. We synchronize access to this map as it is accessed from multiple threads.
This is an attempt to verify if the performance issues seen on CF are related to handling all HTTP requests on the
IE UI thread.
This is configurable via a registry DWORD value "BackgroundHTTPWorkerThread" under HKCU\Software\Google\ChromeFrame
Defaults to true.
Fixes bug http://code.google.com/p/chromium/issues/detail?id=98510
BUG=98510
Review URL: http://codereview.chromium.org/8115018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104168 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 6d6a5d6..95feac6 100644 --- a/chrome_frame/utils.h +++ b/chrome_frame/utils.h @@ -43,6 +43,7 @@ extern const wchar_t kRenderInHostUrlList[]; extern const wchar_t kEnableGCFRendererByDefault[]; extern const wchar_t kIexploreProfileName[]; extern const wchar_t kRundllProfileName[]; +extern const wchar_t kUseBackgroundThreadForSubResources[]; // This function is very similar to the AtlRegisterTypeLib function except // that it takes a parameter that specifies whether to register the typelib |