12012-12-19 Mark Pilgrim <pilgrim@chromium.org>
2
3 [Chromium] add setIDBFactory method for embedders to call
4 https://bugs.webkit.org/show_bug.cgi?id=105465
5
6 Reviewed by NOBODY (OOPS!).
7
8 This is step 1 of getting rid of WebKitPlatform::idbFactory. This
9 adds a setter for embedders to call upon initialization, which (if
10 set) will be used instead of calling the idbFactory()
11 method. Eventually the idbFactory() method will go away, and this
12 setter will be the only way to initialize the Indexed Database API.
13
14 * public/WebIDBFactory.h:
15 (WebKit):
16 * src/IDBFactoryBackendProxy.cpp:
17 (WebKit):
18 (WebKit::setIDBFactory):
19 (WebKit::IDBFactoryBackendProxy::IDBFactoryBackendProxy):
20