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

Unified Diff: Source/core/inspector/InspectorResourceAgent.cpp

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/InspectorResourceAgent.cpp
diff --git a/Source/core/inspector/InspectorResourceAgent.cpp b/Source/core/inspector/InspectorResourceAgent.cpp
index f881e4678ea0b623a974c3e025a4053e47570a19..830b242b448375ff75de83c862bbbc46693893c5 100644
--- a/Source/core/inspector/InspectorResourceAgent.cpp
+++ b/Source/core/inspector/InspectorResourceAgent.cpp
@@ -95,7 +95,7 @@ static PassRefPtr<JSONObject> buildObjectForHeaders(const HTTPHeaderMap& headers
return headersObject;
}
-class InspectorThreadableLoaderClient FINAL : public ThreadableLoaderClient {
+class InspectorThreadableLoaderClient final : public ThreadableLoaderClient {
WTF_MAKE_NONCOPYABLE(InspectorThreadableLoaderClient);
public:
InspectorThreadableLoaderClient(PassRefPtrWillBeRawPtr<LoadResourceForFrontendCallback> callback)
@@ -104,7 +104,7 @@ public:
virtual ~InspectorThreadableLoaderClient() { }
- virtual void didReceiveResponse(unsigned long identifier, const ResourceResponse& response) OVERRIDE
+ virtual void didReceiveResponse(unsigned long identifier, const ResourceResponse& response) override
{
WTF::TextEncoding textEncoding(response.textEncodingName());
bool useDetector = false;
@@ -117,7 +117,7 @@ public:
m_responseHeaders = response.httpHeaderFields();
}
- virtual void didReceiveData(const char* data, unsigned dataLength) OVERRIDE
+ virtual void didReceiveData(const char* data, unsigned dataLength) override
{
if (!dataLength)
return;
@@ -125,7 +125,7 @@ public:
m_responseText = m_responseText.concatenateWith(m_decoder->decode(data, dataLength));
}
- virtual void didFinishLoading(unsigned long /*identifier*/, double /*finishTime*/) OVERRIDE
+ virtual void didFinishLoading(unsigned long /*identifier*/, double /*finishTime*/) override
{
if (m_decoder)
m_responseText = m_responseText.concatenateWith(m_decoder->flush());
@@ -133,13 +133,13 @@ public:
dispose();
}
- virtual void didFail(const ResourceError&) OVERRIDE
+ virtual void didFail(const ResourceError&) override
{
m_callback->sendFailure("Loading resource for inspector failed");
dispose();
}
- virtual void didFailRedirectCheck() OVERRIDE
+ virtual void didFailRedirectCheck() override
{
m_callback->sendFailure("Loading resource for inspector failed redirect check");
dispose();
« no previous file with comments | « Source/core/inspector/InspectorResourceAgent.h ('k') | Source/core/inspector/InspectorResourceContentLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698