Rollback V8 to version 3.26.31 (based on bleeding_edge revision r21147).
[chromium-blink-merge.git] / ppapi / host / message_filter_host.cc
blob1ef6244caa46a18b901a307a7244d86f385f8683
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"
10 namespace ppapi {
11 namespace host {
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);
22 MessageFilterHost::~MessageFilterHost() {
25 } // namespace host
26 } // namespace ppapi