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/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "testing/gmock/include/gmock/gmock.h" | 14 #include "testing/gmock/include/gmock/gmock.h" |
15 #include "third_party/libjingle/source/talk/app/webrtc/peerconnectioninterface.h
" | 15 #include "third_party/webrtc/api/peerconnectioninterface.h" |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 | 18 |
19 class MockPeerConnectionDependencyFactory; | 19 class MockPeerConnectionDependencyFactory; |
20 class MockStreamCollection; | 20 class MockStreamCollection; |
21 | 21 |
22 class MockPeerConnectionImpl : public webrtc::PeerConnectionInterface { | 22 class MockPeerConnectionImpl : public webrtc::PeerConnectionInterface { |
23 public: | 23 public: |
24 explicit MockPeerConnectionImpl(MockPeerConnectionDependencyFactory* factory, | 24 explicit MockPeerConnectionImpl(MockPeerConnectionDependencyFactory* factory, |
25 webrtc::PeerConnectionObserver* observer); | 25 webrtc::PeerConnectionObserver* observer); |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 int sdp_mline_index_; | 131 int sdp_mline_index_; |
132 std::string ice_sdp_; | 132 std::string ice_sdp_; |
133 webrtc::PeerConnectionObserver* observer_; | 133 webrtc::PeerConnectionObserver* observer_; |
134 | 134 |
135 DISALLOW_COPY_AND_ASSIGN(MockPeerConnectionImpl); | 135 DISALLOW_COPY_AND_ASSIGN(MockPeerConnectionImpl); |
136 }; | 136 }; |
137 | 137 |
138 } // namespace content | 138 } // namespace content |
139 | 139 |
140 #endif // CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_ | 140 #endif // CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_ |
OLD | NEW |