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

Unified Diff: chrome/browser/in_process_webkit/storage_namespace.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
Index: chrome/browser/in_process_webkit/storage_namespace.h
===================================================================
--- chrome/browser/in_process_webkit/storage_namespace.h (revision 27909)
+++ chrome/browser/in_process_webkit/storage_namespace.h (working copy)
@@ -55,6 +55,9 @@
// SessionStorage vs. LocalStorage.
const DOMStorageType storage_type_;
+ // The quota for each storage area. Suggested by the spec.
+ static const unsigned kLocalStorageQuota = 5 * 1024 * 1024;
+
DISALLOW_IMPLICIT_CONSTRUCTORS(StorageNamespace);
};
« no previous file with comments | « chrome/browser/in_process_webkit/dom_storage_dispatcher_host.cc ('k') | chrome/browser/in_process_webkit/storage_namespace.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698