blob: 96d48ad3ffbd44106f24185ce52a1f1946814009 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef GIN_PUBLIC_DEBUG_IMPL_H_
#define GIN_PUBLIC_DEBUG_IMPL_H_
#include "gin/public/debug.h"
#include "v8/include/v8.h"
namespace gin {
class DebugImpl {
public:
static v8::FunctionEntryHook GetFunctionEntryHook();
static v8::JitCodeEventHandler GetJitCodeEventHandler();
#if defined(OS_WIN)
static Debug::CodeRangeCreatedCallback GetCodeRangeCreatedCallback();
static Debug::CodeRangeDeletedCallback GetCodeRangeDeletedCallback();
#endif
};
} // namespace gin
#endif // GIN_PUBLIC_DEBUG_IMPL_H_
|