OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef PPAPI_PROXY_BROKER_DISPATCHER_H_ | 5 #ifndef PPAPI_PROXY_BROKER_DISPATCHER_H_ |
6 #define PPAPI_PROXY_BROKER_DISPATCHER_H_ | 6 #define PPAPI_PROXY_BROKER_DISPATCHER_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
9 #include "ppapi/c/trusted/ppp_broker.h" | 12 #include "ppapi/c/trusted/ppp_broker.h" |
10 #include "ppapi/proxy/proxy_channel.h" | 13 #include "ppapi/proxy/proxy_channel.h" |
11 | 14 |
12 namespace ppapi { | 15 namespace ppapi { |
13 namespace proxy { | 16 namespace proxy { |
14 | 17 |
15 class PPAPI_PROXY_EXPORT BrokerDispatcher : public ProxyChannel { | 18 class PPAPI_PROXY_EXPORT BrokerDispatcher : public ProxyChannel { |
16 public: | 19 public: |
17 ~BrokerDispatcher() override; | 20 ~BrokerDispatcher() override; |
18 | 21 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 explicit BrokerSideDispatcher(PP_ConnectInstance_Func connect_instance); | 59 explicit BrokerSideDispatcher(PP_ConnectInstance_Func connect_instance); |
57 | 60 |
58 // IPC::Listener implementation. | 61 // IPC::Listener implementation. |
59 void OnChannelError() override; | 62 void OnChannelError() override; |
60 }; | 63 }; |
61 | 64 |
62 } // namespace proxy | 65 } // namespace proxy |
63 } // namespace ppapi | 66 } // namespace ppapi |
64 | 67 |
65 #endif // PPAPI_PROXY_BROKER_DISPATCHER_H_ | 68 #endif // PPAPI_PROXY_BROKER_DISPATCHER_H_ |
OLD | NEW |