summaryrefslogtreecommitdiffstats
path: root/content/browser/ssl/ssl_client_auth_handler_mock.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/ssl/ssl_client_auth_handler_mock.h')
-rw-r--r--content/browser/ssl/ssl_client_auth_handler_mock.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/content/browser/ssl/ssl_client_auth_handler_mock.h b/content/browser/ssl/ssl_client_auth_handler_mock.h
new file mode 100644
index 0000000..4ebb6f0
--- /dev/null
+++ b/content/browser/ssl/ssl_client_auth_handler_mock.h
@@ -0,0 +1,23 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_BROWSER_SSL_SSL_CLIENT_AUTH_HANDLER_MOCK_H_
+#define CONTENT_BROWSER_SSL_SSL_CLIENT_AUTH_HANDLER_MOCK_H_
+#pragma once
+
+#include "content/browser/ssl/ssl_client_auth_handler.h"
+#include "testing/gmock/include/gmock/gmock.h"
+
+class SSLClientAuthHandlerMock : public SSLClientAuthHandler {
+ public:
+ SSLClientAuthHandlerMock(
+ net::URLRequest* request,
+ net::SSLCertRequestInfo* cert_request_info)
+ : SSLClientAuthHandler(request, cert_request_info) {
+ }
+ MOCK_METHOD1(CertificateSelectedNoNotify, void(net::X509Certificate* cert));
+};
+
+
+#endif // CONTENT_BROWSER_SSL_SSL_CLIENT_AUTH_HANDLER_MOCK_H_