OSDN Git Service

CookieManager::flushCookieStore() is now synchronous.
authorIain Merrick <husky@google.com>
Thu, 2 Dec 2010 11:24:53 +0000 (11:24 +0000)
committerIain Merrick <husky@google.com>
Fri, 3 Dec 2010 11:14:40 +0000 (11:14 +0000)
commite4aa630adb18846d4420dc328cdfcfef6b47caa5
tree7fc87ae43a70a8189a734183a0ef322a8339db13
parent8fe068b72b160f7bc81892e9c40bfa917aa132d1
CookieManager::flushCookieStore() is now synchronous.

This ensures that all data is correctly stored before onPause() returns.
There's no API change on the Java side (although I should update the
comment to explain it's now synchronous; I'll do that in another CL).

Depends on a new completion callback added to CookieMonster.
See change Ieb3e787b in external/chromium.

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