diff options
Diffstat (limited to 'chromium/content/renderer/media/webrtc/rtc_error.h')
-rw-r--r-- | chromium/content/renderer/media/webrtc/rtc_error.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/chromium/content/renderer/media/webrtc/rtc_error.h b/chromium/content/renderer/media/webrtc/rtc_error.h new file mode 100644 index 00000000000..6183a4eabf5 --- /dev/null +++ b/chromium/content/renderer/media/webrtc/rtc_error.h @@ -0,0 +1,21 @@ +// Copyright (c) 2018 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef CONTENT_RENDERER_MEDIA_WEBRTC_RTC_ERROR_H_ +#define CONTENT_RENDERER_MEDIA_WEBRTC_RTC_ERROR_H_ + +#include "content/public/common/content_features.h" +#include "content/public/common/content_switches.h" +#include "third_party/blink/public/platform/web_rtc_error.h" + +namespace webrtc { +class RTCError; +} + +namespace content { +blink::WebRTCError ConvertToWebKitRTCError( + const webrtc::RTCError& webrtc_error); +} + +#endif // CONTENT_RENDERER_MEDIA_WEBRTC_RTC_ERROR_H_
\ No newline at end of file |