| 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 18 matching lines...) Expand all Loading... |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #include "modules/peerconnection/RTCSessionDescriptionRequestImpl.h" | 31 #include "modules/peerconnection/RTCSessionDescriptionRequestImpl.h" |
| 32 | 32 |
| 33 #include "core/dom/DOMException.h" | 33 #include "core/dom/DOMException.h" |
| 34 #include "core/dom/ExceptionCode.h" | 34 #include "core/dom/ExceptionCode.h" |
| 35 #include "modules/peerconnection/RTCPeerConnection.h" | 35 #include "modules/peerconnection/RTCPeerConnection.h" |
| 36 #include "modules/peerconnection/RTCPeerConnectionErrorCallback.h" | 36 #include "modules/peerconnection/RTCPeerConnectionErrorCallback.h" |
| 37 #include "modules/peerconnection/RTCSessionDescription.h" | 37 #include "modules/peerconnection/RTCSessionDescription.h" |
| 38 #include "modules/peerconnection/RTCSessionDescriptionCallback.h" | 38 #include "modules/peerconnection/RTCSessionDescriptionCallback.h" |
| 39 #include "platform/wtf/RefPtr.h" |
| 39 #include "public/platform/WebRTCSessionDescription.h" | 40 #include "public/platform/WebRTCSessionDescription.h" |
| 40 #include "wtf/RefPtr.h" | |
| 41 | 41 |
| 42 namespace blink { | 42 namespace blink { |
| 43 | 43 |
| 44 RTCSessionDescriptionRequestImpl* RTCSessionDescriptionRequestImpl::Create( | 44 RTCSessionDescriptionRequestImpl* RTCSessionDescriptionRequestImpl::Create( |
| 45 ExecutionContext* context, | 45 ExecutionContext* context, |
| 46 RTCPeerConnection* requester, | 46 RTCPeerConnection* requester, |
| 47 RTCSessionDescriptionCallback* success_callback, | 47 RTCSessionDescriptionCallback* success_callback, |
| 48 RTCPeerConnectionErrorCallback* error_callback) { | 48 RTCPeerConnectionErrorCallback* error_callback) { |
| 49 return new RTCSessionDescriptionRequestImpl(context, requester, | 49 return new RTCSessionDescriptionRequestImpl(context, requester, |
| 50 success_callback, error_callback); | 50 success_callback, error_callback); |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 | 95 |
| 96 DEFINE_TRACE(RTCSessionDescriptionRequestImpl) { | 96 DEFINE_TRACE(RTCSessionDescriptionRequestImpl) { |
| 97 visitor->Trace(success_callback_); | 97 visitor->Trace(success_callback_); |
| 98 visitor->Trace(error_callback_); | 98 visitor->Trace(error_callback_); |
| 99 visitor->Trace(requester_); | 99 visitor->Trace(requester_); |
| 100 RTCSessionDescriptionRequest::Trace(visitor); | 100 RTCSessionDescriptionRequest::Trace(visitor); |
| 101 ContextLifecycleObserver::Trace(visitor); | 101 ContextLifecycleObserver::Trace(visitor); |
| 102 } | 102 } |
| 103 | 103 |
| 104 } // namespace blink | 104 } // namespace blink |
| OLD | NEW |