class InjectedScriptManager;
class InspectorFrontend;
class InspectorOverlay;
-class InstrumentingAgents;
-class ScriptState;
-class ScriptCallStack;
-class ScriptProfile;
typedef String ErrorString;
-class InspectorProfilerAgent FINAL : public InspectorBaseAgent<InspectorProfilerAgent>, public InspectorBackendDispatcher::ProfilerCommandHandler {
+class InspectorProfilerAgent final : public InspectorBaseAgent<InspectorProfilerAgent>, public InspectorBackendDispatcher::ProfilerCommandHandler {
WTF_MAKE_NONCOPYABLE(InspectorProfilerAgent);
WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
public:
static PassOwnPtrWillBeRawPtr<InspectorProfilerAgent> create(InjectedScriptManager*, InspectorOverlay*);
virtual ~InspectorProfilerAgent();
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
void consoleProfile(ExecutionContext*, const String& title);
void consoleProfileEnd(const String& title);
- virtual void enable(ErrorString*) OVERRIDE;
- virtual void disable(ErrorString*) OVERRIDE;
- virtual void setSamplingInterval(ErrorString*, int) OVERRIDE;
- virtual void start(ErrorString*) OVERRIDE;
- virtual void stop(ErrorString*, RefPtr<TypeBuilder::Profiler::CPUProfile>&) OVERRIDE;
+ virtual void enable(ErrorString*) override;
+ virtual void disable(ErrorString*) override;
+ virtual void setSamplingInterval(ErrorString*, int) override;
+ virtual void start(ErrorString*) override;
+ virtual void stop(ErrorString*, RefPtr<TypeBuilder::Profiler::CPUProfile>&) override;
- virtual void setFrontend(InspectorFrontend*) OVERRIDE;
- virtual void clearFrontend() OVERRIDE;
- virtual void restore() OVERRIDE;
+ virtual void setFrontend(InspectorFrontend*) override;
+ virtual void clearFrontend() override;
+ virtual void restore() override;
void willProcessTask();
void didProcessTask();