1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-11-23 21:34:53 +02:00

Update to CEF 3.3239.1720.g1ad5e2a

TChromium.DeleteCookies now uses the right cookie manager in custom request contexts.
This commit is contained in:
Salvador Díaz Fau
2018-01-05 11:59:25 +01:00
parent 9888fe3e46
commit 2f89f8a609
6 changed files with 36 additions and 43 deletions

View File

@@ -101,16 +101,6 @@ type
procedure Execute; override;
end;
TCefDeleteCookiesTask = class(TCefTaskOwn)
protected
FCallBack : ICefDeleteCookiesCallback;
procedure Execute; override;
public
constructor Create(const aCallBack : ICefDeleteCookiesCallback); reintroduce;
end;
TCefUpdatePrefsTask = class(TCefTaskOwn)
protected
FChromiumBrowser : TObject;
@@ -268,25 +258,6 @@ begin
end;
// TCefDeleteCookiesTask
constructor TCefDeleteCookiesTask.Create(const aCallBack : ICefDeleteCookiesCallback);
begin
inherited Create;
FCallBack := aCallBack;
end;
procedure TCefDeleteCookiesTask.Execute;
var
CookieManager : ICefCookieManager;
begin
CookieManager := TCefCookieManagerRef.Global(nil);
CookieManager.DeleteCookies('', '', FCallBack);
end;
// TCefUpdatePrefsTask