Roll leveldb from r73 to r75.
[chromium-blink-merge.git] / ppapi / proxy / connection.h
blob5f99f06378ad9443c1439f8ce6b335971bc76624
1 // Copyright (c) 2012 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 #ifndef PPAPI_PROXY_CONNECTION_H_
6 #define PPAPI_PROXY_CONNECTION_H_
8 namespace IPC {
9 class Sender;
12 namespace ppapi {
13 namespace proxy {
15 // This struct holds the channels that a resource uses to send message to the
16 // browser and renderer.
17 struct Connection {
18 Connection() : browser_sender(0), renderer_sender(0) {
20 Connection(IPC::Sender* browser, IPC::Sender* renderer)
21 : browser_sender(browser),
22 renderer_sender(renderer) {
25 IPC::Sender* browser_sender;
26 IPC::Sender* renderer_sender;
29 } // namespace proxy
30 } // namespace ppapi
33 #endif // PPAPI_PROXY_CONNECTION_H_