summaryrefslogtreecommitdiffstats
path: root/ppapi/ppapi_host.gypi
diff options
context:
space:
mode:
authorraymes@google.com <raymes@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-18 01:53:57 +0000
committerraymes@google.com <raymes@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-18 01:53:57 +0000
commitb9ce9dd6dc531ffd20714610f18ad2e8766f1ff7 (patch)
tree22f09c1be4e3ca9a1fc8c330dfdca709a5ba6fd0 /ppapi/ppapi_host.gypi
parentddc6d877066d01a136e1b40c86865760d8cf414a (diff)
downloadchromium_src-b9ce9dd6dc531ffd20714610f18ad2e8766f1ff7.zip
chromium_src-b9ce9dd6dc531ffd20714610f18ad2e8766f1ff7.tar.gz
chromium_src-b9ce9dd6dc531ffd20714610f18ad2e8766f1ff7.tar.bz2
Introduce MessageFilterHost for Pepper ResourceHosts.
This introduces a MessageFilterHost which is a generic Pepper ResourceHost which can be used when all the ResourceHost does is forward messages to a message filter. It seems good to keep the logic for handling resource messages on a background thread separate in the ResourceMessageFilter class. However, currently when writing a ResourceHost that uses a ResourceMessageFilter, the host ends up being empty. Also, we've been putting the code for the host and the message filter in the same file which is bad for code readability. MessageFilterHost can be used as a generic host in this case such that only the ResourceMessageFilter needs to be written. This reduces the amount of boilerplate needed in cases like this. BUG= Review URL: https://codereview.chromium.org/11601004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173619 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/ppapi_host.gypi')
-rw-r--r--ppapi/ppapi_host.gypi2
1 files changed, 2 insertions, 0 deletions
diff --git a/ppapi/ppapi_host.gypi b/ppapi/ppapi_host.gypi
index 446a8289a..4031c77 100644
--- a/ppapi/ppapi_host.gypi
+++ b/ppapi/ppapi_host.gypi
@@ -27,6 +27,8 @@
'host/host_message_context.h',
'host/instance_message_filter.cc',
'host/instance_message_filter.h',
+ 'host/message_filter_host.cc',
+ 'host/message_filter_host.h',
'host/ppapi_host.cc',
'host/ppapi_host.h',
'host/ppapi_host_export.h',