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

Unified Diff: jingle/notifier/listener/push_notifications_subscribe_task.cc

Issue 10828264: Clean up logging for push_notifications_*.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
Index: jingle/notifier/listener/push_notifications_subscribe_task.cc
diff --git a/jingle/notifier/listener/push_notifications_subscribe_task.cc b/jingle/notifier/listener/push_notifications_subscribe_task.cc
index 40f033824aa80436349a351098cb419f5c9f00c0..33f9949c7bf35f32f22d227b7ee4b31f33f67a1b 100644
--- a/jingle/notifier/listener/push_notifications_subscribe_task.cc
+++ b/jingle/notifier/listener/push_notifications_subscribe_task.cc
@@ -39,12 +39,12 @@ bool PushNotificationsSubscribeTask::HandleStanza(
}
int PushNotificationsSubscribeTask::ProcessStart() {
- VLOG(1) << "Push notifications: Subscription task started.";
+ DVLOG(1) << "Push notifications: Subscription task started.";
scoped_ptr<buzz::XmlElement> iq_stanza(
MakeSubscriptionMessage(subscriptions_, GetClient()->jid(),
task_id()));
std::string stanza_str = XmlElementToString(*iq_stanza.get());
- VLOG(1) << "Push notifications: Subscription stanza: "
+ DVLOG(1) << "Push notifications: Subscription stanza: "
<< XmlElementToString(*iq_stanza.get());
if (SendStanza(iq_stanza.get()) != buzz::XMPP_RETURN_OK) {
@@ -56,14 +56,14 @@ int PushNotificationsSubscribeTask::ProcessStart() {
}
int PushNotificationsSubscribeTask::ProcessResponse() {
- VLOG(1) << "Push notifications: Subscription response received.";
+ DVLOG(1) << "Push notifications: Subscription response received.";
const buzz::XmlElement* stanza = NextStanza();
if (stanza == NULL) {
return STATE_BLOCKED;
}
std::string stanza_str = XmlElementToString(*stanza);
- VLOG(1) << "Push notifications: Subscription response: "
- << XmlElementToString(*stanza);
+ DVLOG(1) << "Push notifications: Subscription response: "
+ << XmlElementToString(*stanza);
// We've receieved a response to our subscription request.
if (stanza->HasAttr(buzz::QN_TYPE) &&
stanza->Attr(buzz::QN_TYPE) == buzz::STR_RESULT) {

Powered by Google App Engine
This is Rietveld 408576698