1 // Copyright (c) 2011 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/proxy/interface_proxy.h" 6 7 #include "base/logging.h" 8 #include "ppapi/proxy/dispatcher.h" 9 10 namespace ppapi { 11 namespace proxy { 12 InterfaceProxy(Dispatcher * dispatcher)13InterfaceProxy::InterfaceProxy(Dispatcher* dispatcher) 14 : dispatcher_(dispatcher) { 15 } 16 ~InterfaceProxy()17InterfaceProxy::~InterfaceProxy() { 18 } 19 Send(IPC::Message * msg)20bool InterfaceProxy::Send(IPC::Message* msg) { 21 return dispatcher_->Send(msg); 22 } 23 24 } // namespace proxy 25 } // namespace ppapi 26