From 4f40354683153162d6cb310aba339a7696f84e0f Mon Sep 17 00:00:00 2001 From: "rch@chromium.org" Date: Mon, 6 Aug 2012 18:11:12 +0000 Subject: Implement TLS Channel ID support for SPDY CREDENTIAL frames BUG=139700 Review URL: https://chromiumcodereview.appspot.com/10807088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150112 0039d316-1c4b-4281-b951-d872f2087c98 --- net/socket/socket_test_util.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'net/socket/socket_test_util.cc') diff --git a/net/socket/socket_test_util.cc b/net/socket/socket_test_util.cc index 5b6d05f..41ccd08 100644 --- a/net/socket/socket_test_util.cc +++ b/net/socket/socket_test_util.cc @@ -686,6 +686,8 @@ SSLClientSocket* MockClientSocketFactory::CreateSSLClientSocket( void MockClientSocketFactory::ClearSSLSessionCache() { } +const char MockClientSocket::kTlsUnique[] = "MOCK_TLSUNIQ"; + MockClientSocket::MockClientSocket(net::NetLog* net_log) : ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)), connected_(false), @@ -746,7 +748,7 @@ int MockClientSocket::ExportKeyingMaterial(const base::StringPiece& label, } int MockClientSocket::GetTLSUniqueChannelBinding(std::string* out) { - out->assign("MOCK_TLSUNIQ"); + out->assign(MockClientSocket::kTlsUnique); return OK; } -- cgit v1.1