Currently net uses a number of globals, all in HttpStreamFactory, for NPN configuration. These make for a rather ugly API, with unexpected effects (Change configuration while running chrome, and old connections may be grandfathered in, for instance).
One side effect of this is that other projects making use of the network stack do not get SPDY support unless they specifically enable it.
We should instead make these all part of the HttpNetworkSession, and give them reasonable defaults. I consider this part of the refactoring needed to make Cronet have a reasonable API.
Comment 1 by mmenke@chromium.org
, May 12 2014