Index: net/socket/socket_test_util.cc |
diff --git a/net/socket/socket_test_util.cc b/net/socket/socket_test_util.cc |
index 5b6d05f1b191084987669e663a034a950b622642..41ccd08c0233e5da76928a1907c20ec47eb1fd74 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; |
} |