Index: content/shell/browser/shell_content_browser_client.h |
diff --git a/content/shell/browser/shell_content_browser_client.h b/content/shell/browser/shell_content_browser_client.h |
index e78062fddb44dc03c7c2391181723a9c3e17d4eb..6360f2c2f369f50a4ccd564a51d2ce46abb0f08c 100644 |
--- a/content/shell/browser/shell_content_browser_client.h |
+++ b/content/shell/browser/shell_content_browser_client.h |
@@ -54,6 +54,10 @@ class ShellContentBrowserClient : public ContentBrowserClient { |
WebContentsViewDelegate* GetWebContentsViewDelegate( |
WebContents* web_contents) override; |
QuotaPermissionContext* CreateQuotaPermissionContext() override; |
+ void SelectClientCertificate( |
+ WebContents* web_contents, |
+ net::SSLCertRequestInfo* cert_request_info, |
+ scoped_ptr<ClientCertificateDelegate> delegate) override; |
void RequestPermission( |
PermissionType permission, |
WebContents* web_contents, |
@@ -94,6 +98,12 @@ class ShellContentBrowserClient : public ContentBrowserClient { |
return shell_browser_main_parts_; |
} |
+ // Used for content_browsertests. |
+ void set_select_client_certificate_callback( |
+ base::Closure select_client_certificate_callback) { |
+ select_client_certificate_callback_ = select_client_certificate_callback; |
+ } |
+ |
private: |
ShellBrowserContext* ShellBrowserContextForBrowserContext( |
BrowserContext* content_browser_context); |
@@ -106,6 +116,8 @@ class ShellContentBrowserClient : public ContentBrowserClient { |
base::ScopedFD v8_snapshot_fd_; |
#endif |
+ base::Closure select_client_certificate_callback_; |
+ |
ShellBrowserMainParts* shell_browser_main_parts_; |
}; |