From 9c4eff26e509149d2133268af7744a5cdb079dd1 Mon Sep 17 00:00:00 2001 From: "mattm@chromium.org" Date: Tue, 20 Mar 2012 22:42:29 +0000 Subject: Change Origin bound certs -> Domain bound certs. BUG=115348 TEST=unit tests, manually checked 'Origin Bound Certs' contents after browsing TBR=jam@chromium.org,willchan@chromium.org Review URL: https://chromiumcodereview.appspot.com/9617039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127817 0039d316-1c4b-4281-b951-d872f2087c98 --- net/socket/socket_test_util.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'net/socket/socket_test_util.h') diff --git a/net/socket/socket_test_util.h b/net/socket/socket_test_util.h index ecd671c..f678614 100644 --- a/net/socket/socket_test_util.h +++ b/net/socket/socket_test_util.h @@ -48,7 +48,7 @@ enum { class AsyncSocket; class MockClientSocket; -class OriginBoundCertService; +class ServerBoundCertService; class SSLClientSocket; class SSLHostInfo; class StreamSocket; @@ -280,8 +280,8 @@ struct SSLSocketDataProvider { bool client_cert_sent; SSLCertRequestInfo* cert_request_info; scoped_refptr cert; - SSLClientCertType origin_bound_cert_type; - OriginBoundCertService* origin_bound_cert_service; + SSLClientCertType domain_bound_cert_type; + ServerBoundCertService* server_bound_cert_service; }; // A DataProvider where the client must write a request before the reads (e.g. @@ -602,7 +602,7 @@ class MockClientSocket : public SSLClientSocket { unsigned int outlen) OVERRIDE; virtual NextProtoStatus GetNextProto(std::string* proto, std::string* server_protos) OVERRIDE; - virtual OriginBoundCertService* GetOriginBoundCertService() const OVERRIDE; + virtual ServerBoundCertService* GetServerBoundCertService() const OVERRIDE; protected: virtual ~MockClientSocket(); @@ -757,11 +757,11 @@ class MockSSLClientSocket : public MockClientSocket, public AsyncSocket { // This MockSocket does not implement the manual async IO feature. virtual void OnReadComplete(const MockRead& data) OVERRIDE; - virtual bool WasOriginBoundCertSent() const OVERRIDE; - virtual SSLClientCertType origin_bound_cert_type() const OVERRIDE; - virtual SSLClientCertType set_origin_bound_cert_type( + virtual bool WasDomainBoundCertSent() const OVERRIDE; + virtual SSLClientCertType domain_bound_cert_type() const OVERRIDE; + virtual SSLClientCertType set_domain_bound_cert_type( SSLClientCertType type) OVERRIDE; - virtual OriginBoundCertService* GetOriginBoundCertService() const OVERRIDE; + virtual ServerBoundCertService* GetServerBoundCertService() const OVERRIDE; private: static void ConnectCallback(MockSSLClientSocket *ssl_client_socket, -- cgit v1.1