chromium/third_party/blink/renderer/modules/peerconnection/rtc_error_util.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/modules/peerconnection/rtc_error_util.h"

#include "third_party/blink/renderer/bindings/core/v8/script_promise_resolver.h"
#include "third_party/blink/renderer/core/dom/dom_exception.h"
#include "third_party/blink/renderer/modules/peerconnection/rtc_error.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"

namespace blink {

DOMExceptionCode RTCErrorToDOMExceptionCode(const webrtc::RTCError& error) {}

DOMException* CreateDOMExceptionFromRTCError(const webrtc::RTCError& error) {}

void RejectPromiseFromRTCError(const webrtc::RTCError& error,
                               ScriptPromiseResolverBase* resolver) {}

void ThrowExceptionFromRTCError(const webrtc::RTCError& error,
                                ExceptionState& exception_state) {}
}  // namespace blink