Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1520)

Unified Diff: chrome/browser/ui/views/ssl_client_certificate_selector.h

Issue 859213006: Cancel client auth requests when not promptable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@client-auth-cancel-1
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/ui/views/ssl_client_certificate_selector.h
diff --git a/chrome/browser/ui/views/ssl_client_certificate_selector.h b/chrome/browser/ui/views/ssl_client_certificate_selector.h
index d80fc826914e41b0ca542982c14f07264695561e..5f9c1e29773a29d001edaf76257aa2534ce137ee 100644
--- a/chrome/browser/ui/views/ssl_client_certificate_selector.h
+++ b/chrome/browser/ui/views/ssl_client_certificate_selector.h
@@ -29,7 +29,7 @@ class SSLClientCertificateSelector : public chrome::CertificateSelector,
SSLClientCertificateSelector(
content::WebContents* web_contents,
const scoped_refptr<net::SSLCertRequestInfo>& cert_request_info,
- const chrome::SelectCertificateCallback& callback);
+ scoped_ptr<content::ClientCertificateDelegate> delegate);
~SSLClientCertificateSelector() override;
void Init();
@@ -40,6 +40,7 @@ class SSLClientCertificateSelector : public chrome::CertificateSelector,
// chrome::CertificateSelector:
bool Cancel() override;
bool Accept() override;
+ bool Close() override;
private:
// Callback after unlocking certificate slot.

Powered by Google App Engine
This is Rietveld 408576698