OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "remoting/signaling/mock_signal_strategy.h" | 5 #include "remoting/signaling/mock_signal_strategy.h" |
6 | 6 |
7 namespace remoting { | 7 namespace remoting { |
8 | 8 |
9 MockSignalStrategy::MockSignalStrategy() { } | 9 MockSignalStrategy::MockSignalStrategy(const SignalingAddress& address) |
10 MockSignalStrategy::~MockSignalStrategy() { } | 10 : local_address_(address) {} |
| 11 MockSignalStrategy::~MockSignalStrategy() {} |
| 12 |
| 13 const SignalingAddress& MockSignalStrategy::GetLocalAddress() const { |
| 14 return local_address_; |
| 15 } |
11 | 16 |
12 } // namespace remoting | 17 } // namespace remoting |
OLD | NEW |