diff options
author | gavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-05 19:44:59 +0000 |
---|---|---|
committer | gavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-05 19:44:59 +0000 |
commit | 185c0345eceb16301eac0b2a129382517f6acf04 (patch) | |
tree | 7d43aced08060183776f57d47712ea41e8fa820a /webkit/support/test_webkit_platform_support.h | |
parent | 85218fc6b6df32eb654c0c8a3d0385286e117fa5 (diff) | |
download | chromium_src-185c0345eceb16301eac0b2a129382517f6acf04.zip chromium_src-185c0345eceb16301eac0b2a129382517f6acf04.tar.gz chromium_src-185c0345eceb16301eac0b2a129382517f6acf04.tar.bz2 |
Revert 180583
> Make TestWebIDBFactory allocate a separate WebIDBFactory per thread.
>
> This allows the main WebKit thread and web worker threads to each get their own
> WebIDBFactory instance, which mimics the behavior when we let the WebIDBFactory
> be instantiated via the WebKitPlatformSupport::idbFactory() method.
>
> R=alecflett@chromium.org
>
> Review URL: https://chromiumcodereview.appspot.com/12181010
TBR=darin@chromium.org,mpcomplete@chromium.org
BUG=174408
Review URL: https://codereview.chromium.org/12211018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180758 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/support/test_webkit_platform_support.h')
-rw-r--r-- | webkit/support/test_webkit_platform_support.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/support/test_webkit_platform_support.h b/webkit/support/test_webkit_platform_support.h index bb92e61..ec43ce5 100644 --- a/webkit/support/test_webkit_platform_support.h +++ b/webkit/support/test_webkit_platform_support.h @@ -8,6 +8,7 @@ #include "base/compiler_specific.h" #include "third_party/WebKit/Source/Platform/chromium/public/WebGamepads.h" #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3D.h" +#include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" #include "webkit/glue/webfileutilities_impl.h" #include "webkit/glue/webkitplatformsupport_impl.h" #include "webkit/support/simple_database_system.h" @@ -74,6 +75,8 @@ class TestWebKitPlatformSupport : virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( const WebKit::WebString& path, unsigned quota); + virtual WebKit::WebIDBFactory* idbFactory(); + #if defined(OS_WIN) || defined(OS_MACOSX) void SetThemeEngine(WebKit::WebThemeEngine* engine); virtual WebKit::WebThemeEngine *themeEngine(); |