// Copyright 2016 the V8 project 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 V8_PROFILER_PROFILER_LISTENER_H_ #define V8_PROFILER_PROFILER_LISTENER_H_ #include <memory> #include "include/v8-profiler.h" #include "src/logging/code-events.h" #include "src/profiler/profile-generator.h" #include "src/profiler/weak-code-registry.h" namespace v8 { namespace internal { class CodeEventsContainer; class CodeDeoptEventRecord; class CodeEventObserver { … }; class V8_EXPORT_PRIVATE ProfilerListener : public LogEventListener, public WeakCodeRegistry::Listener { … }; } // namespace internal } // namespace v8 #endif // V8_PROFILER_PROFILER_LISTENER_H_