Index: content/public/renderer/rendering_benchmark_results.h |
diff --git a/content/public/renderer/rendering_benchmark_results.h b/content/public/renderer/rendering_benchmark_results.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d47d4774d278d7b2832a0c0a0c3e30580f7ee803 |
--- /dev/null |
+++ b/content/public/renderer/rendering_benchmark_results.h |
@@ -0,0 +1,22 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CONTENT_PUBLIC_RENDERER_RENDERING_BENCHMARK_RESULTS_H_ |
+#define CONTENT_PUBLIC_RENDERER_RENDERING_BENCHMARK_RESULTS_H_ |
+ |
+#include <string> |
+ |
+#include "content/common/content_export.h" |
+ |
+namespace content { |
+class CONTENT_EXPORT RenderingBenchmarkResults { |
nduca
2012/07/18 06:06:17
I'm not sure this abstraction is needed any more.
dmurph
2012/07/18 16:31:41
I agree, as long as you're fine with only one resu
dmurph
2012/07/18 20:01:57
Agreed on leaving abstraction for allowing multipl
|
+ public: |
+ virtual ~RenderingBenchmarkResults() { } |
+ virtual void addResult(const std::string& benchmark_name, |
+ const std::string& result_name, |
+ const std::string& time_unit, |
+ double time) = 0; |
+}; |
+} |
+#endif // CONTENT_PUBLIC_RENDERER_RENDERING_BENCHMARK_RESULTS_H_ |