Commit 9abb23d2 authored by Antonio Gomes's avatar Antonio Gomes Committed by Commit Bot

Remove web_rtc_offer_options.h

... left over of https://crrev.com/c/1884931.

BUG=787254, 919392
R=haraken@chromium.org

Change-Id: I5742b6938342e25583108b6bc70964b4bbd07a23
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1899787
Commit-Queue: Antonio Gomes <tonikitoo@igalia.com>
Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#712633}
parent 80023b1d
// 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 THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_RTC_OFFER_OPTIONS_H_
#define THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_RTC_OFFER_OPTIONS_H_
#include "third_party/blink/public/platform/web_common.h"
#include "third_party/blink/public/platform/web_private_ptr.h"
namespace blink {
class RTCOfferOptionsPlatform;
class BLINK_PLATFORM_EXPORT WebRTCOfferOptions {
public:
WebRTCOfferOptions(int32_t offer_to_receive_audio,
int32_t offer_to_receive_video,
bool voice_activity_detection,
bool ice_restart);
WebRTCOfferOptions(const WebRTCOfferOptions& other) { Assign(other); }
~WebRTCOfferOptions() { Reset(); }
WebRTCOfferOptions& operator=(const WebRTCOfferOptions& other) {
Assign(other);
return *this;
}
void Assign(const WebRTCOfferOptions&);
void Reset();
bool IsNull() const { return private_.IsNull(); }
int32_t OfferToReceiveVideo() const;
int32_t OfferToReceiveAudio() const;
bool VoiceActivityDetection() const;
bool IceRestart() const;
#if INSIDE_BLINK
WebRTCOfferOptions(RTCOfferOptionsPlatform*);
#endif
private:
WebPrivatePtr<RTCOfferOptionsPlatform> private_;
};
} // namespace blink
#endif // THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_RTC_OFFER_OPTIONS_H_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment