| OLD | NEW |
| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 #include "public/platform/WebRTCConfiguration.h" | 61 #include "public/platform/WebRTCConfiguration.h" |
| 62 #include "public/platform/WebRTCDataChannelHandler.h" | 62 #include "public/platform/WebRTCDataChannelHandler.h" |
| 63 #include "public/platform/WebRTCDataChannelInit.h" | 63 #include "public/platform/WebRTCDataChannelInit.h" |
| 64 #include "public/platform/WebRTCICECandidate.h" | 64 #include "public/platform/WebRTCICECandidate.h" |
| 65 #include "public/platform/WebRTCOfferOptions.h" | 65 #include "public/platform/WebRTCOfferOptions.h" |
| 66 #include "public/platform/WebRTCSessionDescription.h" | 66 #include "public/platform/WebRTCSessionDescription.h" |
| 67 #include "public/platform/WebRTCSessionDescriptionRequest.h" | 67 #include "public/platform/WebRTCSessionDescriptionRequest.h" |
| 68 #include "public/platform/WebRTCStatsRequest.h" | 68 #include "public/platform/WebRTCStatsRequest.h" |
| 69 #include "public/platform/WebRTCVoidRequest.h" | 69 #include "public/platform/WebRTCVoidRequest.h" |
| 70 | 70 |
| 71 namespace WebCore { | 71 namespace blink { |
| 72 | 72 |
| 73 namespace { | 73 namespace { |
| 74 | 74 |
| 75 static bool throwExceptionIfSignalingStateClosed(RTCPeerConnection::SignalingSta
te state, ExceptionState& exceptionState) | 75 static bool throwExceptionIfSignalingStateClosed(RTCPeerConnection::SignalingSta
te state, ExceptionState& exceptionState) |
| 76 { | 76 { |
| 77 if (state == RTCPeerConnection::SignalingStateClosed) { | 77 if (state == RTCPeerConnection::SignalingStateClosed) { |
| 78 exceptionState.throwDOMException(InvalidStateError, "The RTCPeerConnecti
on's signalingState is 'closed'."); | 78 exceptionState.throwDOMException(InvalidStateError, "The RTCPeerConnecti
on's signalingState is 'closed'."); |
| 79 return true; | 79 return true; |
| 80 } | 80 } |
| 81 | 81 |
| (...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 783 { | 783 { |
| 784 visitor->trace(m_localStreams); | 784 visitor->trace(m_localStreams); |
| 785 visitor->trace(m_remoteStreams); | 785 visitor->trace(m_remoteStreams); |
| 786 visitor->trace(m_dataChannels); | 786 visitor->trace(m_dataChannels); |
| 787 #if ENABLE(OILPAN) | 787 #if ENABLE(OILPAN) |
| 788 visitor->trace(m_scheduledEvents); | 788 visitor->trace(m_scheduledEvents); |
| 789 #endif | 789 #endif |
| 790 EventTargetWithInlineData::trace(visitor); | 790 EventTargetWithInlineData::trace(visitor); |
| 791 } | 791 } |
| 792 | 792 |
| 793 } // namespace WebCore | 793 } // namespace blink |
| OLD | NEW |