| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  *  Copyright 2011 The WebRTC Project Authors. All rights reserved. | 2  *  Copyright 2011 The WebRTC Project Authors. All rights reserved. | 
| 3  * | 3  * | 
| 4  *  Use of this source code is governed by a BSD-style license | 4  *  Use of this source code is governed by a BSD-style license | 
| 5  *  that can be found in the LICENSE file in the root of the source | 5  *  that can be found in the LICENSE file in the root of the source | 
| 6  *  tree. An additional intellectual property rights grant can be found | 6  *  tree. An additional intellectual property rights grant can be found | 
| 7  *  in the file PATENTS.  All contributing project authors may | 7  *  in the file PATENTS.  All contributing project authors may | 
| 8  *  be found in the AUTHORS file in the root of the source tree. | 8  *  be found in the AUTHORS file in the root of the source tree. | 
| 9  */ | 9  */ | 
| 10 | 10 | 
| 11 // A fake XmppClient for use in unit tests. | 11 // A fake XmppClient for use in unit tests. | 
| 12 | 12 | 
| 13 #ifndef WEBRTC_LIBJINGLE_XMPP_FAKEXMPPCLIENT_H_ | 13 #ifndef WEBRTC_LIBJINGLE_XMPP_FAKEXMPPCLIENT_H_ | 
| 14 #define WEBRTC_LIBJINGLE_XMPP_FAKEXMPPCLIENT_H_ | 14 #define WEBRTC_LIBJINGLE_XMPP_FAKEXMPPCLIENT_H_ | 
| 15 | 15 | 
| 16 #include <algorithm> |  | 
| 17 #include <string> | 16 #include <string> | 
| 18 #include <vector> | 17 #include <vector> | 
| 19 | 18 | 
| 20 #include "webrtc/libjingle/xmpp/xmpptask.h" | 19 #include "webrtc/libjingle/xmpp/xmpptask.h" | 
| 21 | 20 | 
| 22 namespace buzz { | 21 namespace buzz { | 
| 23 | 22 | 
| 24 class XmlElement; | 23 class XmlElement; | 
| 25 | 24 | 
| 26 class FakeXmppClient : public XmppTaskParentInterface, | 25 class FakeXmppClient : public XmppTaskParentInterface, | 
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 98 | 97 | 
| 99  private: | 98  private: | 
| 100   Jid jid_; | 99   Jid jid_; | 
| 101   std::vector<XmppTask*> tasks_; | 100   std::vector<XmppTask*> tasks_; | 
| 102   std::vector<const XmlElement*> sent_stanzas_; | 101   std::vector<const XmlElement*> sent_stanzas_; | 
| 103 }; | 102 }; | 
| 104 | 103 | 
| 105 }  // namespace buzz | 104 }  // namespace buzz | 
| 106 | 105 | 
| 107 #endif  // WEBRTC_LIBJINGLE_XMPP_FAKEXMPPCLIENT_H_ | 106 #endif  // WEBRTC_LIBJINGLE_XMPP_FAKEXMPPCLIENT_H_ | 
| OLD | NEW | 
|---|