| Index: ppapi/host/message_filter_host.cc
|
| diff --git a/ppapi/host/message_filter_host.cc b/ppapi/host/message_filter_host.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..78ebd231ff416b381fb3d86dab20880ef901f30f
|
| --- /dev/null
|
| +++ b/ppapi/host/message_filter_host.cc
|
| @@ -0,0 +1,26 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "ppapi/host/message_filter_host.h"
|
| +
|
| +#include "ppapi/host/ppapi_host.h"
|
| +#include "ppapi/host/resource_message_filter.h"
|
| +
|
| +namespace ppapi {
|
| +namespace host {
|
| +
|
| +MessageFilterHost::MessageFilterHost(
|
| + PpapiHost* host,
|
| + PP_Instance instance,
|
| + PP_Resource resource,
|
| + const scoped_refptr<ResourceMessageFilter>& message_filter)
|
| + : ResourceHost(host, instance, resource) {
|
| + AddFilter(message_filter);
|
| +}
|
| +
|
| +MessageFilterHost::~MessageFilterHost() {
|
| +}
|
| +
|
| +} // namespace host
|
| +} // namespace ppapi
|
|
|