#include "core/inspector/InspectorBaseAgent.h"
#include "wtf/PassOwnPtr.h"
-namespace WebCore {
-
-class InstrumentingAgents;
+namespace blink {
typedef String ErrorString;
-class InspectorMemoryAgent FINAL : public InspectorBaseAgent<InspectorMemoryAgent>, public InspectorBackendDispatcher::MemoryCommandHandler {
+class InspectorMemoryAgent final : public InspectorBaseAgent<InspectorMemoryAgent>, public InspectorBackendDispatcher::MemoryCommandHandler {
WTF_MAKE_NONCOPYABLE(InspectorMemoryAgent);
public:
- static PassOwnPtr<InspectorMemoryAgent> create()
+ static PassOwnPtrWillBeRawPtr<InspectorMemoryAgent> create()
{
- return adoptPtr(new InspectorMemoryAgent());
+ return adoptPtrWillBeNoop(new InspectorMemoryAgent());
}
virtual ~InspectorMemoryAgent();
- virtual void getDOMCounters(ErrorString*, int* documents, int* nodes, int* jsEventListeners) OVERRIDE;
+ virtual void getDOMCounters(ErrorString*, int* documents, int* nodes, int* jsEventListeners) override;
- virtual void setFrontend(InspectorFrontend*) OVERRIDE;
- virtual void clearFrontend() OVERRIDE;
+ virtual void setFrontend(InspectorFrontend*) override;
+ virtual void clearFrontend() override;
private:
InspectorMemoryAgent();
InspectorFrontend::Memory* m_frontend;
};
-} // namespace WebCore
+} // namespace blink
#endif // !defined(InspectorMemoryAgent_h)