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

Unified Diff: remoting/protocol/protocol_mock_objects.cc

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/protocol_mock_objects.cc
diff --git a/remoting/protocol/protocol_mock_objects.cc b/remoting/protocol/protocol_mock_objects.cc
index 90876360ca30e8c45c6959bf46ef991931c39db4..a22cad4b53115b7d59544c6938b2e5ab22f760c8 100644
--- a/remoting/protocol/protocol_mock_objects.cc
+++ b/remoting/protocol/protocol_mock_objects.cc
@@ -25,6 +25,23 @@ MockConnectionToClientEventHandler::MockConnectionToClientEventHandler() {}
MockConnectionToClientEventHandler::~MockConnectionToClientEventHandler() {}
+MockConnectionToHost::MockConnectionToHost() {}
+
+MockConnectionToHost::~MockConnectionToHost() {}
+
+void MockConnectionToHost::Connect(
+ SignalStrategy* signal_strategy,
+ scoped_ptr<TransportFactory> transport_factory,
+ scoped_ptr<Authenticator> authenticator,
+ const std::string& host_jid,
+ HostEventCallback* event_callback) {
+ ConnectPtr(signal_strategy,
+ transport_factory.get(),
+ authenticator.get(),
+ host_jid,
+ event_callback);
+}
+
MockClipboardStub::MockClipboardStub() {}
MockClipboardStub::~MockClipboardStub() {}

Powered by Google App Engine
This is Rietveld 408576698