OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_HOST_HOST_CHANGE_NOTIFICATION_LISTENER_H | 5 #ifndef REMOTING_HOST_HOST_CHANGE_NOTIFICATION_LISTENER_H |
6 #define REMOTING_HOST_HOST_CHANGE_NOTIFICATION_LISTENER_H | 6 #define REMOTING_HOST_HOST_CHANGE_NOTIFICATION_LISTENER_H |
7 | 7 |
| 8 #include <memory> |
8 #include <string> | 9 #include <string> |
9 | 10 |
10 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
11 #include "base/macros.h" | 12 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "remoting/signaling/signal_strategy.h" | 14 #include "remoting/signaling/signal_strategy.h" |
15 | 15 |
16 namespace buzz { | 16 namespace buzz { |
17 class XmlElement; | 17 class XmlElement; |
18 } // namespace buzz | 18 } // namespace buzz |
19 | 19 |
20 namespace remoting { | 20 namespace remoting { |
21 | 21 |
22 // HostChangeNotificationListener listens for messages from the remoting bot | 22 // HostChangeNotificationListener listens for messages from the remoting bot |
(...skipping 28 matching lines...) Expand all Loading... |
51 std::string host_id_; | 51 std::string host_id_; |
52 SignalStrategy* signal_strategy_; | 52 SignalStrategy* signal_strategy_; |
53 std::string directory_bot_jid_; | 53 std::string directory_bot_jid_; |
54 base::WeakPtrFactory<HostChangeNotificationListener> weak_factory_; | 54 base::WeakPtrFactory<HostChangeNotificationListener> weak_factory_; |
55 DISALLOW_COPY_AND_ASSIGN(HostChangeNotificationListener); | 55 DISALLOW_COPY_AND_ASSIGN(HostChangeNotificationListener); |
56 }; | 56 }; |
57 | 57 |
58 } // namespace remoting | 58 } // namespace remoting |
59 | 59 |
60 #endif // REMOTING_HOST_HOST_CHANGE_NOTIFICATION_LISTENER_H | 60 #endif // REMOTING_HOST_HOST_CHANGE_NOTIFICATION_LISTENER_H |
OLD | NEW |