OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 GCExtension is a v8 extension to expose a method into JS for triggering | 5 // The GCExtension is a v8 extension to expose a method into JS for triggering |
6 // garbage collection. This should only be used for debugging. | 6 // garbage collection. This should only be used for debugging. |
7 | 7 |
8 #ifndef GC_EXTENSION_H__ | 8 #ifndef WEBKIT_EXTENSIONS_V8_GC_EXTENSION_H_ |
9 #define GC_EXTENSION_H__ | 9 #define WEBKIT_EXTENSIONS_V8_GC_EXTENSION_H_ |
10 | 10 |
11 #include "v8.h" | 11 #include "v8/include/v8.h" |
12 | 12 |
13 namespace WebCore { | 13 namespace extensions_v8 { |
14 | 14 |
15 class GCExtension { | 15 class GCExtension { |
16 public: | 16 public: |
17 static v8::Extension* Get(); | 17 static v8::Extension* Get(); |
18 }; | 18 }; |
19 | 19 |
20 } | 20 } // namespace extensions_v8 |
21 | 21 |
22 #endif // GC_EXTENSION_H__ | 22 #endif // WEBKIT_EXTENSIONS_V8_GC_EXTENSION_H_ |
23 | 23 |
OLD | NEW |