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

Unified Diff: remoting/protocol/host_message_dispatcher.h

Issue 6711033: A new authenticated connection evicts an old one. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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/host_message_dispatcher.h
diff --git a/remoting/protocol/host_message_dispatcher.h b/remoting/protocol/host_message_dispatcher.h
index 60afb276bf1a12ab59c35c42798304bf4966878b..a3c1cd56539ab858431b420f29d13dedef670fdc 100644
--- a/remoting/protocol/host_message_dispatcher.h
+++ b/remoting/protocol/host_message_dispatcher.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -13,6 +13,7 @@
namespace remoting {
namespace protocol {
+class ConnectionToClient;
class ControlMessage;
class EventMessage;
class HostStub;
@@ -37,7 +38,7 @@ class HostMessageDispatcher {
// Initialize the message dispatcher with the given connection and
// message handlers.
- void Initialize(protocol::Session* session,
+ void Initialize(ConnectionToClient* connection,
HostStub* host_stub, InputStub* input_stub);
private:
@@ -61,6 +62,8 @@ class HostMessageDispatcher {
// They are called on the thread there data is received, i.e. jingle thread.
HostStub* host_stub_;
InputStub* input_stub_;
+
+ ConnectionToClient* connection_;
Sergey Ulanov 2011/03/18 18:12:21 With this change, HostMessageDispatcher hold refer
simonmorris 2011/03/22 13:09:10 Done.
};
} // namespace protocol

Powered by Google App Engine
This is Rietveld 408576698