HttpNetworkSession::Params currently contains two types of objects: data of basically POD types (including vectors) that it owns, and have no ownership/lifetime issues, and raw pointers to things it does not own, with more complicated lifetimes.
I want to split these up into two classes, and make the URLRequestContextBuilder take the POD types as an arugment (Right now, it takes URLRequestContextBuilder ::HttpNetworkSessionParams, which is a random subset of the POD types, and has to match the initialization logic of HttpNetworkSession::Params). That way, we can only have one copy of the initialization logic, and pass the set of real params directly to the URLRequestContextBuilder, which is what we should use to create all URLRequestContexts, going forward.
Comment 1 by mmenke@chromium.org
, May 23 2017