diff options
Diffstat (limited to 'chromium/jingle/notifier')
-rw-r--r-- | chromium/jingle/notifier/listener/push_notifications_subscribe_task.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chromium/jingle/notifier/listener/push_notifications_subscribe_task.cc b/chromium/jingle/notifier/listener/push_notifications_subscribe_task.cc index b069c9e4fc3..33f9949c7bf 100644 --- a/chromium/jingle/notifier/listener/push_notifications_subscribe_task.cc +++ b/chromium/jingle/notifier/listener/push_notifications_subscribe_task.cc @@ -43,6 +43,7 @@ int PushNotificationsSubscribeTask::ProcessStart() { scoped_ptr<buzz::XmlElement> iq_stanza( MakeSubscriptionMessage(subscriptions_, GetClient()->jid(), task_id())); + std::string stanza_str = XmlElementToString(*iq_stanza.get()); DVLOG(1) << "Push notifications: Subscription stanza: " << XmlElementToString(*iq_stanza.get()); @@ -60,9 +61,10 @@ int PushNotificationsSubscribeTask::ProcessResponse() { if (stanza == NULL) { return STATE_BLOCKED; } + std::string stanza_str = XmlElementToString(*stanza); DVLOG(1) << "Push notifications: Subscription response: " << XmlElementToString(*stanza); - // We've received a response to our subscription request. + // We've receieved a response to our subscription request. if (stanza->HasAttr(buzz::QN_TYPE) && stanza->Attr(buzz::QN_TYPE) == buzz::STR_RESULT) { if (delegate_) |