Add 3 missing RTC_EXPORT.
These two annotations are now needed to correctly compile Chromium with is_component_build=true and the WebRTC component. TBR: kwiberg@webrtc.org Bug: webrtc:9419 Change-Id: Id5603cf747357c0c2a4b41684eb4fd607cccfdea Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/158881 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29686}
This commit is contained in:
parent
d5a7838926
commit
3ac6375bb3
@ -112,7 +112,7 @@ enum class SdpType {
|
|||||||
|
|
||||||
// Returns the string form of the given SDP type. String forms are defined in
|
// Returns the string form of the given SDP type. String forms are defined in
|
||||||
// SessionDescriptionInterface.
|
// SessionDescriptionInterface.
|
||||||
const char* SdpTypeToString(SdpType type);
|
RTC_EXPORT const char* SdpTypeToString(SdpType type);
|
||||||
|
|
||||||
// Returns the SdpType from its string form. The string form can be one of the
|
// Returns the SdpType from its string form. The string form can be one of the
|
||||||
// constants defined in SessionDescriptionInterface. Passing in any other string
|
// constants defined in SessionDescriptionInterface. Passing in any other string
|
||||||
|
|||||||
@ -17,17 +17,18 @@
|
|||||||
|
|
||||||
#include "api/jsep.h"
|
#include "api/jsep.h"
|
||||||
#include "pc/session_description.h"
|
#include "pc/session_description.h"
|
||||||
|
#include "rtc_base/system/rtc_export.h"
|
||||||
|
|
||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
|
|
||||||
// Returns a copy of the given session description.
|
// Returns a copy of the given session description.
|
||||||
std::unique_ptr<SessionDescriptionInterface> CloneSessionDescription(
|
RTC_EXPORT std::unique_ptr<SessionDescriptionInterface> CloneSessionDescription(
|
||||||
const SessionDescriptionInterface* sdesc);
|
const SessionDescriptionInterface* sdesc);
|
||||||
|
|
||||||
// Returns a copy of the given session description with the type changed.
|
// Returns a copy of the given session description with the type changed.
|
||||||
std::unique_ptr<SessionDescriptionInterface> CloneSessionDescriptionAsType(
|
RTC_EXPORT std::unique_ptr<SessionDescriptionInterface>
|
||||||
const SessionDescriptionInterface* sdesc,
|
CloneSessionDescriptionAsType(const SessionDescriptionInterface* sdesc,
|
||||||
SdpType type);
|
SdpType type);
|
||||||
|
|
||||||
// Function that takes a single session description content with its
|
// Function that takes a single session description content with its
|
||||||
// corresponding transport and produces a boolean.
|
// corresponding transport and produces a boolean.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user