summaryrefslogtreecommitdiff
path: root/Source/WebKit2/UIProcess/gtk/WebContextGtk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/UIProcess/gtk/WebContextGtk.cpp')
-rw-r--r--Source/WebKit2/UIProcess/gtk/WebContextGtk.cpp17
1 files changed, 15 insertions, 2 deletions
diff --git a/Source/WebKit2/UIProcess/gtk/WebContextGtk.cpp b/Source/WebKit2/UIProcess/gtk/WebContextGtk.cpp
index 71c7bbe3c..afeb1723e 100644
--- a/Source/WebKit2/UIProcess/gtk/WebContextGtk.cpp
+++ b/Source/WebKit2/UIProcess/gtk/WebContextGtk.cpp
@@ -27,6 +27,7 @@
#include "config.h"
#include "WebContext.h"
#include <WebCore/FileSystem.h>
+#include <WebCore/NotImplemented.h>
#include <wtf/gobject/GOwnPtr.h>
namespace WebKit {
@@ -53,8 +54,8 @@ String WebContext::platformDefaultDatabaseDirectory() const
String WebContext::platformDefaultIconDatabasePath() const
{
- // FIXME: Implement.
- return WTF::String();
+ GOwnPtr<gchar> databaseDirectory(g_build_filename(g_get_user_data_dir(), "webkitgtk", "icondatabase", NULL));
+ return WebCore::filenameToString(databaseDirectory.get());
}
String WebContext::platformDefaultLocalStorageDirectory() const
@@ -63,4 +64,16 @@ String WebContext::platformDefaultLocalStorageDirectory() const
return WebCore::filenameToString(storageDirectory.get());
}
+String WebContext::platformDefaultDiskCacheDirectory() const
+{
+ notImplemented();
+ return String();
+}
+
+String WebContext::platformDefaultCookieStorageDirectory() const
+{
+ notImplemented();
+ return String();
+}
+
} // namespace WebKit