| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
| 11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 13 #include "remoting/signaling/signal_strategy.h" | 14 #include "remoting/signaling/signal_strategy.h" |
| 14 | 15 |
| 15 namespace buzz { | 16 namespace buzz { |
| 16 class XmlElement; | 17 class XmlElement; |
| 17 } // namespace buzz | 18 } // namespace buzz |
| 18 | 19 |
| 19 namespace remoting { | 20 namespace remoting { |
| 20 | 21 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 50 std::string host_id_; | 51 std::string host_id_; |
| 51 SignalStrategy* signal_strategy_; | 52 SignalStrategy* signal_strategy_; |
| 52 std::string directory_bot_jid_; | 53 std::string directory_bot_jid_; |
| 53 base::WeakPtrFactory<HostChangeNotificationListener> weak_factory_; | 54 base::WeakPtrFactory<HostChangeNotificationListener> weak_factory_; |
| 54 DISALLOW_COPY_AND_ASSIGN(HostChangeNotificationListener); | 55 DISALLOW_COPY_AND_ASSIGN(HostChangeNotificationListener); |
| 55 }; | 56 }; |
| 56 | 57 |
| 57 } // namespace remoting | 58 } // namespace remoting |
| 58 | 59 |
| 59 #endif // REMOTING_HOST_HOST_CHANGE_NOTIFICATION_LISTENER_H | 60 #endif // REMOTING_HOST_HOST_CHANGE_NOTIFICATION_LISTENER_H |
| OLD | NEW |