1 /* 2 * Copyright (c) 2016 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 #ifndef RTC_TOOLS_RTC_EVENT_LOG_VISUALIZER_PLOT_PROTOBUF_H_ 11 #define RTC_TOOLS_RTC_EVENT_LOG_VISUALIZER_PLOT_PROTOBUF_H_ 12 13 #include "absl/base/attributes.h" 14 #include "rtc_base/ignore_wundef.h" 15 RTC_PUSH_IGNORING_WUNDEF() 16 #include "rtc_tools/rtc_event_log_visualizer/proto/chart.pb.h" RTC_POP_IGNORING_WUNDEF()17RTC_POP_IGNORING_WUNDEF() 18 #include "rtc_tools/rtc_event_log_visualizer/plot_base.h" 19 20 namespace webrtc { 21 22 class ProtobufPlot final : public Plot { 23 public: 24 ProtobufPlot(); 25 ~ProtobufPlot() override; 26 void Draw() override; 27 }; 28 29 class ABSL_DEPRECATED("Use PlotCollection and ExportProtobuf() instead") 30 ProtobufPlotCollection final : public PlotCollection { 31 public: 32 ProtobufPlotCollection(); 33 ~ProtobufPlotCollection() override; 34 void Draw() override; 35 Plot* AppendNewPlot() override; 36 }; 37 38 } // namespace webrtc 39 40 #endif // RTC_TOOLS_RTC_EVENT_LOG_VISUALIZER_PLOT_PROTOBUF_H_ 41