Delete class EventTimerWrapper.
Only user, iSACTest, refactored to use a sleep instead. Bug: webrtc:3380 Change-Id: I683a5a05349f75a17e5d2a02d4a20a9cf059a28f Reviewed-on: https://webrtc-review.googlesource.com/96802 Reviewed-by: Henrik Andreassson <henrika@webrtc.org> Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24541}
This commit is contained in:
@ -20,8 +20,6 @@ enum EventTypeWrapper {
|
||||
|
||||
#define WEBRTC_EVENT_INFINITE 0xffffffff
|
||||
|
||||
class EventTimerWrapper;
|
||||
|
||||
class EventWrapper {
|
||||
public:
|
||||
// Factory method. Constructor disabled.
|
||||
@ -50,20 +48,6 @@ class EventWrapper {
|
||||
virtual EventTypeWrapper Wait(unsigned long max_time) = 0;
|
||||
};
|
||||
|
||||
class EventTimerWrapper : public EventWrapper {
|
||||
public:
|
||||
static EventTimerWrapper* Create();
|
||||
|
||||
// Starts a timer that will call a non-sticky version of Set() either once
|
||||
// or periodically. If the timer is periodic it ensures that there is no
|
||||
// drift over time relative to the system clock.
|
||||
//
|
||||
// |time| is in milliseconds.
|
||||
virtual bool StartTimer(bool periodic, unsigned long time) = 0;
|
||||
|
||||
virtual bool StopTimer() = 0;
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // SYSTEM_WRAPPERS_INCLUDE_EVENT_WRAPPER_H_
|
||||
|
||||
Reference in New Issue
Block a user