| Summary: | [GTK] Add API to override the default local storage directory | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> | ||||||
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | berto, commit-queue, gustavo, mrobinson | ||||||
| Priority: | P2 | Keywords: | Gtk | ||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Bug Depends on: | 138826 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
Carlos Garcia Campos
2014-11-18 03:17:57 PST
Created attachment 241778 [details]
Patch
Created attachment 241787 [details]
It should apply now
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API Comment on attachment 241787 [details] It should apply now View in context: https://bugs.webkit.org/attachment.cgi?id=241787&action=review So no convenience _new? I think that is ok, but worth noting so you can consider =) > Source/WebKit2/UIProcess/API/gtk/WebKitWebContext.cpp:255 > + WebKitWebContext* webContext = WEBKIT_WEB_CONTEXT(object); > + WebKitWebContextPrivate* priv = webContext->priv; It doesn't hurt my eyes, but this should move to before the priv->localStorageDictory.isNull check in theory. > Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:42 > + // Local Sorage Directory. This doesn't add much information, I'd do away with it - the variable name is enough documentation. Committed r176512: <http://trac.webkit.org/changeset/176512> |