Minor cleanups for EmbeddedSharedWorkerStub
[chromium-blink-merge.git] / gin / debug_impl.h
blob96d48ad3ffbd44106f24185ce52a1f1946814009
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.
5 #ifndef GIN_PUBLIC_DEBUG_IMPL_H_
6 #define GIN_PUBLIC_DEBUG_IMPL_H_
8 #include "gin/public/debug.h"
9 #include "v8/include/v8.h"
11 namespace gin {
13 class DebugImpl {
14 public:
15 static v8::FunctionEntryHook GetFunctionEntryHook();
16 static v8::JitCodeEventHandler GetJitCodeEventHandler();
17 #if defined(OS_WIN)
18 static Debug::CodeRangeCreatedCallback GetCodeRangeCreatedCallback();
19 static Debug::CodeRangeDeletedCallback GetCodeRangeDeletedCallback();
20 #endif
23 } // namespace gin
25 #endif // GIN_PUBLIC_DEBUG_IMPL_H_