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

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

Issue 207603003: Extract RequestInfo struct from ResourceLoaderBridge. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 6 years, 9 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
« no previous file with comments | « content/content_child.gypi ('k') | content/renderer/media/video_destination_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4
5 #include "content/renderer/media/rtc_peer_connection_handler.h" 5 #include "content/renderer/media/rtc_peer_connection_handler.h"
6 6
7 #include <string> 7 #include <string>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 17 matching lines...) Expand all
28 #include "content/renderer/media/webrtc_audio_device_impl.h" 28 #include "content/renderer/media/webrtc_audio_device_impl.h"
29 #include "content/renderer/render_thread_impl.h" 29 #include "content/renderer/render_thread_impl.h"
30 #include "third_party/WebKit/public/platform/WebMediaConstraints.h" 30 #include "third_party/WebKit/public/platform/WebMediaConstraints.h"
31 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h" 31 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h"
32 #include "third_party/WebKit/public/platform/WebRTCConfiguration.h" 32 #include "third_party/WebKit/public/platform/WebRTCConfiguration.h"
33 #include "third_party/WebKit/public/platform/WebRTCDataChannelInit.h" 33 #include "third_party/WebKit/public/platform/WebRTCDataChannelInit.h"
34 #include "third_party/WebKit/public/platform/WebRTCICECandidate.h" 34 #include "third_party/WebKit/public/platform/WebRTCICECandidate.h"
35 #include "third_party/WebKit/public/platform/WebRTCSessionDescription.h" 35 #include "third_party/WebKit/public/platform/WebRTCSessionDescription.h"
36 #include "third_party/WebKit/public/platform/WebRTCSessionDescriptionRequest.h" 36 #include "third_party/WebKit/public/platform/WebRTCSessionDescriptionRequest.h"
37 #include "third_party/WebKit/public/platform/WebRTCVoidRequest.h" 37 #include "third_party/WebKit/public/platform/WebRTCVoidRequest.h"
38 #include "third_party/WebKit/public/platform/WebURL.h"
38 39
39 namespace content { 40 namespace content {
40 41
41 // Converter functions from libjingle types to WebKit types. 42 // Converter functions from libjingle types to WebKit types.
42 blink::WebRTCPeerConnectionHandlerClient::ICEGatheringState 43 blink::WebRTCPeerConnectionHandlerClient::ICEGatheringState
43 GetWebKitIceGatheringState( 44 GetWebKitIceGatheringState(
44 webrtc::PeerConnectionInterface::IceGatheringState state) { 45 webrtc::PeerConnectionInterface::IceGatheringState state) {
45 using blink::WebRTCPeerConnectionHandlerClient; 46 using blink::WebRTCPeerConnectionHandlerClient;
46 switch (state) { 47 switch (state) {
47 case webrtc::PeerConnectionInterface::kIceGatheringNew: 48 case webrtc::PeerConnectionInterface::kIceGatheringNew:
(...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 webrtc::SessionDescriptionInterface* native_desc = 833 webrtc::SessionDescriptionInterface* native_desc =
833 dependency_factory_->CreateSessionDescription(type, sdp, error); 834 dependency_factory_->CreateSessionDescription(type, sdp, error);
834 835
835 LOG_IF(ERROR, !native_desc) << "Failed to create native session description." 836 LOG_IF(ERROR, !native_desc) << "Failed to create native session description."
836 << " Type: " << type << " SDP: " << sdp; 837 << " Type: " << type << " SDP: " << sdp;
837 838
838 return native_desc; 839 return native_desc;
839 } 840 }
840 841
841 } // namespace content 842 } // namespace content
OLDNEW
« no previous file with comments | « content/content_child.gypi ('k') | content/renderer/media/video_destination_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698