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

Unified Diff: Source/core/inspector/InspectorResourceAgent.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
« no previous file with comments | « Source/core/inspector/InspectorProfilerAgent.h ('k') | Source/core/inspector/InspectorResourceAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorResourceAgent.h
diff --git a/Source/core/inspector/InspectorResourceAgent.h b/Source/core/inspector/InspectorResourceAgent.h
index f14691d91faee2a1ab817e82d69d0fad1a0d440d..c0d114d98cabe4241f11367a019d07f9ec09b088 100644
--- a/Source/core/inspector/InspectorResourceAgent.h
+++ b/Source/core/inspector/InspectorResourceAgent.h
@@ -72,19 +72,19 @@ class WebSocketHandshakeResponse;
typedef String ErrorString;
-class InspectorResourceAgent FINAL : public InspectorBaseAgent<InspectorResourceAgent>, public InspectorBackendDispatcher::NetworkCommandHandler {
+class InspectorResourceAgent final : public InspectorBaseAgent<InspectorResourceAgent>, public InspectorBackendDispatcher::NetworkCommandHandler {
public:
static PassOwnPtrWillBeRawPtr<InspectorResourceAgent> create(InspectorPageAgent* pageAgent)
{
return adoptPtrWillBeNoop(new InspectorResourceAgent(pageAgent));
}
- 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 ~InspectorResourceAgent();
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
// Called from instrumentation.
void willSendRequest(unsigned long identifier, DocumentLoader*, ResourceRequest&, const ResourceResponse& redirectResponse, const FetchInitiatorInfo&);
@@ -130,20 +130,20 @@ public:
void setResourcesDataSizeLimitsFromInternals(int maximumResourcesContentSize, int maximumSingleResourceContentSize);
// Called from frontend
- virtual void enable(ErrorString*) OVERRIDE;
- virtual void disable(ErrorString*) OVERRIDE;
- virtual void setUserAgentOverride(ErrorString*, const String& userAgent) OVERRIDE;
- virtual void setExtraHTTPHeaders(ErrorString*, const RefPtr<JSONObject>&) OVERRIDE;
- virtual void getResponseBody(ErrorString*, const String& requestId, String* content, bool* base64Encoded) OVERRIDE;
+ virtual void enable(ErrorString*) override;
+ virtual void disable(ErrorString*) override;
+ virtual void setUserAgentOverride(ErrorString*, const String& userAgent) override;
+ virtual void setExtraHTTPHeaders(ErrorString*, const RefPtr<JSONObject>&) override;
+ virtual void getResponseBody(ErrorString*, const String& requestId, String* content, bool* base64Encoded) override;
- virtual void replayXHR(ErrorString*, const String& requestId) OVERRIDE;
+ virtual void replayXHR(ErrorString*, const String& requestId) override;
- virtual void canClearBrowserCache(ErrorString*, bool*) OVERRIDE;
- virtual void canClearBrowserCookies(ErrorString*, bool*) OVERRIDE;
- virtual void emulateNetworkConditions(ErrorString*, bool, double, double, double) OVERRIDE;
- virtual void setCacheDisabled(ErrorString*, bool cacheDisabled) OVERRIDE;
+ virtual void canClearBrowserCache(ErrorString*, bool*) override;
+ virtual void canClearBrowserCookies(ErrorString*, bool*) override;
+ virtual void emulateNetworkConditions(ErrorString*, bool, double, double, double) override;
+ virtual void setCacheDisabled(ErrorString*, bool cacheDisabled) override;
- virtual void loadResourceForFrontend(ErrorString*, const String& frameId, const String& url, const RefPtr<JSONObject>* requestHeaders, PassRefPtrWillBeRawPtr<LoadResourceForFrontendCallback>) OVERRIDE;
+ virtual void loadResourceForFrontend(ErrorString*, const String& frameId, const String& url, const RefPtr<JSONObject>* requestHeaders, PassRefPtrWillBeRawPtr<LoadResourceForFrontendCallback>) override;
// Called from other agents.
void setHostId(const String&);
« no previous file with comments | « Source/core/inspector/InspectorProfilerAgent.h ('k') | Source/core/inspector/InspectorResourceAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698