Index: content/shell/browser/shell_browser_context.cc |
diff --git a/content/shell/browser/shell_browser_context.cc b/content/shell/browser/shell_browser_context.cc |
index d953dbe0065734d5a973409e77f6db141f4cb2ab..92801658384abeca855138cd4fcf4d96f1006b81 100644 |
--- a/content/shell/browser/shell_browser_context.cc |
+++ b/content/shell/browser/shell_browser_context.cc |
@@ -18,6 +18,7 @@ |
#include "content/shell/browser/shell_download_manager_delegate.h" |
#include "content/shell/browser/shell_url_request_context_getter.h" |
#include "content/shell/common/shell_switches.h" |
+#include "net/base/keygen_handler.h" |
#if defined(OS_WIN) |
#include "base/base_paths_win.h" |
@@ -77,6 +78,15 @@ ShellBrowserContext::~ShellBrowserContext() { |
} |
} |
+void ShellBrowserContext::CreateKeygenHandler( |
+ uint32 key_size_in_bits, |
+ const std::string& challenge_string, |
+ const GURL& url, |
+ const base::Callback<void(scoped_ptr<net::KeygenHandler>)>& callback) { |
+ scoped_ptr<net::KeygenHandler> handler( |
+ new net::KeygenHandler(key_size_in_bits, challenge_string, url)); |
+} |
+ |
void ShellBrowserContext::InitWhileIOAllowed() { |
CommandLine* cmd_line = CommandLine::ForCurrentProcess(); |
if (cmd_line->HasSwitch(switches::kIgnoreCertificateErrors) || |