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

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

Issue 11783073: Update some #includes in content/renderer/media for headers in the new Platform directory (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Update some #includes in content/renderer/media for headers in the new Platform directory Created 7 years, 11 months 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 | Annotate | Revision Log
OLDNEW
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/utf_string_conversions.h"
8 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebMediaStre amDescriptor.h" 8 #include "third_party/WebKit/Source/Platform/chromium/public/WebMediaStreamDescr iptor.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 MockWebRTCPeerConnectionHandlerClient:: 13 MockWebRTCPeerConnectionHandlerClient::
14 MockWebRTCPeerConnectionHandlerClient() 14 MockWebRTCPeerConnectionHandlerClient()
15 : renegotiate_(false), 15 : renegotiate_(false),
16 ready_state_(ReadyStateNew), 16 ready_state_(ReadyStateNew),
17 ice_state_(ICEStateNew), 17 ice_state_(ICEStateNew),
18 candidate_mline_index_(-1) { 18 candidate_mline_index_(-1) {
19 } 19 }
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 stream_label_ = UTF16ToUTF8(stream_descriptor.label()); 52 stream_label_ = UTF16ToUTF8(stream_descriptor.label());
53 } 53 }
54 54
55 void MockWebRTCPeerConnectionHandlerClient::didRemoveRemoteStream( 55 void MockWebRTCPeerConnectionHandlerClient::didRemoveRemoteStream(
56 const WebKit::WebMediaStreamDescriptor& stream_descriptor) { 56 const WebKit::WebMediaStreamDescriptor& stream_descriptor) {
57 DCHECK(stream_label_ == UTF16ToUTF8(stream_descriptor.label())); 57 DCHECK(stream_label_ == UTF16ToUTF8(stream_descriptor.label()));
58 stream_label_.clear(); 58 stream_label_.clear();
59 } 59 }
60 60
61 } // namespace content 61 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/media_stream_impl_unittest.cc ('k') | content/renderer/media/peer_connection_handler_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698