Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ppapi / proxy / interface_proxy.cc
blob2de4803394415c69fd376aa370d9be06ed253fa1
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.
5 #include "ppapi/proxy/interface_proxy.h"
7 #include "base/logging.h"
8 #include "ppapi/proxy/dispatcher.h"
10 namespace ppapi {
11 namespace proxy {
13 InterfaceProxy::InterfaceProxy(Dispatcher* dispatcher)
14 : dispatcher_(dispatcher) {
17 InterfaceProxy::~InterfaceProxy() {
20 bool InterfaceProxy::Send(IPC::Message* msg) {
21 return dispatcher_->Send(msg);
24 } // namespace proxy
25 } // namespace ppapi