src/thirdparty/cefbinary_72/tests/ceftests/cookie_unittest.cc
// Verify that no cookies exist. If |withUrl| is true it will only check for
// cookies matching the URL.
Verify that no cookies exist. If |withUrl| is true it will only check for
cookies matching the URL.
Verify that no cookies exist . If |withUrl| is true it will only check for cookies matching the URL .
void VerifyNoCookies(CefRefPtr<CefCookieManager> manager,
                     CefRefPtr<CefWaitableEvent> event,
                     bool withUrl) {
  CookieVector cookies;
  if (withUrl) {
    VisitUrlCookies(manager, kTestUrl, false, cookies, false, event);
  } else {
    VisitAllCookies(manager, cookies, false, event);
  }
  EXPECT_EQ(0U, cookies.size());
}
void VerifyNoCookies ( CefRefPtr < CefCookieManager > manager , CefRefPtr < CefWaitableEvent > event , bool withUrl ) { CookieVector cookies ; if ( withUrl ) { VisitUrlCookies ( manager , kTestUrl , false , cookies , false , event ) ; } else { VisitAllCookies ( manager , cookies , false , event ) ; } EXPECT_EQ ( 0U , cookies . size ( ) ) ; }
Verify that no cookies exist.
Verify that no cookies exist .
// Verify that the cookie has been deleted.