blob: 1ea525b20af06099dfa6902324f93304ba6c6136 [file] [log] [blame]
tereliusb246a292016-08-23 18:15:25 -07001/*
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
13#include "webrtc/tools/event_log_visualizer/graph.pb.h"
14#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;
24 void ExportProtobuf(protobuf_plot::Plot* plot);
25};
26
27class ProtobufPlotCollection final : public PlotCollection {
28 public:
29 ProtobufPlotCollection();
30 ~ProtobufPlotCollection() override;
31 void Draw() override;
32 Plot* AppendNewPlot() override;
33 void ExportProtobuf(protobuf_plot::PlotCollection* collection);
34};
35
36} // namespace plotting
37} // namespace webrtc
38
39#endif // WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_PLOT_PROTOBUF_H_