Index: Source/modules/indexeddb/IndexedDBClient.h |
diff --git a/Source/modules/indexeddb/IDBFactoryBackendInterface.h b/Source/modules/indexeddb/IndexedDBClient.h |
similarity index 82% |
rename from Source/modules/indexeddb/IDBFactoryBackendInterface.h |
rename to Source/modules/indexeddb/IndexedDBClient.h |
index e5284f5ef8564b48cb5fc706c0bfffc7116e3e25..6560f9f0c3fc8abd55296d3e685ee45e127ec22e 100644 |
--- a/Source/modules/indexeddb/IDBFactoryBackendInterface.h |
+++ b/Source/modules/indexeddb/IndexedDBClient.h |
@@ -25,8 +25,8 @@ |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-#ifndef IDBFactoryBackendInterface_h |
-#define IDBFactoryBackendInterface_h |
+#ifndef IndexedDBClient_h |
+#define IndexedDBClient_h |
#include "wtf/PassRefPtr.h" |
#include "wtf/RefCounted.h" |
@@ -36,15 +36,18 @@ namespace WebCore { |
class ExecutionContext; |
-// FIXME: This is just a permission client at this point. Rename/refactor. |
-class IDBFactoryBackendInterface : public RefCounted<IDBFactoryBackendInterface> { |
+class IndexedDBClient : public RefCounted<IndexedDBClient> { |
public: |
- static PassRefPtr<IDBFactoryBackendInterface> create(); |
- virtual ~IDBFactoryBackendInterface() { } |
+ static PassRefPtr<IndexedDBClient> create(); |
+ virtual ~IndexedDBClient() { } |
virtual bool allowIndexedDB(ExecutionContext*, const String& name) = 0; |
}; |
+typedef PassRefPtr<IndexedDBClient> CreateIndexedDBClient(); |
+ |
+void setIndexedDBClientCreateFunction(CreateIndexedDBClient); |
+ |
} // namespace WebCore |
-#endif // IDBFactoryBackendInterface_h |
+#endif // IndexedDBClient_h |