diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-19 23:49:52 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-19 23:49:52 +0000 |
commit | 6504ccb162e1fa1776cf20c466a9e9e71ada827f (patch) | |
tree | 68a4b8c6de027d51dd79a7419d8849c9d4819e9b /remoting/host | |
parent | 5f2d7017a397fef6245981de1a27c72c8dc89084 (diff) | |
download | chromium_src-6504ccb162e1fa1776cf20c466a9e9e71ada827f.zip chromium_src-6504ccb162e1fa1776cf20c466a9e9e71ada827f.tar.gz chromium_src-6504ccb162e1fa1776cf20c466a9e9e71ada827f.tar.bz2 |
Convert LOG(INFO) to VLOG(1) - remoting/.
Also, remove some extra {}s and unnecessary endls.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3913001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63141 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host')
-rw-r--r-- | remoting/host/chromoting_host.cc | 13 | ||||
-rw-r--r-- | remoting/host/heartbeat_sender.cc | 2 |
2 files changed, 7 insertions, 8 deletions
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc index f944226..d28ca79 100644 --- a/remoting/host/chromoting_host.cc +++ b/remoting/host/chromoting_host.cc @@ -152,7 +152,7 @@ void ChromotingHost::OnClientConnected(ClientConnection* client) { // Immediately add the client and start the session. session_->AddClient(client); session_->Start(); - LOG(INFO) << "Session manager started"; + VLOG(1) << "Session manager started"; } void ChromotingHost::OnClientDisconnected(ClientConnection* client) { @@ -188,14 +188,14 @@ void ChromotingHost::OnConnectionOpened(ClientConnection* client) { DCHECK_EQ(context_->main_message_loop(), MessageLoop::current()); // Completes the client connection. - LOG(INFO) << "Connection to client established."; + VLOG(1) << "Connection to client established."; OnClientConnected(client_.get()); } void ChromotingHost::OnConnectionClosed(ClientConnection* client) { DCHECK_EQ(context_->main_message_loop(), MessageLoop::current()); - LOG(INFO) << "Connection to client closed."; + VLOG(1) << "Connection to client closed."; OnClientDisconnected(client_.get()); } @@ -212,8 +212,7 @@ void ChromotingHost::OnStateChange(JingleClient* jingle_client, JingleClient::State state) { if (state == JingleClient::CONNECTED) { DCHECK_EQ(jingle_client_.get(), jingle_client); - LOG(INFO) << "Host connected as " - << jingle_client->GetFullJid() << "." << std::endl; + VLOG(1) << "Host connected as " << jingle_client->GetFullJid(); // Create and start |chromotocol_server_|. chromotocol_server_ = @@ -226,7 +225,7 @@ void ChromotingHost::OnStateChange(JingleClient* jingle_client, // Start heartbeating. heartbeat_sender_->Start(); } else if (state == JingleClient::CLOSED) { - LOG(INFO) << "Host disconnected from talk network." << std::endl; + VLOG(1) << "Host disconnected from talk network."; // Stop heartbeating. heartbeat_sender_->Stop(); @@ -254,7 +253,7 @@ void ChromotingHost::OnNewClientConnection( *accept = true; - LOG(INFO) << "Client connected: " << connection->jid() << std::endl; + VLOG(1) << "Client connected: " << connection->jid(); // If we accept the connected then create a client object and set the // callback. diff --git a/remoting/host/heartbeat_sender.cc b/remoting/host/heartbeat_sender.cc index e6a78f7..b4caf57f 100644 --- a/remoting/host/heartbeat_sender.cc +++ b/remoting/host/heartbeat_sender.cc @@ -95,7 +95,7 @@ void HeartbeatSender::DoSendStanza() { // |STOPPED|, so don't touch it here unless we are in |STARTED| state. DCHECK(MessageLoop::current() == jingle_client_->message_loop()); - LOG(INFO) << "Sending heartbeat stanza to " << kChromotingBotJid; + VLOG(1) << "Sending heartbeat stanza to " << kChromotingBotJid; request_->SendIq(buzz::STR_SET, kChromotingBotJid, CreateHeartbeatMessage()); |