Index: chrome/browser/tab_contents/tab_contents.cc |
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc |
index d3f272924e2dda887883caffcd71b4bc7dbcf4ff..01ff6906d0260002364d7e9f52ec4d19698c4172 100644 |
--- a/chrome/browser/tab_contents/tab_contents.cc |
+++ b/chrome/browser/tab_contents/tab_contents.cc |
@@ -70,6 +70,7 @@ |
#include "chrome/browser/tab_contents/navigation_entry.h" |
#include "chrome/browser/tab_contents/provisional_load_details.h" |
#include "chrome/browser/tab_contents/tab_contents_delegate.h" |
+#include "chrome/browser/tab_contents/tab_contents_ssl_helper.h" |
#include "chrome/browser/tab_contents/tab_contents_view.h" |
#include "chrome/browser/tab_contents/thumbnail_generator.h" |
#include "chrome/browser/translate/page_translated_details.h" |
@@ -500,6 +501,12 @@ PluginInstaller* TabContents::GetPluginInstaller() { |
return plugin_installer_.get(); |
} |
+TabContentsSSLHelper* TabContents::GetSSLHelper() { |
+ if (ssl_helper_.get() == NULL) |
+ ssl_helper_.reset(new TabContentsSSLHelper(this)); |
+ return ssl_helper_.get(); |
+} |
+ |
RenderProcessHost* TabContents::GetRenderProcessHost() const { |
return render_manager_.current_host()->process(); |
} |
@@ -2172,6 +2179,10 @@ RenderViewHostDelegate::AutoFill* TabContents::GetAutoFillDelegate() { |
return GetAutoFillManager(); |
} |
+RenderViewHostDelegate::SSL* TabContents::GetSSLDelegate() { |
+ return GetSSLHelper(); |
+} |
+ |
AutomationResourceRoutingDelegate* |
TabContents::GetAutomationResourceRoutingDelegate() { |
return delegate(); |