mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Merge revision 542 changes:
- Add CefCookieManager interface and CefRequestHandler::GetCookieManager for custom cookie handling (issue #542). - Support getting and setting cookies with custom scheme handlers (issue #555). - Support calling CefFrame::GetIdentifier and CefFrame::GetURL on any thread (issue #556). git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1025@543 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -14,23 +14,16 @@
|
||||
#include "net/url_request/url_request.h"
|
||||
#include "webkit/glue/resource_loader_bridge.h"
|
||||
|
||||
class CefBrowser;
|
||||
class CefBrowserImpl;
|
||||
class GURL;
|
||||
|
||||
class BrowserResourceLoaderBridge {
|
||||
public:
|
||||
// May only be called after Init.
|
||||
static void SetCookie(const GURL& url,
|
||||
const GURL& first_party_for_cookies,
|
||||
const std::string& cookie);
|
||||
static std::string GetCookies(const GURL& url,
|
||||
const GURL& first_party_for_cookies);
|
||||
static void SetAcceptAllCookies(bool accept_all_cookies);
|
||||
|
||||
// Return the CefBrowser associated with the specified request. The browser
|
||||
// will be NULL in cases where the request was initiated using the
|
||||
// CefWebURLRequest API.
|
||||
static CefRefPtr<CefBrowser> GetBrowserForRequest(net::URLRequest* request);
|
||||
static CefRefPtr<CefBrowserImpl> GetBrowserForRequest(
|
||||
net::URLRequest* request);
|
||||
|
||||
// Creates a ResourceLoaderBridge instance.
|
||||
static webkit_glue::ResourceLoaderBridge* Create(
|
||||
|
Reference in New Issue
Block a user