| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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_CLIENT_PLUGIN_DELEGATING_SIGNAL_STRATEGY_H_ | 5 #ifndef REMOTING_CLIENT_PLUGIN_DELEGATING_SIGNAL_STRATEGY_H_ |
| 6 #define REMOTING_CLIENT_PLUGIN_DELEGATING_SIGNAL_STRATEGY_H_ | 6 #define REMOTING_CLIENT_PLUGIN_DELEGATING_SIGNAL_STRATEGY_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/observer_list.h" | 9 #include "base/observer_list.h" |
| 10 #include "remoting/jingle_glue/signal_strategy.h" | 10 #include "remoting/signaling/signal_strategy.h" |
| 11 | 11 |
| 12 namespace base { | 12 namespace base { |
| 13 class SingleThreadTaskRunner; | 13 class SingleThreadTaskRunner; |
| 14 } // namespace base | 14 } // namespace base |
| 15 | 15 |
| 16 namespace remoting { | 16 namespace remoting { |
| 17 | 17 |
| 18 class DelegatingSignalStrategy : public SignalStrategy { | 18 class DelegatingSignalStrategy : public SignalStrategy { |
| 19 public: | 19 public: |
| 20 typedef base::Callback<void(const std::string&)> SendIqCallback; | 20 typedef base::Callback<void(const std::string&)> SendIqCallback; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 43 ObserverList<Listener> listeners_; | 43 ObserverList<Listener> listeners_; |
| 44 | 44 |
| 45 int last_id_; | 45 int last_id_; |
| 46 | 46 |
| 47 DISALLOW_COPY_AND_ASSIGN(DelegatingSignalStrategy); | 47 DISALLOW_COPY_AND_ASSIGN(DelegatingSignalStrategy); |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 } // namespace remoting | 50 } // namespace remoting |
| 51 | 51 |
| 52 #endif // REMOTING_CLIENT_PLUGIN_DELEGATING_SIGNAL_STRATEGY_H_ | 52 #endif // REMOTING_CLIENT_PLUGIN_DELEGATING_SIGNAL_STRATEGY_H_ |
| OLD | NEW |