Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: chrome/browser/ssl/ssl_client_auth_requestor_mock.h

Issue 859213006: Cancel client auth requests when not promptable. (Closed) Base URL:
Patch Set: worker_common.js was missing a license header (also a rebase) Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 @@
#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_;
« no previous file with comments | « chrome/browser/ssl/ ('k') | chrome/browser/ssl/ » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698