[webkit-gtk] Cookies API in WebKit2

Carlos Garcia Campos cgarcia at igalia.com
Mon Mar 26 02:31:45 PDT 2012


El lun, 26-03-2012 a las 11:20 +0200, Sergio Villar Senin escribió:
> En 26/03/12 10:40, Carlos Garcia Campos escribiu:
> > typedef enum { WEBKIT_COOKIE_STORAGE_TEXT, 
> > WEBKIT_COOKIE_STORAGE_SQLITE } WebKitCookieStorage;
> > 
> > void webkit_cookie_manager_set_storage (WebKitCookieManager
> > *cookie_manager, const gchar                  *storage_path, 
> > WebKitCookieStorage    storage);
> 
> Do we really need this API?. I mean why a client would have to care
> about this?

Ephy uses a different path to storage cookies for web application mode.

>  I guess we should use the sqlite backend by default and
> fallback to text storage if needed.

We could then simply add a way to set the path where to create cookies
storage and avoid the text/sqlite. We would never fall back, since we
are going to add sqlite soup feature in webkit, it will always be
available, so we could just use sqlite always. 

-- 
Carlos Garcia Campos
http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xF3D322D0EC4582C3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20120326/a6f19e0f/attachment.bin>


More information about the webkit-gtk mailing list