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

Unified Diff: remoting/protocol/protocol_mock_objects.cc

Issue 902613004: Fix ConnectionToClient to connect stubs only after authentication. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@audio_pump
Patch Set: Created 5 years, 10 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
« no previous file with comments | « remoting/protocol/protocol_mock_objects.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/protocol_mock_objects.cc
diff --git a/remoting/protocol/protocol_mock_objects.cc b/remoting/protocol/protocol_mock_objects.cc
index 4f42d3223fb3cd6a64fc16f93c3231dfd825dcb1..7b51fe25310b239aa8cf43ba8b69a893c0c29242 100644
--- a/remoting/protocol/protocol_mock_objects.cc
+++ b/remoting/protocol/protocol_mock_objects.cc
@@ -10,11 +10,12 @@
namespace remoting {
namespace protocol {
-MockConnectionToClient::MockConnectionToClient(
- Session* session,
- HostStub* host_stub)
- : ConnectionToClient(session) {
- set_host_stub(host_stub);
+MockConnectionToClient::MockConnectionToClient(Session* session,
+ HostStub* host_stub)
+ : ConnectionToClient(session),
+ clipboard_stub_(nullptr),
+ host_stub_(host_stub),
+ input_stub_(nullptr) {
}
MockConnectionToClient::~MockConnectionToClient() {}
« no previous file with comments | « remoting/protocol/protocol_mock_objects.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698