Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(924)

Unified Diff: webkit/api/public/WebStorageNamespace.h

Issue 255050: Quota support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/api/public/WebKitClient.h ('k') | webkit/api/src/StorageNamespaceProxy.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/api/public/WebStorageNamespace.h
===================================================================
--- webkit/api/public/WebStorageNamespace.h (revision 27909)
+++ webkit/api/public/WebStorageNamespace.h (working copy)
@@ -46,9 +46,11 @@
// where the SQLite databases that make LocalStorage data persistent are located.
// If path is empty, data will not persist. You should call delete on the returned
// object when you're finished.
- WEBKIT_API static WebStorageNamespace* createLocalStorageNamespace(const WebString& backingDirectoryPath);
+ WEBKIT_API static WebStorageNamespace* createLocalStorageNamespace(const WebString& backingDirectoryPath, unsigned quota);
WEBKIT_API static WebStorageNamespace* createSessionStorageNamespace();
+ static const unsigned noQuota = UINT_MAX;
+
virtual ~WebStorageNamespace() { }
// Create a new WebStorageArea object. Two subsequent calls with the same origin
« no previous file with comments | « webkit/api/public/WebKitClient.h ('k') | webkit/api/src/StorageNamespaceProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698