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

Side by Side Diff: remoting/host/chromoting_host.h

Issue 9316052: Log IP/port of host as well as client in Me2Me host (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/IpAddress/RouteChange s/end_point/remote_end_point and other nits Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | remoting/host/chromoting_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_HOST_CHROMOTING_HOST_H_ 5 #ifndef REMOTING_HOST_CHROMOTING_HOST_H_
6 #define REMOTING_HOST_CHROMOTING_HOST_H_ 6 #define REMOTING_HOST_CHROMOTING_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 void SetAuthenticatorFactory( 103 void SetAuthenticatorFactory(
104 scoped_ptr<protocol::AuthenticatorFactory> authenticator_factory); 104 scoped_ptr<protocol::AuthenticatorFactory> authenticator_factory);
105 105
106 //////////////////////////////////////////////////////////////////////////// 106 ////////////////////////////////////////////////////////////////////////////
107 // ClientSession::EventHandler implementation. 107 // ClientSession::EventHandler implementation.
108 virtual void OnSessionAuthenticated(ClientSession* client) OVERRIDE; 108 virtual void OnSessionAuthenticated(ClientSession* client) OVERRIDE;
109 virtual void OnSessionAuthenticationFailed(ClientSession* client) OVERRIDE; 109 virtual void OnSessionAuthenticationFailed(ClientSession* client) OVERRIDE;
110 virtual void OnSessionClosed(ClientSession* session) OVERRIDE; 110 virtual void OnSessionClosed(ClientSession* session) OVERRIDE;
111 virtual void OnSessionSequenceNumber(ClientSession* session, 111 virtual void OnSessionSequenceNumber(ClientSession* session,
112 int64 sequence_number) OVERRIDE; 112 int64 sequence_number) OVERRIDE;
113 virtual void OnSessionIpAddress(ClientSession* session, 113 virtual void OnSessionRouteChange(
114 const std::string& channel_name, 114 ClientSession* session,
115 const net::IPEndPoint& end_point) OVERRIDE; 115 const std::string& channel_name,
116 const net::IPEndPoint& remote_end_point,
117 const net::IPEndPoint& local_end_point) OVERRIDE;
116 118
117 // SessionManager::Listener implementation. 119 // SessionManager::Listener implementation.
118 virtual void OnSessionManagerReady() OVERRIDE; 120 virtual void OnSessionManagerReady() OVERRIDE;
119 virtual void OnIncomingSession( 121 virtual void OnIncomingSession(
120 protocol::Session* session, 122 protocol::Session* session,
121 protocol::SessionManager::IncomingSessionResponse* response) OVERRIDE; 123 protocol::SessionManager::IncomingSessionResponse* response) OVERRIDE;
122 124
123 // Sets desired configuration for the protocol. Ownership of the 125 // Sets desired configuration for the protocol. Ownership of the
124 // |config| is transferred to the object. Must be called before Start(). 126 // |config| is transferred to the object. Must be called before Start().
125 void set_protocol_config(protocol::CandidateSessionConfig* config); 127 void set_protocol_config(protocol::CandidateSessionConfig* config);
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 // TODO(sergeyu): The following members do not belong to 223 // TODO(sergeyu): The following members do not belong to
222 // ChromotingHost and should be moved elsewhere. 224 // ChromotingHost and should be moved elsewhere.
223 UiStrings ui_strings_; 225 UiStrings ui_strings_;
224 226
225 DISALLOW_COPY_AND_ASSIGN(ChromotingHost); 227 DISALLOW_COPY_AND_ASSIGN(ChromotingHost);
226 }; 228 };
227 229
228 } // namespace remoting 230 } // namespace remoting
229 231
230 #endif // REMOTING_HOST_CHROMOTING_HOST_H_ 232 #endif // REMOTING_HOST_CHROMOTING_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/host/chromoting_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698