diff options
Diffstat (limited to 'remoting/host/client_session.cc')
-rw-r--r-- | remoting/host/client_session.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc index 532b825..140f4c5 100644 --- a/remoting/host/client_session.cc +++ b/remoting/host/client_session.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. @@ -125,6 +125,14 @@ void ClientSession::OnSequenceNumberUpdated( event_handler_->OnSessionSequenceNumber(this, sequence_number); } +void ClientSession::OnClientIpAddress(protocol::ConnectionToClient* connection, + const std::string& channel_name, + const net::IPEndPoint& end_point) { + DCHECK(CalledOnValidThread()); + DCHECK_EQ(connection_.get(), connection); + event_handler_->OnSessionIpAddress(this, channel_name, end_point); +} + void ClientSession::Disconnect() { DCHECK(CalledOnValidThread()); DCHECK(connection_.get()); |