OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "ppapi/host/message_filter_host.h" |
| 6 |
| 7 #include "ppapi/host/ppapi_host.h" |
| 8 #include "ppapi/host/resource_message_filter.h" |
| 9 |
| 10 namespace ppapi { |
| 11 namespace host { |
| 12 |
| 13 MessageFilterHost::MessageFilterHost( |
| 14 PpapiHost* host, |
| 15 PP_Instance instance, |
| 16 PP_Resource resource, |
| 17 const scoped_refptr<ResourceMessageFilter>& message_filter) |
| 18 : ResourceHost(host, instance, resource) { |
| 19 AddFilter(message_filter); |
| 20 } |
| 21 |
| 22 MessageFilterHost::~MessageFilterHost() { |
| 23 } |
| 24 |
| 25 } // namespace host |
| 26 } // namespace ppapi |
OLD | NEW |