blob: 96d48ad3ffbd44106f24185ce52a1f1946814009 [file] [log] [blame]
jochen4879fd2c2014-09-16 15:04:291// 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
11namespace gin {
12
13class DebugImpl {
14 public:
15 static v8::FunctionEntryHook GetFunctionEntryHook();
16 static v8::JitCodeEventHandler GetJitCodeEventHandler();
jochen284435c2014-10-02 13:08:2317#if defined(OS_WIN)
18 static Debug::CodeRangeCreatedCallback GetCodeRangeCreatedCallback();
19 static Debug::CodeRangeDeletedCallback GetCodeRangeDeletedCallback();
20#endif
jochen4879fd2c2014-09-16 15:04:2921};
22
23} // namespace gin
24
25#endif // GIN_PUBLIC_DEBUG_IMPL_H_