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

Unified Diff: remoting/protocol/connection_to_host.h

Issue 976233003: Adding the base ChromotingInstance implementation and unittests. This class will be used by the ap… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing a unit test name Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698