boolean (@Nullable String url, boolean doSync) { if (doSync) { return deleteCookies(url, "", (timeout) -> getCookies(url, false, timeout).isEmpty(), null); } else { return myCefCookieManager.deleteCookies(url, ""); } }