| Index: third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h b/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..70007d439bdde80538feba2c07f973583622d7a4
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h
|
| @@ -0,0 +1,37 @@
|
| +// Copyright 2016 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 InspectorWebPerfAgent_h
|
| +#define InspectorWebPerfAgent_h
|
| +
|
| +#include "core/CoreExport.h"
|
| +#include "core/inspector/InspectorBaseAgent.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class LocalFrame;
|
| +class InspectedFrames;
|
| +
|
| +// Inspector Agent for Web Performance APIs
|
| +class CORE_EXPORT InspectorWebPerfAgent final : public InspectorAgent {
|
| + WTF_MAKE_NONCOPYABLE(InspectorWebPerfAgent);
|
| +public:
|
| + InspectorWebPerfAgent(InspectedFrames*);
|
| + ~InspectorWebPerfAgent() override;
|
| + DECLARE_VIRTUAL_TRACE();
|
| +
|
| + // Base agent methods.
|
| + void init(InstrumentingAgents*, protocol::UberDispatcher*, protocol::DictionaryValue*) override {}
|
| + void dispose() override {}
|
| +
|
| + void willExecuteScript(LocalFrame*);
|
| + void didExecuteScript();
|
| +
|
| +private:
|
| + Member<InspectedFrames> m_inspectedFrames;
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // InspectorWebPerfAgent_h
|
|
|