Avoid static_cast<SSLClientSocket>(StreamSocket).

Move four methods: GetSSLCertRequestInfo(), GetChannelIDService(),
GetTokenBindingSignature(), and GetChannelIDKey() from SSLClientSocket
to its base class's base class, StreamSocket.  Also make
GetSSLCertRequestInfo() const.  Provide dummy implementations, with
NOTREACHED(), in base class, to make it less painful to implement a new
derived class.

Remove 11 accounts of static_cast<SSLClientSocket*>(StreamSocket).  The
only remaining invocations are within SSLClientSocketImpl.

Bug: 826713
Change-Id: I1f87d31204b95687e6552b7d6f02578de4321eaf
Reviewed-on: https://chromium-review.googlesource.com/1010106
Commit-Queue: Bence Béky <[email protected]>
Reviewed-by: Istiaque Ahmed <[email protected]>
Reviewed-by: Nick Harper <[email protected]>
Cr-Commit-Position: refs/heads/master@{#550554}
16 files changed