| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_ | 6 #define CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "third_party/libjingle/source/talk/app/webrtc/peerconnection.h" | 12 #include "third_party/libjingle/source/talk/app/webrtcv1/peerconnection.h" |
| 13 | 13 |
| 14 namespace webrtc { | 14 namespace webrtc { |
| 15 | 15 |
| 16 class MockPeerConnectionImpl : public PeerConnection { | 16 class MockPeerConnectionImpl : public PeerConnection { |
| 17 public: | 17 public: |
| 18 MockPeerConnectionImpl(); | 18 MockPeerConnectionImpl(); |
| 19 virtual ~MockPeerConnectionImpl(); | 19 virtual ~MockPeerConnectionImpl(); |
| 20 | 20 |
| 21 // PeerConnection implementation. | 21 // PeerConnection implementation. |
| 22 virtual void RegisterObserver(PeerConnectionObserver* observer) OVERRIDE; | 22 virtual void RegisterObserver(PeerConnectionObserver* observer) OVERRIDE; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 53 bool connected_; | 53 bool connected_; |
| 54 bool video_capture_set_; | 54 bool video_capture_set_; |
| 55 std::string video_renderer_stream_id_; | 55 std::string video_renderer_stream_id_; |
| 56 | 56 |
| 57 DISALLOW_COPY_AND_ASSIGN(MockPeerConnectionImpl); | 57 DISALLOW_COPY_AND_ASSIGN(MockPeerConnectionImpl); |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 } // namespace webrtc | 60 } // namespace webrtc |
| 61 | 61 |
| 62 #endif // CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_ | 62 #endif // CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_ |
| OLD | NEW |