Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Unified Diff: Source/core/inspector/InspectorHeapProfilerAgent.h

Issue 638553002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed Nits Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/inspector/InspectorHeapProfilerAgent.h
diff --git a/Source/core/inspector/InspectorHeapProfilerAgent.h b/Source/core/inspector/InspectorHeapProfilerAgent.h
index ac3ce51d3b7ae7dee6d5126b677d7def97e6c703..1ba6639d5293846a7e4825c84d2992893bf958e7 100644
--- a/Source/core/inspector/InspectorHeapProfilerAgent.h
+++ b/Source/core/inspector/InspectorHeapProfilerAgent.h
@@ -48,29 +48,29 @@ class ScriptHeapSnapshot;
typedef String ErrorString;
-class InspectorHeapProfilerAgent FINAL : public InspectorBaseAgent<InspectorHeapProfilerAgent>, public InspectorBackendDispatcher::HeapProfilerCommandHandler {
+class InspectorHeapProfilerAgent final : public InspectorBaseAgent<InspectorHeapProfilerAgent>, public InspectorBackendDispatcher::HeapProfilerCommandHandler {
WTF_MAKE_NONCOPYABLE(InspectorHeapProfilerAgent);
WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
public:
static PassOwnPtrWillBeRawPtr<InspectorHeapProfilerAgent> create(InjectedScriptManager*);
virtual ~InspectorHeapProfilerAgent();
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
- virtual void collectGarbage(ErrorString*) OVERRIDE;
+ virtual void collectGarbage(ErrorString*) override;
- virtual void enable(ErrorString*) OVERRIDE;
- virtual void disable(ErrorString*) OVERRIDE;
- virtual void startTrackingHeapObjects(ErrorString*, const bool* trackAllocations) OVERRIDE;
- virtual void stopTrackingHeapObjects(ErrorString*, const bool* reportProgress) OVERRIDE;
+ virtual void enable(ErrorString*) override;
+ virtual void disable(ErrorString*) override;
+ virtual void startTrackingHeapObjects(ErrorString*, const bool* trackAllocations) override;
+ virtual void stopTrackingHeapObjects(ErrorString*, const bool* reportProgress) 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;
- virtual void takeHeapSnapshot(ErrorString*, const bool* reportProgress) OVERRIDE;
+ virtual void takeHeapSnapshot(ErrorString*, const bool* reportProgress) override;
- virtual void getObjectByHeapObjectId(ErrorString*, const String& heapSnapshotObjectId, const String* objectGroup, RefPtr<TypeBuilder::Runtime::RemoteObject>& result) OVERRIDE;
- virtual void getHeapObjectId(ErrorString*, const String& objectId, String* heapSnapshotObjectId) OVERRIDE;
+ virtual void getObjectByHeapObjectId(ErrorString*, const String& heapSnapshotObjectId, const String* objectGroup, RefPtr<TypeBuilder::Runtime::RemoteObject>& result) override;
+ virtual void getHeapObjectId(ErrorString*, const String& objectId, String* heapSnapshotObjectId) override;
private:
class HeapStatsStream;
« no previous file with comments | « Source/core/inspector/InspectorFrontendHost.cpp ('k') | Source/core/inspector/InspectorHeapProfilerAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698