In particular, remove them from net/ssl/ssl_info.h,
net/url_request/url_request_context.h, and
net/http/alternative_service.h. The first two were among the top 550
edges in terms of total contributions to translation unit size when
building Chrome, and the third I noticed when dealing with the fallout.
Also fix a bunch of IWYU issues that this revealed. The only interesting
one of these is transport_security_state_static.template. The file
attempts to include a number of headers, but since it's always included
in a nested namespace, this doesn't actually work. It was only building
because files that include it already included
transport_security_state_source.h, and the other two headers it
includes are entirely inlined, which isn't a reasonable expectation.
Instead, have files that include it bring in those headers themselves.
Bug: 1227131
Change-Id: Idb2a1637c1e5cd0b8ae7cd741c62f4c26a11de6e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3078384
Reviewed-by: Ryan Sleevi <rsleevi@chromium.org>
Reviewed-by: Carlos IL <carlosil@chromium.org>
Commit-Queue: Matt Menke <mmenke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#912654}