Index: ppapi/host/resource_message_filter.h |
diff --git a/ppapi/host/resource_message_filter.h b/ppapi/host/resource_message_filter.h |
index b72a7df7db286fb8a2d1c7dff6c6e0d217286e45..67e9b79da461cf6a054fd616d37fa8c40b11b752 100644 |
--- a/ppapi/host/resource_message_filter.h |
+++ b/ppapi/host/resource_message_filter.h |
@@ -106,6 +106,10 @@ class PPAPI_HOST_EXPORT ResourceMessageFilter |
protected: |
virtual ~ResourceMessageFilter(); |
+ // Please see the comments of |resource_host_| for on which thread it can be |
+ // used and when it is NULL. |
+ ResourceHost* resource_host() const { return resource_host_; } |
+ |
// If you want the message to be handled on another thread, return a non-null |
// task runner which will target tasks accordingly. |
virtual scoped_refptr<base::TaskRunner> OverrideTaskRunnerForMessage( |