ozone: evdev: Sync caps lock LED state to evdev
[chromium-blink-merge.git] / chrome / browser / ssl / ssl_client_auth_requestor_mock.h
blob7d63a7c8224349108b38aba4a501d9d856e70c2f
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.
5 #ifndef CHROME_BROWSER_SSL_SSL_CLIENT_AUTH_REQUESTOR_MOCK_H_
6 #define CHROME_BROWSER_SSL_SSL_CLIENT_AUTH_REQUESTOR_MOCK_H_
8 #include "base/memory/ref_counted.h"
9 #include "testing/gmock/include/gmock/gmock.h"
11 namespace net {
12 class HttpNetworkSession;
13 class SSLCertRequestInfo;
14 class URLRequest;
15 class X509Certificate;
18 class SSLClientAuthRequestorMock
19 : public base::RefCountedThreadSafe<SSLClientAuthRequestorMock> {
20 public:
21 SSLClientAuthRequestorMock(
22 net::URLRequest* request,
23 const scoped_refptr<net::SSLCertRequestInfo>& cert_request_info);
25 MOCK_METHOD1(CertificateSelected, void(net::X509Certificate* cert));
27 scoped_refptr<net::SSLCertRequestInfo> cert_request_info_;
29 protected:
30 friend class base::RefCountedThreadSafe<SSLClientAuthRequestorMock>;
31 virtual ~SSLClientAuthRequestorMock();
34 #endif // CHROME_BROWSER_SSL_SSL_CLIENT_AUTH_REQUESTOR_MOCK_H_