Revert 289433 "Refactor pooling logic into a helper method"

Reason for revert:
Causes crashes in canary.

> Refactor pooling logic into a helper method
> Disable pooling when there are cert errors.
> Disable pooling when pinning does not match for the new host.
> 
> BUG=398925
> 
> Review URL: https://codereview.chromium.org/425803014

TBR=rch@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/net@289937 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Raise memory limit for SDCH for mobile.

R=mef@chromium.org
BUG=374917

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/net@289962 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Mark two inner classes in net/ exported

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
R=thakis@chromium.org, willchan@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/net@289977 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Rename Chromium-Resource-Freshness header

The "Resource-Freshness" header was temporarily named
"Chromium-Resource-Freshness" during development.

Since Chrome policy is to avoid using vendor prefixes, we should not
ship the browser to stable with this header name.

Rename the header to "Resource-Freshness".

TEST=net_unittests
BUG=348877

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

git-svn-id: http://src.chromium.org/svn/trunk/src/net@289978 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Move sqlite_channel_id_store from chrome/browser/net to net/extras.
Application of special storage policy is split out into chrome/browser/net/quota_policy_channel_id_store. 

TEST=net_unittests --gtest_filter=SQLiteChannelIDStoreTest*
TEST=unit_tests --gtest_filter=QuotaPolicyChannelIDStore*

BUG=397545

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

git-svn-id: http://src.chromium.org/svn/trunk/src/net@289996 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Plumb redirect info out of net, through content, and into child processes.

This saves the logic in PluginURLFetcher and WebURLLoader that has to replicate
the method-munging, referrer-munging, and first-party-URL-munging logic that is
already done in net/.

BUG=384609

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

git-svn-id: http://src.chromium.org/svn/trunk/src/net@290005 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Landing Recent QUIC Changes.

Change how QUIC negotiates pacing from congestion feedback to QUIC
connection option.

Merge internal change: 73061068
https://codereview.chromium.org/471613002/


Add max_bandwidth and max_bandwidth_timestamp to QUIC source address
token.

Merge internal change: 73055131
https://codereview.chromium.org/463093003/


Don't print (SCUP) in log message, the DebugString that follows contains
this already.

Merge internal change: 73054570
https://codereview.chromium.org/464893003/


Do not support Quic timestamp feedback type in the framer.

Merge internal change: 72905602
https://codereview.chromium.org/467893002/


Change QUIC's delayed ack timer from 100ms to 25ms.

Rationale: This delay kicks in when the receiver is waiting for a second
data packet before sending an ack, and 100ms seems inordinately long for
this wait. The timer fires per-packet in low-bandwidth network paths
(BW < ~384 kbps), where more frequent acks helps with (i) ack clocking,
and (ii) better bw estimation for BBR.

Merge internal change: 72788368
https://codereview.chromium.org/461183002/


QUIC - clean up changes to keep in sync with internal source tree.
https://codereview.chromium.org/454263002/

R=rch@chromium.org
TBR=thestig@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/net@290018 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Revert of Move sqlite_channel_id_store from chrome/browser/net to net/extras. (patchset #26 of https://codereview.chromium.org/381073002/)

Reason for revert:
Closed the tree on failing net_unittests:

http://build.chromium.org/p/chromium.linux/buildstatus?builder=Linux%20Tests%20%28dbg%29%281%29&number=32912

Original issue's description:
> Move sqlite_channel_id_store from chrome/browser/net to net/extras.
> Application of special storage policy is split out into chrome/browser/net/quota_policy_channel_id_store. 
> 
> TEST=net_unittests --gtest_filter=SQLiteChannelIDStoreTest*
> TEST=unit_tests --gtest_filter=QuotaPolicyChannelIDStore*
> 
> BUG=397545
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289996

TBR=mef@chromium.org
NOTREECHECKS=true
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/net@290038 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Keep track of network error in ProxyRetryInfo.

Use it to log error type in BypassOneNetworkError UMA.
This fixes DataReductionProxy.BypassOnNetworkError UMA recording bug.

BUG=395769

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

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