blob: 2008a228e34db2f855b77dfc672d1b999a10b590 [file] [log] [blame]
tereliusb246a292016-08-24 01:15:251/*
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 WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_PLOT_PROTOBUF_H_
11#define WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_PLOT_PROTOBUF_H_
12
skvladf581eb72016-09-07 18:15:3713#include "webrtc/tools/event_log_visualizer/chart.pb.h"
tereliusb246a292016-08-24 01:15:2514#include "webrtc/tools/event_log_visualizer/plot_base.h"
15
16namespace webrtc {
17namespace plotting {
18
19class ProtobufPlot final : public Plot {
20 public:
21 ProtobufPlot();
22 ~ProtobufPlot() override;
23 void Draw() override;
skvladf581eb72016-09-07 18:15:3724 void ExportProtobuf(webrtc::analytics::Chart* chart);
tereliusb246a292016-08-24 01:15:2525};
26
27class ProtobufPlotCollection final : public PlotCollection {
28 public:
29 ProtobufPlotCollection();
30 ~ProtobufPlotCollection() override;
31 void Draw() override;
32 Plot* AppendNewPlot() override;
skvladf581eb72016-09-07 18:15:3733 void ExportProtobuf(webrtc::analytics::ChartCollection* collection);
tereliusb246a292016-08-24 01:15:2534};
35
36} // namespace plotting
37} // namespace webrtc
38
39#endif // WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_PLOT_PROTOBUF_H_