OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/renderer/gpu/gpu_benchmarking_extension.h" | 5 #include "content/renderer/gpu/gpu_benchmarking_extension.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/base64.h" | 9 #include "base/base64.h" |
10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
12 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
13 #include "base/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
14 #include "content/common/browser_rendering_stats.h" | 14 #include "content/common/browser_rendering_stats.h" |
15 #include "content/common/gpu/gpu_rendering_stats.h" | 15 #include "content/common/gpu/gpu_rendering_stats.h" |
16 #include "content/public/renderer/render_thread.h" | 16 #include "content/public/renderer/render_thread.h" |
17 #include "content/renderer/all_rendering_benchmarks.h" | 17 #include "content/renderer/all_rendering_benchmarks.h" |
18 #include "content/renderer/gpu/render_widget_compositor.h" | 18 #include "content/renderer/gpu/render_widget_compositor.h" |
19 #include "content/renderer/render_view_impl.h" | 19 #include "content/renderer/render_view_impl.h" |
20 #include "content/renderer/rendering_benchmark.h" | 20 #include "content/renderer/rendering_benchmark.h" |
21 #include "content/renderer/skia_benchmarking_extension.h" | 21 #include "content/renderer/skia_benchmarking_extension.h" |
22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebImageCache.h" | 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebImageCache.h" |
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
565 | 565 |
566 return v8::Undefined(); | 566 return v8::Undefined(); |
567 } | 567 } |
568 }; | 568 }; |
569 | 569 |
570 v8::Extension* GpuBenchmarkingExtension::Get() { | 570 v8::Extension* GpuBenchmarkingExtension::Get() { |
571 return new GpuBenchmarkingWrapper(); | 571 return new GpuBenchmarkingWrapper(); |
572 } | 572 } |
573 | 573 |
574 } // namespace content | 574 } // namespace content |
OLD | NEW |