Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(803)

Side by Side Diff: content/renderer/media/mock_peer_connection_impl.cc

Issue 8060055: Adding support for MediaStream and PeerConnection functionality (Closed) Base URL: http://git.chromium.org/chromium/chromium.git@trunk
Patch Set: Code review, adding changed gyp files. It also includes all changes in patch 4 which didn't get in. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/renderer/media/mock_peer_connection_impl.h"
6
7 namespace webrtc {
8
9 MockPeerConnectionImpl::MockPeerConnectionImpl() {}
10
11 MockPeerConnectionImpl::~MockPeerConnectionImpl() {}
12
13 void MockPeerConnectionImpl::RegisterObserver(
14 PeerConnectionObserver* observer) {
15 }
16
17 bool MockPeerConnectionImpl::SignalingMessage(
18 const std::string& signaling_message) {
19 signaling_message_ = signaling_message;
20 return true;
21 }
22
23 bool MockPeerConnectionImpl::AddStream(
24 const std::string& stream_id,
25 bool video) {
26 return false;
27 }
28
29 bool MockPeerConnectionImpl::RemoveStream(const std::string& stream_id) {
30 return false;
31 }
32
33 bool MockPeerConnectionImpl::Connect() {
34 return false;
35 }
36
37 bool MockPeerConnectionImpl::Close() {
38 return false;
39 }
40
41 bool MockPeerConnectionImpl::SetAudioDevice(
42 const std::string& wave_in_device,
43 const std::string& wave_out_device,
44 int opts) {
45 return false;
46 }
47
48 bool MockPeerConnectionImpl::SetLocalVideoRenderer(
49 cricket::VideoRenderer* renderer) {
50 return false;
51 }
52
53 bool MockPeerConnectionImpl::SetVideoRenderer(
54 const std::string& stream_id,
55 cricket::VideoRenderer* renderer) {
56 return false;
57 }
58
59 bool MockPeerConnectionImpl::SetVideoCapture(const std::string& cam_device) {
60 return false;
61 }
62
63 MockPeerConnectionImpl::ReadyState MockPeerConnectionImpl::GetReadyState() {
64 return NEW;
65 }
66
67 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698