diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-20 00:11:21 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-20 00:11:21 +0000 |
commit | b41b3e277f6472c97e44e4cc8f402eee9c906c3b (patch) | |
tree | 641fa4fbf0d4c2716b1147e7b91d75e45a827a4e /jingle/notifier/communicator/single_login_attempt.cc | |
parent | 051b74fdf31cb369f0f16811bc58d425a9c3dd04 (diff) | |
download | chromium_src-b41b3e277f6472c97e44e4cc8f402eee9c906c3b.zip chromium_src-b41b3e277f6472c97e44e4cc8f402eee9c906c3b.tar.gz chromium_src-b41b3e277f6472c97e44e4cc8f402eee9c906c3b.tar.bz2 |
Convert LOG(INFO) to VLOG(1) - jingle/.
Also eliminates some extra {}s.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3885002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63147 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'jingle/notifier/communicator/single_login_attempt.cc')
-rw-r--r-- | jingle/notifier/communicator/single_login_attempt.cc | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/jingle/notifier/communicator/single_login_attempt.cc b/jingle/notifier/communicator/single_login_attempt.cc index 83fd21f..4c361bd 100644 --- a/jingle/notifier/communicator/single_login_attempt.cc +++ b/jingle/notifier/communicator/single_login_attempt.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -53,11 +53,10 @@ void SingleLoginAttempt::OnConnect(base::WeakPtr<talk_base::Task> base_task) { void SingleLoginAttempt::OnError(buzz::XmppEngine::Error error, int subcode, const buzz::XmlElement* stream_error) { - LOG(INFO) << "Error: " << error << ", subcode: " << subcode; + VLOG(1) << "Error: " << error << ", subcode: " << subcode; if (stream_error) { DCHECK_EQ(error, buzz::XmppEngine::ERROR_STREAM); - LOG(INFO) << "Stream error: " - << XmlElementToString(*stream_error); + VLOG(1) << "Stream error: " << XmlElementToString(*stream_error); } // Check for redirection. @@ -101,10 +100,9 @@ void SingleLoginAttempt::OnError(buzz::XmppEngine::Error error, int subcode, void SingleLoginAttempt::OnAttemptedAllConnections( bool successfully_resolved_dns, int first_dns_error) { - if (!successfully_resolved_dns) { - LOG(INFO) << "Could not resolve DNS: " << first_dns_error; - } - LOG(INFO) << "Could not connect to any XMPP server"; + if (!successfully_resolved_dns) + VLOG(1) << "Could not resolve DNS: " << first_dns_error; + VLOG(1) << "Could not connect to any XMPP server"; SignalNeedAutoReconnect(); } |