| 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 REMOTING_HOST_DESKTOP_SESSION_PROXY_H_ | 5 #ifndef REMOTING_HOST_DESKTOP_SESSION_PROXY_H_ |
| 6 #define REMOTING_HOST_DESKTOP_SESSION_PROXY_H_ | 6 #define REMOTING_HOST_DESKTOP_SESSION_PROXY_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 class Message; | 32 class Message; |
| 33 } // namespace IPC | 33 } // namespace IPC |
| 34 | 34 |
| 35 struct SerializedCapturedData; | 35 struct SerializedCapturedData; |
| 36 | 36 |
| 37 namespace remoting { | 37 namespace remoting { |
| 38 | 38 |
| 39 class AudioPacket; | 39 class AudioPacket; |
| 40 class ClientSession; | 40 class ClientSession; |
| 41 class DesktopSessionConnector; | 41 class DesktopSessionConnector; |
| 42 struct DesktopSessionParams; | |
| 43 struct DesktopSessionProxyTraits; | 42 struct DesktopSessionProxyTraits; |
| 44 class IpcAudioCapturer; | 43 class IpcAudioCapturer; |
| 45 class IpcVideoFrameCapturer; | 44 class IpcVideoFrameCapturer; |
| 46 class SessionController; | 45 class SessionController; |
| 47 | 46 |
| 48 // DesktopSessionProxy is created by an owning DesktopEnvironment to route | 47 // DesktopSessionProxy is created by an owning DesktopEnvironment to route |
| 49 // requests from stubs to the DesktopSessionAgent instance through | 48 // requests from stubs to the DesktopSessionAgent instance through |
| 50 // the IPC channel. DesktopSessionProxy is owned both by the DesktopEnvironment | 49 // the IPC channel. DesktopSessionProxy is owned both by the DesktopEnvironment |
| 51 // and the stubs, since stubs can out-live their DesktopEnvironment. | 50 // and the stubs, since stubs can out-live their DesktopEnvironment. |
| 52 // | 51 // |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 }; | 207 }; |
| 209 | 208 |
| 210 // Destroys |DesktopSessionProxy| instances on the caller's thread. | 209 // Destroys |DesktopSessionProxy| instances on the caller's thread. |
| 211 struct DesktopSessionProxyTraits { | 210 struct DesktopSessionProxyTraits { |
| 212 static void Destruct(const DesktopSessionProxy* desktop_session_proxy); | 211 static void Destruct(const DesktopSessionProxy* desktop_session_proxy); |
| 213 }; | 212 }; |
| 214 | 213 |
| 215 } // namespace remoting | 214 } // namespace remoting |
| 216 | 215 |
| 217 #endif // REMOTING_HOST_DESKTOP_SESSION_PROXY_H_ | 216 #endif // REMOTING_HOST_DESKTOP_SESSION_PROXY_H_ |
| OLD | NEW |