// CodeGear C++Builder // Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. // All rights reserved // (DO NOT EDIT: machine generated header) 'uCEFCookieManager.pas' rev: 37.00 (Windows) #ifndef uCEFCookieManagerHPP #define uCEFCookieManagerHPP #pragma delphiheader begin #pragma option push #if defined(__BORLANDC__) && !defined(__clang__) #pragma option -w- // All warnings off #pragma option -Vx // Zero-length empty class member #endif #pragma pack(push,8) #include #include #include #include #include #include #include #include //-- user supplied ----------------------------------------------------------- namespace Ucefcookiemanager { //-- forward type declarations ----------------------------------------------- class DELPHICLASS TCefCookieManagerRef; class DELPHICLASS TCefFlushStoreCompletionCallback; //-- type declarations ------------------------------------------------------- #pragma pack(push,4) class PASCALIMPLEMENTATION TCefCookieManagerRef : public Ucefbaserefcounted::TCefBaseRefCountedRef { typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; protected: bool __fastcall VisitAllCookies(const Ucefinterfaces::_di_ICefCookieVisitor visitor); bool __fastcall VisitAllCookiesProc(const Ucefinterfaces::_di_TCefCookieVisitorProc visitor); bool __fastcall VisitUrlCookies(const Uceftypes::ustring url, bool includeHttpOnly, const Ucefinterfaces::_di_ICefCookieVisitor visitor); bool __fastcall VisitUrlCookiesProc(const Uceftypes::ustring url, bool includeHttpOnly, const Ucefinterfaces::_di_TCefCookieVisitorProc visitor); bool __fastcall SetCookie(const Uceftypes::ustring url, const Uceftypes::ustring name, const Uceftypes::ustring value, const Uceftypes::ustring domain, const Uceftypes::ustring path, bool secure, bool httponly, bool hasExpires, const System::TDateTime creation, const System::TDateTime lastAccess, const System::TDateTime expires, Uceftypes::TCefCookieSameSite same_site, Uceftypes::TCefCookiePriority priority, const Ucefinterfaces::_di_ICefSetCookieCallback callback); bool __fastcall SetCookieProc(const Uceftypes::ustring url, const Uceftypes::ustring name, const Uceftypes::ustring value, const Uceftypes::ustring domain, const Uceftypes::ustring path, bool secure, bool httponly, bool hasExpires, const System::TDateTime creation, const System::TDateTime lastAccess, const System::TDateTime expires, Uceftypes::TCefCookieSameSite same_site, Uceftypes::TCefCookiePriority priority, const Ucefinterfaces::_di_TCefSetCookieCallbackProc callback); bool __fastcall DeleteCookies(const Uceftypes::ustring url, const Uceftypes::ustring cookieName, const Ucefinterfaces::_di_ICefDeleteCookiesCallback callback); bool __fastcall DeleteCookiesProc(const Uceftypes::ustring url, const Uceftypes::ustring cookieName, const Ucefinterfaces::_di_TCefDeleteCookiesCallbackProc callback); bool __fastcall FlushStore(const Ucefinterfaces::_di_ICefCompletionCallback callback); bool __fastcall FlushStoreProc(const Ucefinterfaces::_di_TCefCompletionCallbackProc proc); public: __classmethod Ucefinterfaces::_di_ICefCookieManager __fastcall UnWrap(void * data); __classmethod Ucefinterfaces::_di_ICefCookieManager __fastcall Global(const Ucefinterfaces::_di_ICefCompletionCallback callback); __classmethod Ucefinterfaces::_di_ICefCookieManager __fastcall GlobalProc(const Ucefinterfaces::_di_TCefCompletionCallbackProc callback); public: /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefCookieManagerRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefCookieManagerRef() { } private: void *__ICefCookieManager; // Ucefinterfaces::ICefCookieManager public: #if defined(MANAGED_INTERFACE_OPERATORS) // {CC1749E6-9AD3-4283-8430-AF6CBF3E8785} operator Ucefinterfaces::_di_ICefCookieManager() { Ucefinterfaces::_di_ICefCookieManager intf; this->GetInterface(intf); return intf; } #else operator Ucefinterfaces::ICefCookieManager*(void) { return (Ucefinterfaces::ICefCookieManager*)&__ICefCookieManager; } #endif }; #pragma pack(pop) #pragma pack(push,4) class PASCALIMPLEMENTATION TCefFlushStoreCompletionCallback : public Ucefcompletioncallback::TCefCustomCompletionCallback { typedef Ucefcompletioncallback::TCefCustomCompletionCallback inherited; protected: virtual void __fastcall OnComplete(); public: /* TCefCustomCompletionCallback.Create */ inline __fastcall TCefFlushStoreCompletionCallback(const Ucefinterfaces::_di_IChromiumEvents aEvents) : Ucefcompletioncallback::TCefCustomCompletionCallback(aEvents) { } /* TCefCustomCompletionCallback.Destroy */ inline __fastcall virtual ~TCefFlushStoreCompletionCallback() { } public: /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFlushStoreCompletionCallback(unsigned size, bool owned) : Ucefcompletioncallback::TCefCustomCompletionCallback(size, owned) { } }; #pragma pack(pop) //-- var, const, procedure --------------------------------------------------- } /* namespace Ucefcookiemanager */ #if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFCOOKIEMANAGER) using namespace Ucefcookiemanager; #endif #pragma pack(pop) #pragma option pop #pragma delphiheader end. //-- end unit ---------------------------------------------------------------- #endif // uCEFCookieManagerHPP