OLD | NEW |
1 // Copyright (c) 2006-2008 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 // The LoadTimesExtension is a v8 extension to access the time it took | 5 // The LoadTimesExtension is a v8 extension to access the time it took |
6 // to load a page. | 6 // to load a page. |
7 | 7 |
8 #ifndef CHROME_RENDERER_LOADTIMES_EXTENSION_BINDINGS_H_ | 8 #ifndef CHROME_RENDERER_LOADTIMES_EXTENSION_BINDINGS_H_ |
9 #define CHROME_RENDERER_LOADTIMES_EXTENSION_BINDINGS_H_ | 9 #define CHROME_RENDERER_LOADTIMES_EXTENSION_BINDINGS_H_ |
10 | 10 |
11 namespace v8 { | 11 namespace v8 { |
12 class Extension; | 12 class Extension; |
13 } | 13 } |
14 | 14 |
15 namespace extensions_v8 { | 15 namespace extensions_v8 { |
16 | 16 |
17 class LoadTimesExtension { | 17 class LoadTimesExtension { |
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_LOADTIMES_EXTENSION_BINDINGS_H_ | 24 #endif // CHROME_RENDERER_LOADTIMES_EXTENSION_BINDINGS_H_ |
OLD | NEW |