Index: chrome/browser/ssl/ssl_client_auth_requestor_mock.h |
diff --git a/chrome/browser/ssl/ssl_client_auth_requestor_mock.h b/chrome/browser/ssl/ssl_client_auth_requestor_mock.h |
index 7d63a7c8224349108b38aba4a501d9d856e70c2f..6801d1a04961f360fcd648bedcf0e7b5b5025bee 100644 |
--- a/chrome/browser/ssl/ssl_client_auth_requestor_mock.h |
+++ b/chrome/browser/ssl/ssl_client_auth_requestor_mock.h |
@@ -6,8 +6,13 @@ |
#define CHROME_BROWSER_SSL_SSL_CLIENT_AUTH_REQUESTOR_MOCK_H_ |
#include "base/memory/ref_counted.h" |
+#include "base/memory/scoped_ptr.h" |
#include "testing/gmock/include/gmock/gmock.h" |
+namespace content { |
+class ClientCertificateDelegate; |
+} |
+ |
namespace net { |
class HttpNetworkSession; |
class SSLCertRequestInfo; |
@@ -22,7 +27,10 @@ class SSLClientAuthRequestorMock |
net::URLRequest* request, |
const scoped_refptr<net::SSLCertRequestInfo>& cert_request_info); |
+ scoped_ptr<content::ClientCertificateDelegate> CreateDelegate(); |
+ |
MOCK_METHOD1(CertificateSelected, void(net::X509Certificate* cert)); |
+ MOCK_METHOD0(CancelCertificateSelection, void()); |
scoped_refptr<net::SSLCertRequestInfo> cert_request_info_; |