| Index: chrome/renderer/content_settings_observer.cc
|
| diff --git a/chrome/renderer/content_settings_observer.cc b/chrome/renderer/content_settings_observer.cc
|
| index 1e00b6cb13b413fc408f4680a4760943f5e11a2a..b99ebe445c237632fd733c5d8564b60977f5c1c7 100644
|
| --- a/chrome/renderer/content_settings_observer.cc
|
| +++ b/chrome/renderer/content_settings_observer.cc
|
| @@ -593,6 +593,15 @@ bool ContentSettingsObserver::allowRunningInsecureContent(
|
| return true;
|
| }
|
|
|
| +void ContentSettingsObserver::usedKeygen() {
|
| + WebFrame* frame = render_frame()->GetWebFrame();
|
| + bool allow = false;
|
| + Send(new ChromeViewHostMsg_AllowKeygen(
|
| + routing_id(), GURL(frame->securityOrigin().toString()), &allow));
|
| + if (!allow)
|
| + DidBlockContentType(CONTENT_SETTINGS_TYPE_KEYGEN);
|
| +}
|
| +
|
| void ContentSettingsObserver::didNotAllowPlugins() {
|
| DidBlockContentType(CONTENT_SETTINGS_TYPE_PLUGINS);
|
| }
|
|
|