Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(602)

Side by Side Diff: ppapi/proxy/connection.h

Issue 10815073: Refactoring of new IPC-only pepper implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
5 #ifndef PPAPI_PROXY_CONNECTION_H_
6 #define PPAPI_PROXY_CONNECTION_H_
7
8 namespace IPC {
9 class Sender;
10 }
11
12 namespace ppapi {
13 namespace proxy {
14
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) {
19 }
20 Connection(IPC::Sender* browser, IPC::Sender* renderer)
21 : browser_sender(browser),
22 renderer_sender(renderer) {
23 }
24
25 IPC::Sender* browser_sender;
26 IPC::Sender* renderer_sender;
27 };
28
29 } // namespace proxy
30 } // namespace ppapi
31
32
33 #endif // PPAPI_PROXY_CONNECTION_H_
34
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698