Add a cross-thread wrapper around Android Webview's CookieStore.
Android Webview needs to be able to call into its CookieStore on a
thread other than the IOThread. Since we're trying to make the
CookieStore non-threadsafe, that means we need a CookieStore wrapper
to be used by the network stack to access the real CookieStore on
another thread.
This CL also modifies CookieManager to lazily create the CookieStore
on the correct thread. This both allows us to get rid of the
last GetCookieMonster call, and will make making the CookieStore
non-thread-safe easier.
BUG=579653, 579260
Review URL: https://codereview.chromium.org/1693903002
Cr-Commit-Position: refs/heads/master@{#377596}
13 files changed