ok lgtm
On Wed, Nov 20, 2013 at 9:07 AM, Gao, Chun <chun....@intel.com> wrote: > Align with aw content, cookies will be stored in DB, per DB per app. > Chromium has already provide some utilities to maintain a cookie DB, what > we need to do is connecting the cookie producer/customer to the DB cookie > store. > > > > Thanks, > > -Chun > > > > *From:* Kenneth Rohde Christiansen [mailto:kenneth.christian...@gmail.com] > > *Sent:* Tuesday, November 19, 2013 6:43 PM > *To:* Gao, Chun > *Cc:* crosswalk-dev@lists.crosswalk-project.org > *Subject:* Re: [Crosswalk-dev] Intent to Implement: [Android] Cookie > management. > > > > Is this a Java Interface you came up with or is it similar to what Chrome > for Android uses? How are you going to store the cookies? DB, as separate > files? What do Chrome for Android do? > > > > Kenneth > > > > On Tue, Nov 19, 2013 at 2:59 AM, Gao, Chun <chun....@intel.com> wrote: > > Summary: > > This implementation is about cookie management for Crosswalk Android. The > cookies created by http/https response and JavaScript will be persistent to > external storage rather than in memory, so that cookies won't lost after > apps are relaunched. A Java interface will also be implemented to set, > clear, allow accept, disable cookies. > > > > Affected component: N/A > > > > Related feature: XWALK-156< > https://crosswalk-project.org/jira/browse/XWALK-156> > > > > Target Release: Crosswalk 3 > > > > Implementation details: > > 1. Introduce the cookie access policy for network to enable/disable > cookies. > > 2. Create persistent cookie storage for CookieMonster to store cookies. > > 3. Add a JNI class CookieManager for Java to set cookie access policy and > manage cookies. The methods are: > > void setAcceptCookie(boolean accept) // Control whether cookie is > enabled or disabled > > boolean acceptCookie() > > void setCookie(final String url, final String value) > > String getCookie(final String url) > > void removeSessionCookie() > > void removeAllCookie() > > boolean hasCookies() > > void removeExpiredCookie() > > void flushCookieStore() > > void setAcceptFileSchemeCookies(boolean accept) // Control whether > cookies are accepted for file scheme URLs. > > boolean allowFileSchemeCookies() > > > > Remark: This feature is for Crosswalk Android, but Tizen may have the > similar requirement, if it's not an emergency for Tizen, the implementation > could landed to Android first. > > > > Thanks, > > Gao Chun > > > _______________________________________________ > Crosswalk-dev mailing list > Crosswalk-dev@lists.crosswalk-project.org > https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev > > > > > > -- > Kenneth Rohde Christiansen > Web Platform Architect, Intel Corporation. > Phone +45 4294 9458 ﹆﹆﹆ > -- Kenneth Rohde Christiansen Web Platform Architect, Intel Corporation. Phone +45 4294 9458 ﹆﹆﹆
_______________________________________________ Crosswalk-dev mailing list Crosswalk-dev@lists.crosswalk-project.org https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev