pub trait ICoreWebView2CookieManager_Impl: Sized {
// Required methods
fn CreateCookie(
&self,
name: &PCWSTR,
value: &PCWSTR,
domain: &PCWSTR,
path: &PCWSTR
) -> Result<ICoreWebView2Cookie>;
fn CopyCookie(
&self,
cookieparam: Option<&ICoreWebView2Cookie>
) -> Result<ICoreWebView2Cookie>;
fn GetCookies(
&self,
uri: &PCWSTR,
handler: Option<&ICoreWebView2GetCookiesCompletedHandler>
) -> Result<()>;
fn AddOrUpdateCookie(
&self,
cookie: Option<&ICoreWebView2Cookie>
) -> Result<()>;
fn DeleteCookie(&self, cookie: Option<&ICoreWebView2Cookie>) -> Result<()>;
fn DeleteCookies(&self, name: &PCWSTR, uri: &PCWSTR) -> Result<()>;
fn DeleteCookiesWithDomainAndPath(
&self,
name: &PCWSTR,
domain: &PCWSTR,
path: &PCWSTR
) -> Result<()>;
fn DeleteAllCookies(&self) -> Result<()>;
}