• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  *  Copyright 2017 The WebRTC project authors. All Rights Reserved.
3  *
4  *  Use of this source code is governed by a BSD-style license
5  *  that can be found in the LICENSE file in the root of the source
6  *  tree. An additional intellectual property rights grant can be found
7  *  in the file PATENTS.  All contributing project authors may
8  *  be found in the AUTHORS file in the root of the source tree.
9  */
10 
11 #ifndef API_RTC_EVENT_LOG_RTC_EVENT_LOG_FACTORY_H_
12 #define API_RTC_EVENT_LOG_RTC_EVENT_LOG_FACTORY_H_
13 
14 #include <memory>
15 
16 #include "api/rtc_event_log/rtc_event_log.h"
17 #include "api/rtc_event_log/rtc_event_log_factory_interface.h"
18 #include "api/task_queue/task_queue_factory.h"
19 #include "rtc_base/system/rtc_export.h"
20 
21 namespace webrtc {
22 
23 class RTC_EXPORT RtcEventLogFactory : public RtcEventLogFactoryInterface {
24  public:
25   explicit RtcEventLogFactory(TaskQueueFactory* task_queue_factory);
~RtcEventLogFactory()26   ~RtcEventLogFactory() override {}
27 
28   std::unique_ptr<RtcEventLog> CreateRtcEventLog(
29       RtcEventLog::EncodingType encoding_type) override;
30 
31  private:
32   TaskQueueFactory* const task_queue_factory_;
33 };
34 
35 }  // namespace webrtc
36 
37 #endif  // API_RTC_EVENT_LOG_RTC_EVENT_LOG_FACTORY_H_
38