aristofanio / javachromiumembedded

Automatically exported from code.google.com/p/javachromiumembedded
0 stars 0 forks source link

Added CefRequestContext to be able to set an own CefCookieManager #88

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This issue is an enhancement of JCEF - STEP 3  (patch 9 of 10) 
--------------------------------------------------------------
Please see issue 55 for the overall plan.

Purpose: Added CefRequestContext to be able to set an own CefCookieManager

This patch relies on the attached patch file of  issue #87. 
If you want to try these code changes, add the patch of issue #87 first and 
afterwards add the patch file attached to this issue. Otherwise you'll get some 
patch-errors.

Brief overview (only important changes are listed):
---------------------------------------------------
This patch adds the following classes to JCEF:
  package org.cef.browser
    CefRequestContext

  package org.cef.handler
    CefRequestContextHandler

And adds the following methods to existing classes:
  package org.cef
    CefClient
      Added the new optional param "CefRequestContext context" to the method createBrowser 

Added Tests to MainFrame example application:
---------------------------------------------
- If you start the MainFrame application with the argument 
"--cookie-path=/some/existing/path"
  an own CefCockieManager is created which persist the cookies within the given directory.
  The directory must exist and must be writable

Original issue reported on code.google.com by k...@censhare.de on 14 May 2014 at 2:17

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by magreenb...@gmail.com on 23 May 2014 at 6:31

GoogleCodeExporter commented 9 years ago
Added in revision 69.

Original comment by magreenb...@gmail.com on 23 May 2014 at 7:51