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

Unified Diff: content/renderer/all_rendering_benchmarks.h

Issue 10537036: Added rendering benchmark javascript hook (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: cleanup, refactoring, git try'd Created 8 years, 5 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
Index: content/renderer/all_rendering_benchmarks.h
diff --git a/content/renderer/all_rendering_benchmarks.h b/content/renderer/all_rendering_benchmarks.h
new file mode 100644
index 0000000000000000000000000000000000000000..c9c0cb58d89be683f07b2fa0fb30cbbb83285d30
--- /dev/null
+++ b/content/renderer/all_rendering_benchmarks.h
@@ -0,0 +1,36 @@
+// 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_RENDERER_ALL_RENDERING_BENCHMARKS_H_
+#define CONTENT_RENDERER_ALL_RENDERING_BENCHMARKS_H_
+
+#include <string>
+#include <vector>
+
+#include "base/basictypes.h"
+#include "base/memory/scoped_vector.h"
+
+namespace WebKit {
+class WebViewBenchmarkSupport;
+}
+
+namespace content {
+class RenderingBenchmarkResults;
+class RenderingBenchmark;
+
+class AllRenderingBenchmarks {
nduca 2012/07/19 08:39:08 why a class and not a function? What state does th
nduca 2012/07/19 08:39:08 two spaces between class and AllRenderingXXX
dmurph 2012/07/20 20:20:36 Turned into function.
+ public:
+ AllRenderingBenchmarks();
+ virtual ~AllRenderingBenchmarks();
+
+ const std::vector<RenderingBenchmark*>& benchmarks();
+
+ private:
+ ScopedVector<RenderingBenchmark> benchmarks_;
+
+ DISALLOW_COPY_AND_ASSIGN(AllRenderingBenchmarks);
+};
+} // namespace content
+
+#endif // CONTENT_RENDERER_ALL_RENDERING_BENCHMARKS_H_

Powered by Google App Engine
This is Rietveld 408576698