| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_BROWSER_SSL_SSL_CLIENT_AUTH_HANDLER_MOCK_H_ | |
| 6 #define CONTENT_BROWSER_SSL_SSL_CLIENT_AUTH_HANDLER_MOCK_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "content/browser/ssl/ssl_client_auth_handler.h" | |
| 10 #include "testing/gmock/include/gmock/gmock.h" | |
| 11 | |
| 12 class SSLClientAuthHandlerMock : public SSLClientAuthHandler { | |
| 13 public: | |
| 14 SSLClientAuthHandlerMock( | |
| 15 net::URLRequest* request, | |
| 16 net::SSLCertRequestInfo* cert_request_info); | |
| 17 ~SSLClientAuthHandlerMock(); | |
| 18 | |
| 19 MOCK_METHOD1(CertificateSelectedNoNotify, void(net::X509Certificate* cert)); | |
| 20 | |
| 21 private: | |
| 22 DISALLOW_COPY_AND_ASSIGN(SSLClientAuthHandlerMock); | |
| 23 }; | |
| 24 | |
| 25 | |
| 26 #endif // CONTENT_BROWSER_SSL_SSL_CLIENT_AUTH_HANDLER_MOCK_H_ | |
| OLD | NEW |