Revert 290384 "Revert 289433 "Refactor pooling logic into a help..."

Oops, reverted the original land, not the re-land.

> Revert 289433 "Refactor pooling logic into a helper method"
> 
> (Test-only?) leaks (see bug). The lsan suppressions file tells me to
> revert, not suppress.
> 
> BUG=404833
> 
> > 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/483043002

TBR=viettrungluu@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#290385}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290385 0039d316-1c4b-4281-b951-d872f2087c98
16 files changed