Reviewed by Alp Toker.
https://bugs.webkit.org/show_bug.cgi?id=18400
Database example doesn't work on Gtk port
Fix quota in ChromeClient
* WebCoreSupport/ChromeClientGtk.cpp:
(WebKit::ChromeClient::exceededDatabaseQuota):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@31790
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2008-04-10 Mario Bensi <mbensi@pleyo.com>
+
+ Reviewed by Alp Toker.
+
+ https://bugs.webkit.org/show_bug.cgi?id=18400
+ Database example doesn't work on Gtk port
+
+ Fix quota in ChromeClient
+
+ * WebCoreSupport/ChromeClientGtk.cpp:
+ (WebKit::ChromeClient::exceededDatabaseQuota):
+
2008-04-08 Adam Roben <aroben@apple.com>
Move callOnMainThread to WTF
#include "webkitprivate.h"
#include "NotImplemented.h"
#include "WindowFeatures.h"
+#include "DatabaseTracker.h"
using namespace WebCore;
webkit_web_frame_print(kit(frame));
}
-void ChromeClient::exceededDatabaseQuota(Frame*, const String&)
+void ChromeClient::exceededDatabaseQuota(Frame *frame, const String&)
{
+ // Set to 5M for testing
+ // FIXME: Make this configurable
notImplemented();
+ const unsigned long long defaultQuota = 5 * 1024 * 1024;
+ DatabaseTracker::tracker().setQuota(frame->document()->securityOrigin(), defaultQuota);
}
}