a106993a51
This is a generally useful method, not specific to CookieManager. I want to use it to modify the behaviour of CacheManager when we're using the Chrome HTTP stack. Corresponding C++ changes in I78a92cb2 BUG=3270236 Change-Id: I56b0ddcaa93ef340f4ffc3578486c3c96316f2ec