blob: 2de4803394415c69fd376aa370d9be06ed253fa1 [file] [log] [blame]
[email protected]4d2efd22011-08-18 21:58:021// Copyright (c) 2011 The Chromium Authors. All rights reserved.
[email protected]c2932f5e2010-11-03 03:22:332// 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/proxy/interface_proxy.h"
6
7#include "base/logging.h"
8#include "ppapi/proxy/dispatcher.h"
9
[email protected]4d2efd22011-08-18 21:58:0210namespace ppapi {
[email protected]c2932f5e2010-11-03 03:22:3311namespace proxy {
12
[email protected]5c966022011-09-13 18:09:3713InterfaceProxy::InterfaceProxy(Dispatcher* dispatcher)
14 : dispatcher_(dispatcher) {
[email protected]c2932f5e2010-11-03 03:22:3315}
16
17InterfaceProxy::~InterfaceProxy() {
18}
19
20bool InterfaceProxy::Send(IPC::Message* msg) {
21 return dispatcher_->Send(msg);
22}
23
[email protected]c2932f5e2010-11-03 03:22:3324} // namespace proxy
[email protected]4d2efd22011-08-18 21:58:0225} // namespace ppapi