OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // Methods for sending the update stanza to notify peers via xmpp. | 5 // Methods for sending the update stanza to notify peers via xmpp. |
6 | 6 |
7 #ifndef JINGLE_NOTIFIER_LISTENER_SEND_PING_TASK_H_ | 7 #ifndef JINGLE_NOTIFIER_LISTENER_SEND_PING_TASK_H_ |
8 #define JINGLE_NOTIFIER_LISTENER_SEND_PING_TASK_H_ | 8 #define JINGLE_NOTIFIER_LISTENER_SEND_PING_TASK_H_ |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "webrtc/libjingle/xmpp/xmpptask.h" | 13 #include "third_party/libjingle_xmpp/xmpp/xmpptask.h" |
14 | 14 |
15 namespace buzz { | 15 namespace buzz { |
16 class XmlElement; | 16 class XmlElement; |
17 } // namespace | 17 } // namespace |
18 | 18 |
19 namespace notifier { | 19 namespace notifier { |
20 | 20 |
21 class SendPingTask : public buzz::XmppTask { | 21 class SendPingTask : public buzz::XmppTask { |
22 public: | 22 public: |
23 class Delegate { | 23 class Delegate { |
(...skipping 21 matching lines...) Expand all Loading... |
45 Delegate* delegate_; | 45 Delegate* delegate_; |
46 | 46 |
47 DISALLOW_COPY_AND_ASSIGN(SendPingTask); | 47 DISALLOW_COPY_AND_ASSIGN(SendPingTask); |
48 }; | 48 }; |
49 | 49 |
50 typedef SendPingTask::Delegate SendPingTaskDelegate; | 50 typedef SendPingTask::Delegate SendPingTaskDelegate; |
51 | 51 |
52 } // namespace notifier | 52 } // namespace notifier |
53 | 53 |
54 #endif // JINGLE_NOTIFIER_LISTENER_SEND_PING_TASK_H_ | 54 #endif // JINGLE_NOTIFIER_LISTENER_SEND_PING_TASK_H_ |
OLD | NEW |