- Add CefSettings.local_storage_quota and session_storage_quota options for setting localStorage and sessionStorage quota limits respectively (issue #348).

- Add Cef*Storage() functions and CefStorageVisitor interface for accessing localStorage and sessionStorage data via the native API (issue #361).
- Add a "cache_path" command-line flag option to cef_unittests for running the unit tests with a cache path value (issue #368).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@302 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2011-10-06 13:34:47 +00:00
parent 50b909a417
commit 6b134b4def
29 changed files with 1209 additions and 127 deletions

View File

@@ -141,6 +141,16 @@ typedef struct _cef_settings_t
// content like WebGL, accelerated layers and 3D CSS.
///
cef_graphics_implementation_t graphics_implementation;
///
// Quota limit for localStorage data across all origins. Default size is 5MB.
///
unsigned int local_storage_quota;
///
// Quota limit for sessionStorage data per namespace. Default size is 5MB.
///
unsigned int session_storage_quota;
} cef_settings_t;
///
@@ -469,6 +479,15 @@ typedef struct _cef_cookie_t
cef_time_t expires;
} cef_cookie_t;
///
// Storage types.
///
enum cef_storage_type_t
{
ST_LOCALSTORAGE = 0,
ST_SESSIONSTORAGE,
};
///
// Mouse button types.
///