Index: content/browser/renderer_host/pepper/browser_ppapi_host_impl.h |
diff --git a/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h b/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h |
index 9723634b79d2336fee49b4c42bab26dc79690217..86c1b7ccbf31fbd933d4c5c399d5b43c0040c588 100644 |
--- a/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h |
+++ b/content/browser/renderer_host/pepper/browser_ppapi_host_impl.h |
@@ -13,7 +13,7 @@ |
#include "base/files/file_path.h" |
#include "base/memory/ref_counted.h" |
#include "content/browser/renderer_host/pepper/content_browser_pepper_host_factory.h" |
-#include "content/browser/renderer_host/pepper/pepper_message_filter.h" |
+#include "content/browser/renderer_host/pepper/ssl_context_helper.h" |
#include "content/common/content_export.h" |
#include "content/public/browser/browser_ppapi_host.h" |
#include "content/public/common/process_type.h" |
@@ -37,10 +37,7 @@ class CONTENT_EXPORT BrowserPpapiHostImpl : public BrowserPpapiHost { |
const std::string& plugin_name, |
const base::FilePath& plugin_path, |
const base::FilePath& profile_data_directory, |
- bool external_plugin, |
- // TODO (ygorshenin@): remove this once TCP sockets are |
- // converted to the new design. |
- const scoped_refptr<PepperMessageFilter>& pepper_message_filter); |
+ bool external_plugin); |
virtual ~BrowserPpapiHostImpl(); |
// BrowserPpapiHost. |
@@ -73,6 +70,10 @@ class CONTENT_EXPORT BrowserPpapiHostImpl : public BrowserPpapiHost { |
return message_filter_; |
} |
+ const scoped_refptr<SSLContextHelper>& ssl_context_helper() const { |
+ return ssl_context_helper_; |
+ } |
+ |
private: |
friend class BrowserPpapiHostTest; |
@@ -104,6 +105,8 @@ class CONTENT_EXPORT BrowserPpapiHostImpl : public BrowserPpapiHost { |
// BrowserPpapiHost::CreateExternalPluginProcess. |
bool external_plugin_; |
+ scoped_refptr<SSLContextHelper> ssl_context_helper_; |
+ |
// Tracks all PP_Instances in this plugin and associated renderer-related |
// data. |
typedef std::map<PP_Instance, PepperRendererInstanceData> InstanceMap; |