app: event to pass client certificate data

This commit is contained in:
deepak1556 2015-06-11 20:52:07 +05:30
parent 1418fdbc02
commit 0fbd908fb6
7 changed files with 132 additions and 7 deletions

View file

@ -7,6 +7,17 @@
#include <string>
#include "base/memory/scoped_ptr.h"
namespace content {
class ClientCertificateDelegate;
class WebContents;
}
namespace net {
class SSLCertRequestInfo;
}
namespace atom {
class BrowserObserver {
@ -40,6 +51,12 @@ class BrowserObserver {
virtual void OnWillFinishLaunching() {}
virtual void OnFinishLaunching() {}
// The browser requires client certificate.
virtual void OnSelectCertificate(
content::WebContents* web_contents,
net::SSLCertRequestInfo* cert_request_info,
scoped_ptr<content::ClientCertificateDelegate> delegate) {}
protected:
virtual ~BrowserObserver() {}
};