Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: webrtc/tools/event_log_visualizer/plot_protobuf.h

Issue 2268063002: Define a protobuf format for representing plots (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/tools/event_log_visualizer/graph.proto ('k') | webrtc/tools/event_log_visualizer/plot_protobuf.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/tools/event_log_visualizer/plot_protobuf.h
diff --git a/webrtc/tools/event_log_visualizer/plot_python.h b/webrtc/tools/event_log_visualizer/plot_protobuf.h
similarity index 54%
copy from webrtc/tools/event_log_visualizer/plot_python.h
copy to webrtc/tools/event_log_visualizer/plot_protobuf.h
index 2bf445a43e7c278bc77630ee522588d202fd1584..1ea525b20af06099dfa6902324f93304ba6c6136 100644
--- a/webrtc/tools/event_log_visualizer/plot_python.h
+++ b/webrtc/tools/event_log_visualizer/plot_protobuf.h
@@ -7,30 +7,33 @@
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_PLOT_PYTHON_H_
-#define WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_PLOT_PYTHON_H_
+#ifndef WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_PLOT_PROTOBUF_H_
+#define WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_PLOT_PROTOBUF_H_
+#include "webrtc/tools/event_log_visualizer/graph.pb.h"
#include "webrtc/tools/event_log_visualizer/plot_base.h"
namespace webrtc {
namespace plotting {
-class PythonPlot final : public Plot {
+class ProtobufPlot final : public Plot {
public:
- PythonPlot();
- ~PythonPlot() override;
+ ProtobufPlot();
+ ~ProtobufPlot() override;
void Draw() override;
+ void ExportProtobuf(protobuf_plot::Plot* plot);
};
-class PythonPlotCollection final : public PlotCollection {
+class ProtobufPlotCollection final : public PlotCollection {
public:
- PythonPlotCollection();
- ~PythonPlotCollection() override;
+ ProtobufPlotCollection();
+ ~ProtobufPlotCollection() override;
void Draw() override;
Plot* AppendNewPlot() override;
+ void ExportProtobuf(protobuf_plot::PlotCollection* collection);
};
} // namespace plotting
} // namespace webrtc
-#endif // WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_PLOT_PYTHON_H_
+#endif // WEBRTC_TOOLS_EVENT_LOG_VISUALIZER_PLOT_PROTOBUF_H_
« no previous file with comments | « webrtc/tools/event_log_visualizer/graph.proto ('k') | webrtc/tools/event_log_visualizer/plot_protobuf.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698