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

Unified Diff: third_party/WebKit/Source/platform/mediastream/RTCOfferOptionsPlatform.h

Issue 2097563002: Split the mediastream module in Blink into mediastream and peerconnection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add DEPS file Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/mediastream/RTCOfferOptionsPlatform.h
diff --git a/third_party/WebKit/Source/platform/mediastream/RTCOfferOptionsPlatform.h b/third_party/WebKit/Source/platform/mediastream/RTCOfferOptionsPlatform.h
deleted file mode 100644
index 2366e1a2515fcbd351e1bdb9d38963f59233c3a8..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/platform/mediastream/RTCOfferOptionsPlatform.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2014 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 RTCOfferOptionsPlatform_h
-#define RTCOfferOptionsPlatform_h
-
-#include "platform/heap/Handle.h"
-
-namespace blink {
-
-class RTCOfferOptionsPlatform final : public GarbageCollected<RTCOfferOptionsPlatform> {
-public:
- static RTCOfferOptionsPlatform* create(int32_t offerToReceiveVideo, int32_t offerToReceiveAudio, bool voiceActivityDetection, bool iceRestart)
- {
- return new RTCOfferOptionsPlatform(offerToReceiveVideo, offerToReceiveAudio, voiceActivityDetection, iceRestart);
- }
-
- int32_t offerToReceiveVideo() const { return m_offerToReceiveVideo; }
- int32_t offerToReceiveAudio() const { return m_offerToReceiveAudio; }
- bool voiceActivityDetection() const { return m_voiceActivityDetection; }
- bool iceRestart() const { return m_iceRestart; }
-
- DEFINE_INLINE_TRACE() {}
-
-private:
- RTCOfferOptionsPlatform(int32_t offerToReceiveVideo, int32_t offerToReceiveAudio, bool voiceActivityDetection, bool iceRestart)
- : m_offerToReceiveVideo(offerToReceiveVideo)
- , m_offerToReceiveAudio(offerToReceiveAudio)
- , m_voiceActivityDetection(voiceActivityDetection)
- , m_iceRestart(iceRestart)
- {
- }
-
- int32_t m_offerToReceiveVideo;
- int32_t m_offerToReceiveAudio;
- bool m_voiceActivityDetection;
- bool m_iceRestart;
-};
-
-} // namespace blink
-
-#endif // RTCOfferOptionsPlatform_h

Powered by Google App Engine
This is Rietveld 408576698