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.
5 #include "ppapi/host/message_filter_host.h"
7 #include "ppapi/host/ppapi_host.h"
8 #include "ppapi/host/resource_message_filter.h"
13 MessageFilterHost::MessageFilterHost(
17 const scoped_refptr
<ResourceMessageFilter
>& message_filter
)
18 : ResourceHost(host
, instance
, resource
) {
19 AddFilter(message_filter
);
22 MessageFilterHost::~MessageFilterHost() {