GN: Make content_shell and webkit_unit_tests work in component build

Except for webrtc, this produces content_shell and webkit_unit_tests
binaries that link and run successfully on linux.

R=brettw@chromium.org

Review URL: https://codereview.chromium.org/462983002

git-svn-id: http://src.chromium.org/svn/trunk/src/net@289007 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Use ARRAYSIZE_UNSAFE when using types defined in a function

Small followup from https://codereview.chromium.org/423333002

This allows the test to compile on a greater range of toolchains (some
of which break when using types defined in a function with arraysize).

Review URL: https://codereview.chromium.org/456403002

git-svn-id: http://src.chromium.org/svn/trunk/src/net@289051 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
net: set a batch of HSTS preloads.

git-svn-id: http://src.chromium.org/svn/trunk/src/net@289055 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Export URLRequestContextBuilder::SchemeFactory

The inner class needs to be exported in case any uses in inline methods
or vtable of the outer class causes it to potentially be referenced across
a shared library boundary.

On non-Windows, the visibility attribute is already inherited by nested
classes, but on Windows, they must be marked explicitly.

BUG=82385

Review URL: https://codereview.chromium.org/464563004

git-svn-id: http://src.chromium.org/svn/trunk/src/net@289093 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
net: add a batch of HSTS preloads.

git-svn-id: http://src.chromium.org/svn/trunk/src/net@289139 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Update presubmit files to send windows tryjobs to swarming bots, now that the CQ has switched over.

R=avi@chromium.org

Review URL: https://codereview.chromium.org/461313002

git-svn-id: http://src.chromium.org/svn/trunk/src/net@289157 4ff67af0-8c30-449e-8e8b-ad334ec8d88c