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 "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "third_party/libjingle/source/talk/app/webrtc/peerconnection.h" | 13 #include "third_party/libjingle/source/talk/app/webrtc/peerconnectioninterface.h
" |
14 | 14 |
15 class MockMediaStreamDependencyFactory; | 15 class MockMediaStreamDependencyFactory; |
16 | 16 |
17 namespace webrtc { | 17 namespace webrtc { |
18 | 18 |
19 class MockStreamCollection; | 19 class MockStreamCollection; |
20 | 20 |
21 class MockPeerConnectionImpl : public PeerConnectionInterface { | 21 class MockPeerConnectionImpl : public PeerConnectionInterface { |
22 public: | 22 public: |
23 explicit MockPeerConnectionImpl(MockMediaStreamDependencyFactory* factory); | 23 explicit MockPeerConnectionImpl(MockMediaStreamDependencyFactory* factory); |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 std::string ice_label_; | 95 std::string ice_label_; |
96 std::string ice_sdp_; | 96 std::string ice_sdp_; |
97 ReadyState ready_state_; | 97 ReadyState ready_state_; |
98 | 98 |
99 DISALLOW_COPY_AND_ASSIGN(MockPeerConnectionImpl); | 99 DISALLOW_COPY_AND_ASSIGN(MockPeerConnectionImpl); |
100 }; | 100 }; |
101 | 101 |
102 } // namespace webrtc | 102 } // namespace webrtc |
103 | 103 |
104 #endif // CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_ | 104 #endif // CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_ |
OLD | NEW |