summaryrefslogtreecommitdiffstats
path: root/net/socket/socket_test_util.cc
diff options
context:
space:
mode:
authorrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-06 18:11:12 +0000
committerrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-06 18:11:12 +0000
commit4f40354683153162d6cb310aba339a7696f84e0f (patch)
treec89095d726ba576f0a29d1d72b2d08a341de151f /net/socket/socket_test_util.cc
parent6909587866caaf1fc1ddb1ded8fcc69687ecefd1 (diff)
downloadchromium_src-4f40354683153162d6cb310aba339a7696f84e0f.zip
chromium_src-4f40354683153162d6cb310aba339a7696f84e0f.tar.gz
chromium_src-4f40354683153162d6cb310aba339a7696f84e0f.tar.bz2
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
Diffstat (limited to 'net/socket/socket_test_util.cc')
-rw-r--r--net/socket/socket_test_util.cc4
1 files changed, 3 insertions, 1 deletions
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;
}