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

Unified Diff: remoting/host/chromoting_host.cc

Issue 9243017: Log client jid for rejected clients. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 8 years, 11 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 | « no previous file | remoting/host/host_event_logger.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromoting_host.cc
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc
index d4d75ec308c7f7105d1a0a17cc1ecf9a56d74619..63ac7bcce22641458c131c3d495da68fa86e6193 100644
--- a/remoting/host/chromoting_host.cc
+++ b/remoting/host/chromoting_host.cc
@@ -173,7 +173,7 @@ void ChromotingHost::OnSessionAuthenticated(ClientSession* client) {
recorder_->Start();
// Notify observers that there is at least one authenticated client.
- const std::string& jid = client->connection()->session()->jid();
+ const std::string& jid = client->client_jid();
reject_authenticating_client_ = false;
@@ -192,7 +192,7 @@ void ChromotingHost::OnSessionAuthenticationFailed(ClientSession* client) {
// Notify observers.
FOR_EACH_OBSERVER(HostStatusObserver, status_observers_,
- OnAccessDenied());
+ OnAccessDenied(client->client_jid()));
}
void ChromotingHost::OnSessionClosed(ClientSession* client) {
« no previous file with comments | « no previous file | remoting/host/host_event_logger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698