jochen | 4879fd2c | 2014-09-16 15:04:29 | [diff] [blame] | 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 |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef GIN_PUBLIC_DEBUG_IMPL_H_ |
| 6 | #define GIN_PUBLIC_DEBUG_IMPL_H_ |
| 7 | |
| 8 | #include "gin/public/debug.h" |
| 9 | #include "v8/include/v8.h" |
| 10 | |
| 11 | namespace gin { |
| 12 | |
| 13 | class DebugImpl { |
| 14 | public: |
| 15 | static v8::FunctionEntryHook GetFunctionEntryHook(); |
| 16 | static v8::JitCodeEventHandler GetJitCodeEventHandler(); |
jochen | 284435c | 2014-10-02 13:08:23 | [diff] [blame] | 17 | #if defined(OS_WIN) |
| 18 | static Debug::CodeRangeCreatedCallback GetCodeRangeCreatedCallback(); |
| 19 | static Debug::CodeRangeDeletedCallback GetCodeRangeDeletedCallback(); |
| 20 | #endif |
jochen | 4879fd2c | 2014-09-16 15:04:29 | [diff] [blame] | 21 | }; |
| 22 | |
| 23 | } // namespace gin |
| 24 | |
| 25 | #endif // GIN_PUBLIC_DEBUG_IMPL_H_ |