| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_RENDERER_V8_BENCHMARKING_EXTENSION_H_ | 5 #ifndef CHROME_RENDERER_BENCHMARKING_EXTENSION_H_ |
| 6 #define CHROME_RENDERER_V8_BENCHMARKING_EXTENSION_H_ | 6 #define CHROME_RENDERER_BENCHMARKING_EXTENSION_H_ |
| 7 | 7 |
| 8 namespace v8 { | 8 namespace v8 { |
| 9 class Extension; | 9 class Extension; |
| 10 } | 10 } |
| 11 | 11 |
| 12 namespace extensions_v8 { | 12 namespace extensions_v8 { |
| 13 | 13 |
| 14 // Profiler is an extension to allow javascript access to the API for | 14 // Profiler is an extension to allow javascript access to the API for |
| 15 // an external profiler program (such as Quantify). The "External" part of the | 15 // an external profiler program (such as Quantify). The "External" part of the |
| 16 // name is to distinguish it from the built-in V8 Profiler. | 16 // name is to distinguish it from the built-in V8 Profiler. |
| 17 class BenchmarkingExtension { | 17 class BenchmarkingExtension { |
| 18 public: | 18 public: |
| 19 static v8::Extension* Get(); | 19 static v8::Extension* Get(); |
| 20 }; | 20 }; |
| 21 | 21 |
| 22 } // namespace extensions_v8 | 22 } // namespace extensions_v8 |
| 23 | 23 |
| 24 #endif // CHROME_RENDERER_V8_BENCHMARKING_EXTENSION_H_ | 24 #endif // CHROME_RENDERER_BENCHMARKING_EXTENSION_H_ |
| 25 | 25 |
| OLD | NEW |