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

Side by Side Diff: third_party/WebKit/Source/modules/peerconnection/RTCPeerConnection.cpp

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 12 matching lines...) Expand all
23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #include "modules/peerconnection/RTCPeerConnection.h" 31 #include "modules/peerconnection/RTCPeerConnection.h"
32 32
33 #include <algorithm>
34 #include <memory>
33 #include "bindings/core/v8/ExceptionMessages.h" 35 #include "bindings/core/v8/ExceptionMessages.h"
34 #include "bindings/core/v8/ExceptionState.h" 36 #include "bindings/core/v8/ExceptionState.h"
35 #include "bindings/core/v8/Microtask.h" 37 #include "bindings/core/v8/Microtask.h"
36 #include "bindings/core/v8/Nullable.h" 38 #include "bindings/core/v8/Nullable.h"
37 #include "bindings/core/v8/ScriptPromiseResolver.h" 39 #include "bindings/core/v8/ScriptPromiseResolver.h"
38 #include "bindings/core/v8/ScriptState.h" 40 #include "bindings/core/v8/ScriptState.h"
39 #include "bindings/core/v8/ScriptValue.h" 41 #include "bindings/core/v8/ScriptValue.h"
40 #include "bindings/core/v8/V8ThrowException.h" 42 #include "bindings/core/v8/V8ThrowException.h"
41 #include "bindings/modules/v8/RTCIceCandidateInitOrRTCIceCandidate.h" 43 #include "bindings/modules/v8/RTCIceCandidateInitOrRTCIceCandidate.h"
42 #include "bindings/modules/v8/V8MediaStreamTrack.h" 44 #include "bindings/modules/v8/V8MediaStreamTrack.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 #include "public/platform/WebRTCError.h" 91 #include "public/platform/WebRTCError.h"
90 #include "public/platform/WebRTCICECandidate.h" 92 #include "public/platform/WebRTCICECandidate.h"
91 #include "public/platform/WebRTCKeyParams.h" 93 #include "public/platform/WebRTCKeyParams.h"
92 #include "public/platform/WebRTCOfferOptions.h" 94 #include "public/platform/WebRTCOfferOptions.h"
93 #include "public/platform/WebRTCSessionDescription.h" 95 #include "public/platform/WebRTCSessionDescription.h"
94 #include "public/platform/WebRTCSessionDescriptionRequest.h" 96 #include "public/platform/WebRTCSessionDescriptionRequest.h"
95 #include "public/platform/WebRTCStatsRequest.h" 97 #include "public/platform/WebRTCStatsRequest.h"
96 #include "public/platform/WebRTCVoidRequest.h" 98 #include "public/platform/WebRTCVoidRequest.h"
97 #include "wtf/CurrentTime.h" 99 #include "wtf/CurrentTime.h"
98 #include "wtf/PtrUtil.h" 100 #include "wtf/PtrUtil.h"
99 #include <algorithm>
100 #include <memory>
101 101
102 namespace blink { 102 namespace blink {
103 103
104 namespace { 104 namespace {
105 105
106 const char kSignalingStateClosedMessage[] = 106 const char kSignalingStateClosedMessage[] =
107 "The RTCPeerConnection's signalingState is 'closed'."; 107 "The RTCPeerConnection's signalingState is 'closed'.";
108 108
109 bool throwExceptionIfSignalingStateClosed( 109 bool throwExceptionIfSignalingStateClosed(
110 RTCPeerConnection::SignalingState state, 110 RTCPeerConnection::SignalingState state,
(...skipping 1383 matching lines...) Expand 10 before | Expand all | Expand 10 after
1494 DEFINE_TRACE(RTCPeerConnection) { 1494 DEFINE_TRACE(RTCPeerConnection) {
1495 visitor->trace(m_localStreams); 1495 visitor->trace(m_localStreams);
1496 visitor->trace(m_remoteStreams); 1496 visitor->trace(m_remoteStreams);
1497 visitor->trace(m_dispatchScheduledEventRunner); 1497 visitor->trace(m_dispatchScheduledEventRunner);
1498 visitor->trace(m_scheduledEvents); 1498 visitor->trace(m_scheduledEvents);
1499 EventTargetWithInlineData::trace(visitor); 1499 EventTargetWithInlineData::trace(visitor);
1500 SuspendableObject::trace(visitor); 1500 SuspendableObject::trace(visitor);
1501 } 1501 }
1502 1502
1503 } // namespace blink 1503 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698