diff options
author | mmenke <mmenke@chromium.org> | 2016-02-25 09:14:46 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-25 17:16:31 +0000 |
commit | a7b331e94c7b658c55cb3ce93b712b9d671d2e07 (patch) | |
tree | 4663f805ac4dc6a4e3e3a002bbc547f1f1618f98 /android_webview/android_webview.gyp | |
parent | 74ab35b50436685c3bc241f22e9d62af23bc7320 (diff) | |
download | chromium_src-a7b331e94c7b658c55cb3ce93b712b9d671d2e07.zip chromium_src-a7b331e94c7b658c55cb3ce93b712b9d671d2e07.tar.gz chromium_src-a7b331e94c7b658c55cb3ce93b712b9d671d2e07.tar.bz2 |
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}
Diffstat (limited to 'android_webview/android_webview.gyp')
-rw-r--r-- | android_webview/android_webview.gyp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/android_webview/android_webview.gyp b/android_webview/android_webview.gyp index f9cd183..8378d0e 100644 --- a/android_webview/android_webview.gyp +++ b/android_webview/android_webview.gyp @@ -350,6 +350,8 @@ 'browser/gl_view_renderer_manager.h', 'browser/net/android_stream_reader_url_request_job.cc', 'browser/net/android_stream_reader_url_request_job.h', + 'browser/net/aw_cookie_store_wrapper.cc', + 'browser/net/aw_cookie_store_wrapper.h', 'browser/net/aw_http_user_agent_settings.h', 'browser/net/aw_http_user_agent_settings.cc', 'browser/net/aw_network_change_notifier.cc', |