| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 #ifndef WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_PLOT_PROTOBUF_H_ | 10 #ifndef WEBRTC_RTC_TOOLS_EVENT_LOG_VISUALIZER_PLOT_PROTOBUF_H_ |
| 11 #define WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_PLOT_PROTOBUF_H_ | 11 #define WEBRTC_RTC_TOOLS_EVENT_LOG_VISUALIZER_PLOT_PROTOBUF_H_ |
| 12 | 12 |
| 13 #include "webrtc/base/ignore_wundef.h" | 13 #include "webrtc/base/ignore_wundef.h" |
| 14 RTC_PUSH_IGNORING_WUNDEF() | 14 RTC_PUSH_IGNORING_WUNDEF() |
| 15 #include "webrtc/tools/event_log_visualizer/chart.pb.h" | 15 #include "webrtc/rtc_tools/event_log_visualizer/chart.pb.h" |
| 16 RTC_POP_IGNORING_WUNDEF() | 16 RTC_POP_IGNORING_WUNDEF() |
| 17 #include "webrtc/tools/event_log_visualizer/plot_base.h" | 17 #include "webrtc/rtc_tools/event_log_visualizer/plot_base.h" |
| 18 | 18 |
| 19 namespace webrtc { | 19 namespace webrtc { |
| 20 namespace plotting { | 20 namespace plotting { |
| 21 | 21 |
| 22 class ProtobufPlot final : public Plot { | 22 class ProtobufPlot final : public Plot { |
| 23 public: | 23 public: |
| 24 ProtobufPlot(); | 24 ProtobufPlot(); |
| 25 ~ProtobufPlot() override; | 25 ~ProtobufPlot() override; |
| 26 void Draw() override; | 26 void Draw() override; |
| 27 void ExportProtobuf(webrtc::analytics::Chart* chart); | 27 void ExportProtobuf(webrtc::analytics::Chart* chart); |
| 28 }; | 28 }; |
| 29 | 29 |
| 30 class ProtobufPlotCollection final : public PlotCollection { | 30 class ProtobufPlotCollection final : public PlotCollection { |
| 31 public: | 31 public: |
| 32 ProtobufPlotCollection(); | 32 ProtobufPlotCollection(); |
| 33 ~ProtobufPlotCollection() override; | 33 ~ProtobufPlotCollection() override; |
| 34 void Draw() override; | 34 void Draw() override; |
| 35 Plot* AppendNewPlot() override; | 35 Plot* AppendNewPlot() override; |
| 36 void ExportProtobuf(webrtc::analytics::ChartCollection* collection); | 36 void ExportProtobuf(webrtc::analytics::ChartCollection* collection); |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 } // namespace plotting | 39 } // namespace plotting |
| 40 } // namespace webrtc | 40 } // namespace webrtc |
| 41 | 41 |
| 42 #endif // WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_PLOT_PROTOBUF_H_ | 42 #endif // WEBRTC_RTC_TOOLS_EVENT_LOG_VISUALIZER_PLOT_PROTOBUF_H_ |
| OLD | NEW |