Index: remoting/protocol/connection_to_host.h |
diff --git a/remoting/protocol/connection_to_host.h b/remoting/protocol/connection_to_host.h |
index 605bea38ac14d638531f0acdd322970e1828922d..802356842394f47c505788782f3fedcc45034582 100644 |
--- a/remoting/protocol/connection_to_host.h |
+++ b/remoting/protocol/connection_to_host.h |
@@ -29,6 +29,10 @@ namespace remoting { |
class XmppProxy; |
class VideoPacket; |
+namespace test { |
+class FakeConnectionToHost; |
+} |
+ |
namespace protocol { |
class AudioReader; |
@@ -147,6 +151,8 @@ class ConnectionToHost : public SignalStrategy::Listener, |
State state() const; |
private: |
+ friend remoting::test::FakeConnectionToHost; |
+ |
void NotifyIfChannelsReady(); |
void CloseOnError(ErrorCode error); |