| 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 #ifndef CONTENT_RENDERER_GPU_GPU_BENCHMARKING_EXTENSION_H_ | 5 #ifndef CONTENT_RENDERER_GPU_GPU_BENCHMARKING_EXTENSION_H_ |
| 6 #define CONTENT_RENDERER_GPU_GPU_BENCHMARKING_EXTENSION_H_ | 6 #define CONTENT_RENDERER_GPU_GPU_BENCHMARKING_EXTENSION_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "gin/wrappable.h" | 9 #include "gin/wrappable.h" |
| 10 | 10 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 void ClearImageCache(); | 54 void ClearImageCache(); |
| 55 int RunMicroBenchmark(gin::Arguments* args); | 55 int RunMicroBenchmark(gin::Arguments* args); |
| 56 bool SendMessageToMicroBenchmark(int id, v8::Handle<v8::Object> message); | 56 bool SendMessageToMicroBenchmark(int id, v8::Handle<v8::Object> message); |
| 57 bool HasGpuProcess(); | 57 bool HasGpuProcess(); |
| 58 | 58 |
| 59 DISALLOW_COPY_AND_ASSIGN(GpuBenchmarking); | 59 DISALLOW_COPY_AND_ASSIGN(GpuBenchmarking); |
| 60 }; | 60 }; |
| 61 | 61 |
| 62 } // namespace content | 62 } // namespace content |
| 63 | 63 |
| 64 #endif // CONTENT_RENDERER_GPU_GPU_BENCHMARKING_EXTENSION_H_ | 64 #endif // CONTENT_RENDERER_GPU_GPU_BENCHMARKING_EXTENSION_H_ |
| OLD | NEW |