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

Unified Diff: content/renderer/gpu_benchmarking_extension.h

Issue 10532058: added gpu_benchmarking_extension boilerplate and hooked it up to a new switch. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 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/gpu_benchmarking_extension.h
diff --git a/content/renderer/gpu_benchmarking_extension.h b/content/renderer/gpu_benchmarking_extension.h
new file mode 100644
index 0000000000000000000000000000000000000000..233205bea1e9dfd665cd67d6541e0f1d7c917018
--- /dev/null
+++ b/content/renderer/gpu_benchmarking_extension.h
@@ -0,0 +1,23 @@
+// 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_GPU_BENCHMARKING_EXTENSION_H_
+#define CONTENT_RENDERER_GPU_BENCHMARKING_EXTENSION_H_
+#pragma once
+
+namespace v8 {
+class Extension;
+}
+
+namespace content {
+
+// V8 extension for gpu benchmarking
+class GpuBenchmarkingExtension {
+ public:
+ static v8::Extension* Get();
+};
+
+} // namespace content
+
+#endif /* CONTENT_RENDERER_GPU_BENCHMARKING_EXTENSION_H_ */
jam 2012/06/08 00:52:04 please follow the style guide for this, i.e. #en
dmurph 2012/06/08 18:36:22 Done.

Powered by Google App Engine
This is Rietveld 408576698