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 // A class that manages a connection to an XMPP server. | 5 // A class that manages a connection to an XMPP server. |
6 | 6 |
7 #ifndef JINGLE_NOTIFIER_BASE_XMPP_CONNECTION_H_ | 7 #ifndef JINGLE_NOTIFIER_BASE_XMPP_CONNECTION_H_ |
8 #define JINGLE_NOTIFIER_BASE_XMPP_CONNECTION_H_ | 8 #define JINGLE_NOTIFIER_BASE_XMPP_CONNECTION_H_ |
9 #pragma once | |
10 | 9 |
11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
12 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
13 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
16 #include "base/threading/non_thread_safe.h" | 15 #include "base/threading/non_thread_safe.h" |
17 #include "net/url_request/url_request_context_getter.h" | 16 #include "net/url_request/url_request_context_getter.h" |
18 #include "talk/base/sigslot.h" | 17 #include "talk/base/sigslot.h" |
19 #include "talk/xmpp/xmppengine.h" | 18 #include "talk/xmpp/xmppengine.h" |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 FRIEND_TEST(XmppConnectionTest, MultipleConnect); | 93 FRIEND_TEST(XmppConnectionTest, MultipleConnect); |
95 FRIEND_TEST(XmppConnectionTest, ConnectThenError); | 94 FRIEND_TEST(XmppConnectionTest, ConnectThenError); |
96 FRIEND_TEST(XmppConnectionTest, TasksDontRunAfterXmppConnectionDestructor); | 95 FRIEND_TEST(XmppConnectionTest, TasksDontRunAfterXmppConnectionDestructor); |
97 | 96 |
98 DISALLOW_COPY_AND_ASSIGN(XmppConnection); | 97 DISALLOW_COPY_AND_ASSIGN(XmppConnection); |
99 }; | 98 }; |
100 | 99 |
101 } // namespace notifier | 100 } // namespace notifier |
102 | 101 |
103 #endif // JINGLE_NOTIFIER_BASE_XMPP_CONNECTION_H_ | 102 #endif // JINGLE_NOTIFIER_BASE_XMPP_CONNECTION_H_ |
OLD | NEW |