Index: jingle/notifier/base/xmpp_connection.h |
diff --git a/jingle/notifier/base/xmpp_connection.h b/jingle/notifier/base/xmpp_connection.h |
index bc1ec2a1e48cd5191e30109236a4ab77e8d8dc29..946a6deb9fe59684eda85c99ef6c0e69907d8fca 100644 |
--- a/jingle/notifier/base/xmpp_connection.h |
+++ b/jingle/notifier/base/xmpp_connection.h |
@@ -22,7 +22,7 @@ class PreXmppAuth; |
class XmlElement; |
class XmppClientSettings; |
class XmppTaskParentInterface; |
-} // namespace |
+} // namespace buzz |
namespace jingle_glue { |
class TaskPump; |
@@ -80,6 +80,13 @@ class XmppConnection |
~XmppConnection() override; |
private: |
+ FRIEND_TEST_ALL_PREFIXES(XmppConnectionTest, RaisedError); |
+ FRIEND_TEST_ALL_PREFIXES(XmppConnectionTest, Connect); |
+ FRIEND_TEST_ALL_PREFIXES(XmppConnectionTest, MultipleConnect); |
+ FRIEND_TEST_ALL_PREFIXES(XmppConnectionTest, ConnectThenError); |
+ FRIEND_TEST_ALL_PREFIXES(XmppConnectionTest, |
+ TasksDontRunAfterXmppConnectionDestructor); |
+ |
void OnStateChange(buzz::XmppEngine::State state); |
void OnInputLog(const char* data, int len); |
void OnOutputLog(const char* data, int len); |
@@ -91,12 +98,6 @@ class XmppConnection |
bool on_connect_called_; |
Delegate* delegate_; |
- FRIEND_TEST(XmppConnectionTest, RaisedError); |
- FRIEND_TEST(XmppConnectionTest, Connect); |
- FRIEND_TEST(XmppConnectionTest, MultipleConnect); |
- FRIEND_TEST(XmppConnectionTest, ConnectThenError); |
- FRIEND_TEST(XmppConnectionTest, TasksDontRunAfterXmppConnectionDestructor); |
- |
DISALLOW_COPY_AND_ASSIGN(XmppConnection); |
}; |