Implement Mojo service for cookie access

Desktop / Chromium - Randy Smith [chromium.org] - 10 August 2017 21:29 EDT

This CL implements the Mojo interface to cookies described in https://docs.google.com/document/d/1s1vL8hNDPvOhssgsp8HjgL9yKZMzwo50yY5Hy8X6iE4/edit. The intent is that all cookie accesses from chrome/, content/, and renderers will be switched to use this interface.

Bug: 721395 Change-Id: I4b476d3629b276916f1842a9ac267bd5693aa9e5 Reviewed-on: https://chromium-review.googlesource.com/588074 Commit-Queue: Randy Smith

323ea0e Implement Mojo service for cookie access.
content/network/BUILD.gn | 2 +
content/network/DEPS | 1 +
content/network/cookie_manager_impl.cc | 213 ++++++
content/network/cookie_manager_impl.h | 96 +++
content/network/cookie_manager_impl_unittest.cc | 904 ++++++++++++++++++++++++
content/public/common/BUILD.gn | 3 +
content/public/common/cookie_manager.mojom | 158 +++++
content/public/common/cookie_manager.typemap | 18 +
content/public/common/cookie_manager_traits.cc | 175 +++++
content/public/common/cookie_manager_traits.h | 109 +++
content/public/common/typemaps.gni | 1 +
content/test/BUILD.gn | 1 +
net/cookies/canonical_cookie.cc | 1 +
net/cookies/cookie_constants.h | 3 +
net/cookies/cookie_options.cc | 1 +
net/cookies/cookie_options.h | 1 +
net/cookies/cookie_store.h | 10 +-
17 files changed, 1693 insertions(+), 4 deletions(-)

Upstream: git.chromium.org


  • Share