static void removeSessionCookies(WebCookieJar* cookieJar)
{
  CookieMonster* cookieMonster = cookieJar->cookieStore()->GetCookieMonster();
  CookieList cookies = cookieMonster->GetAllCookies();
  for (CookieList::const_iterator iter = cookies.begin(); iter != cookies.end(); ++iter) {
    if (iter->IsSessionCookie())
      cookieMonster->DeleteCanonicalCookie(*iter);
  }
}
// SAMSUNG_CHANGE : get_cookie_size >>
static int getCookieSize(JNIEnv* env)
{
  int size = 0;
  CookieMonster* cookieMonster = WebCookieJar::get(false)->cookieStore()->GetCookieMonster();
  CookieList cookies = cookieMonster->GetAllCookies();
  for (CookieList::const_iterator iter = cookies.begin(); iter != cookies.end(); ++iter) {
      size += iter->Name().length() + iter->Value().length();
  }
  return size;
}
static int getCookieNumber(JNIEnv* env)
{
  CookieMonster* cookieMonster = WebCookieJar::get(false)->cookieStore()->GetCookieMonster();
  CookieList cookies = cookieMonster->GetAllCookies();
  return cookies.size();
}