summaryrefslogtreecommitdiffstats
path: root/remoting/host/it2me
diff options
context:
space:
mode:
authorweitaosu@chromium.org <weitaosu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-26 23:19:50 +0000
committerweitaosu@chromium.org <weitaosu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-26 23:19:50 +0000
commit6f742dd07eaf78c0defb248e487a53480b1971e1 (patch)
tree1b74af19be8a3f88885dc58af84536cef418bf8f /remoting/host/it2me
parentc9428a13d50b30e285d1e4910ca98775572e7b49 (diff)
downloadchromium_src-6f742dd07eaf78c0defb248e487a53480b1971e1.zip
chromium_src-6f742dd07eaf78c0defb248e487a53480b1971e1.tar.gz
chromium_src-6f742dd07eaf78c0defb248e487a53480b1971e1.tar.bz2
Replace all usage of LOG(INFO) in Chromoting host with HOST_LOG to bypass the presubmit check. This won't spam the chrome output because the chromoting host code doesn't run in the chrome processes.
BUG= Review URL: https://codereview.chromium.org/86523005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237431 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/it2me')
-rw-r--r--remoting/host/it2me/it2me_host.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/remoting/host/it2me/it2me_host.cc b/remoting/host/it2me/it2me_host.cc
index 465ca27..771d65b 100644
--- a/remoting/host/it2me/it2me_host.cc
+++ b/remoting/host/it2me/it2me_host.cc
@@ -10,6 +10,7 @@
#include "base/threading/platform_thread.h"
#include "net/socket/client_socket_factory.h"
#include "remoting/base/auto_thread.h"
+#include "remoting/base/logging.h"
#include "remoting/base/rsa_key_pair.h"
#include "remoting/host/chromoting_host.h"
#include "remoting/host/chromoting_host_context.h"
@@ -180,7 +181,7 @@ void It2MeHost::FinishConnect() {
register_request_ = register_request.Pass();
// If NAT traversal is off then limit port range to allow firewall pin-holing.
- LOG(INFO) << "NAT state: " << nat_traversal_enabled_;
+ HOST_LOG << "NAT state: " << nat_traversal_enabled_;
NetworkSettings network_settings(
nat_traversal_enabled_ ?
NetworkSettings::NAT_TRAVERSAL_ENABLED :
@@ -295,7 +296,7 @@ void It2MeHost::OnClientAuthenticated(const std::string& jid) {
if (pos != std::string::npos)
client_username.replace(pos, std::string::npos, "");
- LOG(INFO) << "Client " << client_username << " connected.";
+ HOST_LOG << "Client " << client_username << " connected.";
// Pass the client user name to the script object before changing state.
plugin_task_runner_->PostTask(