Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(841)

Unified Diff: content/browser/renderer_host/pepper/content_browser_pepper_host_factory.h

Issue 19005006: Switched proxy for TCPServerSocketPrivate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed content_unittests. Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/pepper/content_browser_pepper_host_factory.h
diff --git a/content/browser/renderer_host/pepper/content_browser_pepper_host_factory.h b/content/browser/renderer_host/pepper/content_browser_pepper_host_factory.h
index c49dfed44ef9e0ae9ed171efc4247afebec6d16c..f494700efe29fc7210e0964db6b27fa0bc33f928 100644
--- a/content/browser/renderer_host/pepper/content_browser_pepper_host_factory.h
+++ b/content/browser/renderer_host/pepper/content_browser_pepper_host_factory.h
@@ -6,6 +6,8 @@
#define CONTENT_BROWSER_PEPPER_CONTENT_BROWSER_PEPPER_HOST_FACTORY_H_
#include "base/compiler_specific.h"
+#include "base/memory/ref_counted.h"
+#include "content/browser/renderer_host/pepper/pepper_message_filter.h"
#include "ppapi/host/host_factory.h"
namespace ppapi {
@@ -19,7 +21,9 @@ class BrowserPpapiHostImpl;
class ContentBrowserPepperHostFactory : public ppapi::host::HostFactory {
public:
// Non-owning pointer to the filter must outlive this class.
- explicit ContentBrowserPepperHostFactory(BrowserPpapiHostImpl* host);
+ ContentBrowserPepperHostFactory(
+ BrowserPpapiHostImpl* host,
+ const scoped_refptr<PepperMessageFilter>& pepper_message_filter);
yzshen1 2013/07/19 23:51:58 Please add a TODO that we should remove this param
ygorshenin1 2013/07/29 14:03:57 Done.
virtual ~ContentBrowserPepperHostFactory();
virtual scoped_ptr<ppapi::host::ResourceHost> CreateResourceHost(
@@ -34,6 +38,8 @@ class ContentBrowserPepperHostFactory : public ppapi::host::HostFactory {
// Non-owning pointer.
BrowserPpapiHostImpl* host_;
+ scoped_refptr<PepperMessageFilter> pepper_message_filter_;
+
DISALLOW_COPY_AND_ASSIGN(ContentBrowserPepperHostFactory);
};

Powered by Google App Engine
This is Rietveld 408576698