Apply quota policy for indexed database
authorJiyeon Kim <jiyeon0402.kim@samsung.com>
Fri, 22 Mar 2013 06:17:48 +0000 (15:17 +0900)
committerGerrit Code Review <gerrit2@kim11>
Mon, 1 Apr 2013 08:44:11 +0000 (17:44 +0900)
commit92448e2b366b188744b178f710f51f211bba4ca6
tree17be6ba06958808469dbc70b7c20962c2e43ccbe
parentbd955caf35876f15a94d2445ff3e8861941ead48
Apply quota policy for indexed database

[Title] Apply quota policy for indexed database
[Problem] N/A
[Cause] N/A
[Solution] Check quota limitation before making objectStore, index and put data for objectStore
- Default quota : 100*1024*1024
- Maximum quota : 2*1024*1024*1024
- ewk_view_exceeded_indexed_database_quota_callback_set() is added for calling the callback when request quota for UA
- ewk_view_exceeded_indexed_database_quota_reply() is added to allow/deny quota

Change-Id: I24e47c9b2955fb2ee63a9265c46a5f376391db56
29 files changed:
Source/WebCore/Modules/indexeddb/IDBBackingStore.h
Source/WebCore/Modules/indexeddb/IDBDatabase.cpp
Source/WebCore/Modules/indexeddb/IDBDatabase.h
Source/WebCore/Modules/indexeddb/IDBDatabaseBackendImpl.cpp
Source/WebCore/Modules/indexeddb/IDBDatabaseBackendImpl.h
Source/WebCore/Modules/indexeddb/IDBDatabaseBackendInterface.h
Source/WebCore/Modules/indexeddb/IDBLevelDBBackingStore.cpp
Source/WebCore/Modules/indexeddb/IDBLevelDBBackingStore.h
Source/WebCore/Modules/indexeddb/IDBObjectStore.cpp
Source/WebCore/Modules/indexeddb/IDBObjectStore.h
Source/WebCore/Modules/indexeddb/IDBObjectStoreBackendImpl.cpp
Source/WebCore/Modules/indexeddb/IDBObjectStoreBackendImpl.h
Source/WebCore/Modules/indexeddb/IDBObjectStoreBackendInterface.h
Source/WebCore/loader/EmptyClients.h
Source/WebCore/page/ChromeClient.h
Source/WebKit2/UIProcess/API/C/efl/tizen/WKPageTizen.cpp
Source/WebKit2/UIProcess/API/C/efl/tizen/WKPageTizen.h
Source/WebKit2/UIProcess/API/efl/ewk_view.cpp
Source/WebKit2/UIProcess/API/efl/ewk_view.h
Source/WebKit2/UIProcess/API/efl/ewk_view_private.h
Source/WebKit2/UIProcess/API/efl/ewk_view_tizen_client.cpp
Source/WebKit2/UIProcess/WebPageProxy.h
Source/WebKit2/UIProcess/WebPageProxy.messages.in
Source/WebKit2/UIProcess/efl/WebPageProxyEfl.cpp
Source/WebKit2/UIProcess/tizen/WebTizenClient.cpp
Source/WebKit2/UIProcess/tizen/WebTizenClient.h
Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp
Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.h
Source/WebKit2/WebProcess/WebPage/WebPage.cpp