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

Side by Side Diff: jingle/notifier/listener/xmpp_push_client.h

Issue 2443903004: Add xmllite and xmpp sources to third_party/ (Closed)
Patch Set: Explicitly use webrtc_overrides/webrtc/base/logging.h Created 3 years, 11 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 unified diff | Download patch
« no previous file with comments | « jingle/notifier/listener/xml_element_util_unittest.cc ('k') | remoting/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef JINGLE_NOTIFIER_LISTENER_XMPP_PUSH_CLIENT_H_ 5 #ifndef JINGLE_NOTIFIER_LISTENER_XMPP_PUSH_CLIENT_H_
6 #define JINGLE_NOTIFIER_LISTENER_XMPP_PUSH_CLIENT_H_ 6 #define JINGLE_NOTIFIER_LISTENER_XMPP_PUSH_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/memory/weak_ptr.h" 15 #include "base/memory/weak_ptr.h"
16 #include "base/observer_list.h" 16 #include "base/observer_list.h"
17 #include "base/threading/thread_checker.h" 17 #include "base/threading/thread_checker.h"
18 #include "jingle/notifier/base/notifier_options.h" 18 #include "jingle/notifier/base/notifier_options.h"
19 #include "jingle/notifier/communicator/login.h" 19 #include "jingle/notifier/communicator/login.h"
20 #include "jingle/notifier/listener/notification_defines.h" 20 #include "jingle/notifier/listener/notification_defines.h"
21 #include "jingle/notifier/listener/push_client.h" 21 #include "jingle/notifier/listener/push_client.h"
22 #include "jingle/notifier/listener/push_notifications_listen_task.h" 22 #include "jingle/notifier/listener/push_notifications_listen_task.h"
23 #include "jingle/notifier/listener/push_notifications_subscribe_task.h" 23 #include "jingle/notifier/listener/push_notifications_subscribe_task.h"
24 #include "jingle/notifier/listener/send_ping_task.h" 24 #include "jingle/notifier/listener/send_ping_task.h"
25 #include "webrtc/libjingle/xmpp/xmppclientsettings.h" 25 #include "third_party/libjingle_xmpp/xmpp/xmppclientsettings.h"
26 26
27 namespace buzz { 27 namespace buzz {
28 class XmppTaskParentInterface; 28 class XmppTaskParentInterface;
29 } // namespace buzz 29 } // namespace buzz
30 30
31 namespace notifier { 31 namespace notifier {
32 32
33 // This class implements a client for the XMPP google:push protocol. 33 // This class implements a client for the XMPP google:push protocol.
34 // 34 //
35 // This class must be used on a single thread. 35 // This class must be used on a single thread.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 base::WeakPtr<buzz::XmppTaskParentInterface> base_task_; 83 base::WeakPtr<buzz::XmppTaskParentInterface> base_task_;
84 84
85 std::vector<Notification> pending_notifications_to_send_; 85 std::vector<Notification> pending_notifications_to_send_;
86 86
87 DISALLOW_COPY_AND_ASSIGN(XmppPushClient); 87 DISALLOW_COPY_AND_ASSIGN(XmppPushClient);
88 }; 88 };
89 89
90 } // namespace notifier 90 } // namespace notifier
91 91
92 #endif // JINGLE_NOTIFIER_LISTENER_XMPP_PUSH_CLIENT_H_ 92 #endif // JINGLE_NOTIFIER_LISTENER_XMPP_PUSH_CLIENT_H_
OLDNEW
« no previous file with comments | « jingle/notifier/listener/xml_element_util_unittest.cc ('k') | remoting/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698