OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 REMOTING_SIGNALING_XMPP_STREAM_PARSER_H_ | 5 #ifndef REMOTING_SIGNALING_XMPP_STREAM_PARSER_H_ |
6 #define REMOTING_SIGNALING_XMPP_STREAM_PARSER_H_ | 6 #define REMOTING_SIGNALING_XMPP_STREAM_PARSER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" |
11 | 12 |
12 namespace buzz { | 13 namespace buzz { |
13 class XmlElement; | 14 class XmlElement; |
14 } // namespace buzz | 15 } // namespace buzz |
15 | 16 |
16 namespace remoting { | 17 namespace remoting { |
17 | 18 |
18 // XmppStreamParser is used to parse XMPP stream. Data is fed to the parser | 19 // XmppStreamParser is used to parse XMPP stream. Data is fed to the parser |
19 // using appendData() method and it calls |on_stanza_callback\ and | 20 // using appendData() method and it calls |on_stanza_callback\ and |
20 // |on_error_callback| specified using SetCallbacks(). | 21 // |on_error_callback| specified using SetCallbacks(). |
(...skipping 14 matching lines...) Expand all Loading... |
35 class Core; | 36 class Core; |
36 | 37 |
37 scoped_ptr<Core> core_; | 38 scoped_ptr<Core> core_; |
38 | 39 |
39 DISALLOW_COPY_AND_ASSIGN(XmppStreamParser); | 40 DISALLOW_COPY_AND_ASSIGN(XmppStreamParser); |
40 }; | 41 }; |
41 | 42 |
42 } // namespace remoting | 43 } // namespace remoting |
43 | 44 |
44 #endif // REMOTING_SIGNALING_XMPP_STREAM_PARSER_H_ | 45 #endif // REMOTING_SIGNALING_XMPP_STREAM_PARSER_H_ |
OLD | NEW |