| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2016 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2016 The WebRTC Project Authors. All rights reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #ifndef WEBRTC_P2P_BASE_MOCKICETRANSPORT_H_ | 11 #ifndef WEBRTC_P2P_BASE_MOCKICETRANSPORT_H_ |
| 12 #define WEBRTC_P2P_BASE_MOCKICETRANSPORT_H_ | 12 #define WEBRTC_P2P_BASE_MOCKICETRANSPORT_H_ |
| 13 | 13 |
| 14 #include <memory> | 14 #include <memory> |
| 15 #include <string> | 15 #include <string> |
| 16 #include <vector> | 16 #include <vector> |
| 17 | 17 |
| 18 #include "webrtc/base/gunit.h" |
| 18 #include "webrtc/p2p/base/icetransportinternal.h" | 19 #include "webrtc/p2p/base/icetransportinternal.h" |
| 19 #include "webrtc/rtc_base/gunit.h" | |
| 20 #include "webrtc/test/gmock.h" | 20 #include "webrtc/test/gmock.h" |
| 21 | 21 |
| 22 using testing::_; | 22 using testing::_; |
| 23 using testing::Return; | 23 using testing::Return; |
| 24 | 24 |
| 25 namespace cricket { | 25 namespace cricket { |
| 26 | 26 |
| 27 // Used in Chromium/remoting/protocol/channel_socket_adapter_unittest.cc | 27 // Used in Chromium/remoting/protocol/channel_socket_adapter_unittest.cc |
| 28 class MockIceTransport : public IceTransportInternal { | 28 class MockIceTransport : public IceTransportInternal { |
| 29 public: | 29 public: |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 bool receiving() const override { return true; } | 72 bool receiving() const override { return true; } |
| 73 bool writable() const override { return true; } | 73 bool writable() const override { return true; } |
| 74 | 74 |
| 75 private: | 75 private: |
| 76 std::string transport_name_; | 76 std::string transport_name_; |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 } // namespace cricket | 79 } // namespace cricket |
| 80 | 80 |
| 81 #endif // WEBRTC_P2P_BASE_MOCKICETRANSPORT_H_ | 81 #endif // WEBRTC_P2P_BASE_MOCKICETRANSPORT_H_ |
| OLD | NEW |