Add RTC_EXPORT to webrtc::Clock

Bug: chromium:1011581
Change-Id: I827ccff6946d3c86af67adcd00b57fad0440489f
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170043
Commit-Queue: Johannes Kron <kron@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30748}
This commit is contained in:
Johannes Kron 2020-03-09 12:58:47 +01:00 committed by Commit Bot
parent f826f4cf57
commit 6d2dfeb3e6
2 changed files with 3 additions and 1 deletions

View File

@ -37,6 +37,7 @@ rtc_library("system_wrappers") {
"../rtc_base:checks",
"../rtc_base/synchronization:rw_lock_wrapper",
"../rtc_base/system:arch",
"../rtc_base/system:rtc_export",
"//third_party/abseil-cpp/absl/types:optional",
]

View File

@ -17,6 +17,7 @@
#include "api/units/timestamp.h"
#include "rtc_base/synchronization/rw_lock_wrapper.h"
#include "rtc_base/system/rtc_export.h"
#include "system_wrappers/include/ntp_time.h"
namespace webrtc {
@ -28,7 +29,7 @@ const uint32_t kNtpJan1970 = 2208988800UL;
const double kMagicNtpFractionalUnit = 4.294967296E+9;
// A clock interface that allows reading of absolute and relative timestamps.
class Clock {
class RTC_EXPORT Clock {
public:
virtual ~Clock() {}
// Return a timestamp relative to an unspecified epoch.