OSDN Git Service

Fix CookieManager.hasCookies().
authorIain Merrick <husky@google.com>
Mon, 6 Dec 2010 10:43:52 +0000 (10:43 +0000)
committerIain Merrick <husky@google.com>
Mon, 6 Dec 2010 16:09:54 +0000 (16:09 +0000)
commitc65c296d5bbf1608aedeceac90179a261deb0368
treee9178ab9aaf50ba7472a89708e5cb7e9c1921fd9
parentb552bd9285b27da2142b3078a06bdfe022a59410
Fix CookieManager.hasCookies().

To pass the CTS test, this method needs to check the persistent
database directly, ignoring any cookies that are only stored in
memory.

Depends on change Id498d281 in external/chromium, which adds the
GetCookieCount() method.

Change-Id: Ibeceaaa9942b5f4f1160fc2eeeca8b2322169a90
WebKit/android/WebCoreSupport/WebCookieJar.cpp
WebKit/android/WebCoreSupport/WebCookieJar.h
WebKit/android/jni/CookieManager.cpp