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_LOGIN_HANDLER_H_ | 5 #ifndef REMOTING_SIGNALING_XMPP_LOGIN_HANDLER_H_ |
6 #define REMOTING_SIGNALING_XMPP_LOGIN_HANDLER_H_ | 6 #define REMOTING_SIGNALING_XMPP_LOGIN_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
11 #include "remoting/signaling/signal_strategy.h" | 12 #include "remoting/signaling/signal_strategy.h" |
12 | 13 |
13 // Undefine SendMessage and ERROR defined in Windows headers. | 14 // Undefine SendMessage and ERROR defined in Windows headers. |
14 #ifdef SendMessage | 15 #ifdef SendMessage |
15 #undef SendMessage | 16 #undef SendMessage |
16 #endif | 17 #endif |
17 | 18 |
18 #ifdef ERROR | 19 #ifdef ERROR |
19 #undef ERROR | 20 #undef ERROR |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 std::string jid_; | 135 std::string jid_; |
135 | 136 |
136 scoped_ptr<XmppStreamParser> stream_parser_; | 137 scoped_ptr<XmppStreamParser> stream_parser_; |
137 | 138 |
138 DISALLOW_COPY_AND_ASSIGN(XmppLoginHandler); | 139 DISALLOW_COPY_AND_ASSIGN(XmppLoginHandler); |
139 }; | 140 }; |
140 | 141 |
141 } // namespace remoting | 142 } // namespace remoting |
142 | 143 |
143 #endif // REMOTING_SIGNALING_XMPP_LOGIN_HANDLER_H_ | 144 #endif // REMOTING_SIGNALING_XMPP_LOGIN_HANDLER_H_ |
OLD | NEW |