[email protected] | 4d2efd2 | 2011-08-18 21:58:02 | [diff] [blame] | 1 | // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
[email protected] | c2932f5e | 2010-11-03 03:22:33 | [diff] [blame] | 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 | |||||
[email protected] | 4d2efd2 | 2011-08-18 21:58:02 | [diff] [blame] | 10 | namespace ppapi { |
[email protected] | c2932f5e | 2010-11-03 03:22:33 | [diff] [blame] | 11 | namespace proxy { |
12 | |||||
[email protected] | 5c96602 | 2011-09-13 18:09:37 | [diff] [blame] | 13 | InterfaceProxy::InterfaceProxy(Dispatcher* dispatcher) |
14 | : dispatcher_(dispatcher) { | ||||
[email protected] | c2932f5e | 2010-11-03 03:22:33 | [diff] [blame] | 15 | } |
16 | |||||
17 | InterfaceProxy::~InterfaceProxy() { | ||||
18 | } | ||||
19 | |||||
20 | bool InterfaceProxy::Send(IPC::Message* msg) { | ||||
21 | return dispatcher_->Send(msg); | ||||
22 | } | ||||
23 | |||||
[email protected] | c2932f5e | 2010-11-03 03:22:33 | [diff] [blame] | 24 | } // namespace proxy |
[email protected] | 4d2efd2 | 2011-08-18 21:58:02 | [diff] [blame] | 25 | } // namespace ppapi |