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 #include "content/renderer/media/mock_web_rtc_peer_connection_handler_client.h" | 4 #include "content/renderer/media/mock_web_rtc_peer_connection_handler_client.h" |
5 | 5 |
6 #include "base/logging.h" | 6 #include "base/logging.h" |
7 #include "base/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
8 #include "third_party/WebKit/public/platform/WebMediaStream.h" | 8 #include "third_party/WebKit/public/platform/WebMediaStream.h" |
9 #include "third_party/WebKit/public/platform/WebString.h" | 9 #include "third_party/WebKit/public/platform/WebString.h" |
10 | 10 |
11 using testing::_; | 11 using testing::_; |
12 | 12 |
13 namespace content { | 13 namespace content { |
14 | 14 |
15 MockWebRTCPeerConnectionHandlerClient:: | 15 MockWebRTCPeerConnectionHandlerClient:: |
16 MockWebRTCPeerConnectionHandlerClient() | 16 MockWebRTCPeerConnectionHandlerClient() |
17 : candidate_mline_index_(-1) { | 17 : candidate_mline_index_(-1) { |
(...skipping 28 matching lines...) Expand all Loading... |
46 const WebKit::WebMediaStream& stream_descriptor) { | 46 const WebKit::WebMediaStream& stream_descriptor) { |
47 remote_steam_ = stream_descriptor; | 47 remote_steam_ = stream_descriptor; |
48 } | 48 } |
49 | 49 |
50 void MockWebRTCPeerConnectionHandlerClient::didRemoveRemoteStreamWorker( | 50 void MockWebRTCPeerConnectionHandlerClient::didRemoveRemoteStreamWorker( |
51 const WebKit::WebMediaStream& stream_descriptor) { | 51 const WebKit::WebMediaStream& stream_descriptor) { |
52 remote_steam_.reset(); | 52 remote_steam_.reset(); |
53 } | 53 } |
54 | 54 |
55 } // namespace content | 55 } // namespace content |
OLD | NEW |