[GTK] Add initial database process support
[WebKit-https.git] / Source / WebKit2 / UIProcess / gtk / WebProcessPoolGtk.cpp
index 1f852ad..5ca5ee8 100644 (file)
@@ -120,8 +120,8 @@ String WebProcessPool::legacyPlatformDefaultWebSQLDatabaseDirectory()
 
 String WebProcessPool::legacyPlatformDefaultIndexedDBDatabaseDirectory()
 {
-    notImplemented();
-    return String();
+    GUniquePtr<gchar> indexedDBDatabaseDirectory(g_build_filename(g_get_user_data_dir(), "webkitgtk", "databases", "indexeddb", nullptr));
+    return WebCore::filenameToString(indexedDBDatabaseDirectory.get());
 }
 
 String WebProcessPool::platformDefaultIconDatabasePath() const