OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 GIN_PUBLIC_DEBUG_IMPL_H_ | 5 #ifndef GIN_PUBLIC_DEBUG_IMPL_H_ |
6 #define GIN_PUBLIC_DEBUG_IMPL_H_ | 6 #define GIN_PUBLIC_DEBUG_IMPL_H_ |
7 | 7 |
8 #include "gin/public/debug.h" | 8 #include "gin/public/debug.h" |
9 #include "v8/include/v8.h" | 9 #include "v8/include/v8.h" |
10 | 10 |
11 namespace gin { | 11 namespace gin { |
12 | 12 |
13 class DebugImpl { | 13 class DebugImpl { |
14 public: | 14 public: |
15 static v8::FunctionEntryHook GetFunctionEntryHook(); | 15 static v8::FunctionEntryHook GetFunctionEntryHook(); |
16 static v8::JitCodeEventHandler GetJitCodeEventHandler(); | 16 static v8::JitCodeEventHandler GetJitCodeEventHandler(); |
| 17 #if defined(OS_WIN) |
| 18 static Debug::CodeRangeCreatedCallback GetCodeRangeCreatedCallback(); |
| 19 static Debug::CodeRangeDeletedCallback GetCodeRangeDeletedCallback(); |
| 20 #endif |
17 }; | 21 }; |
18 | 22 |
19 } // namespace gin | 23 } // namespace gin |
20 | 24 |
21 #endif // GIN_PUBLIC_DEBUG_IMPL_H_ | 25 #endif // GIN_PUBLIC_DEBUG_IMPL_H_ |
OLD | NEW |