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

Unified Diff: remoting/host/host_event_logger.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 | « remoting/host/host_event_logger.h ('k') | remoting/host/host_status_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_event_logger.cc
diff --git a/remoting/host/host_event_logger.cc b/remoting/host/host_event_logger.cc
index c72b7df3e60c0a9ae32256c607ab34037cb29538..f8f6d5763befc30b22bd063808e5a8e8c05be897 100644
--- a/remoting/host/host_event_logger.cc
+++ b/remoting/host/host_event_logger.cc
@@ -49,8 +49,8 @@ void HostEventLogger::OnClientDisconnected(const std::string& jid) {
Log("Client disconnected: " + username);
}
-void HostEventLogger::OnAccessDenied() {
- Log("Access denied");
+void HostEventLogger::OnAccessDenied(const std::string& jid) {
+ Log("Access denied for client: " + jid);
}
void HostEventLogger::OnShutdown() {
« no previous file with comments | « remoting/host/host_event_logger.h ('k') | remoting/host/host_status_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698