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

Unified Diff: Source/core/fetch/RawResource.h

Issue 631223002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/[fetch|fileapi] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/fetch/MockImageResourceClient.h ('k') | Source/core/fetch/ResourceFetcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/RawResource.h
diff --git a/Source/core/fetch/RawResource.h b/Source/core/fetch/RawResource.h
index a21984c153431645cc80716553f15ae57e9bd5a9..814cd87f7cfdf79d1ce476226af8e37bead3aea8 100644
--- a/Source/core/fetch/RawResource.h
+++ b/Source/core/fetch/RawResource.h
@@ -29,7 +29,7 @@
namespace blink {
class RawResourceClient;
-class RawResource FINAL : public Resource {
+class RawResource final : public Resource {
public:
typedef RawResourceClient ClientType;
@@ -40,19 +40,19 @@ public:
// This can be fixed by splitting CORS preflighting out of DocumentThreacableLoader.
void setDefersLoading(bool);
- virtual bool canReuse(const ResourceRequest&) const OVERRIDE;
+ virtual bool canReuse(const ResourceRequest&) const override;
private:
- virtual void didAddClient(ResourceClient*) OVERRIDE;
- virtual void appendData(const char*, unsigned) OVERRIDE;
+ virtual void didAddClient(ResourceClient*) override;
+ virtual void appendData(const char*, unsigned) override;
- virtual bool shouldIgnoreHTTPStatusCodeErrors() const OVERRIDE { return true; }
+ virtual bool shouldIgnoreHTTPStatusCodeErrors() const override { return true; }
- virtual void willSendRequest(ResourceRequest&, const ResourceResponse&) OVERRIDE;
- virtual void updateRequest(const ResourceRequest&) OVERRIDE;
- virtual void responseReceived(const ResourceResponse&) OVERRIDE;
- virtual void didSendData(unsigned long long bytesSent, unsigned long long totalBytesToBeSent) OVERRIDE;
- virtual void didDownloadData(int) OVERRIDE;
+ virtual void willSendRequest(ResourceRequest&, const ResourceResponse&) override;
+ virtual void updateRequest(const ResourceRequest&) override;
+ virtual void responseReceived(const ResourceResponse&) override;
+ virtual void didSendData(unsigned long long bytesSent, unsigned long long totalBytesToBeSent) override;
+ virtual void didDownloadData(int) override;
};
#if ENABLE(SECURITY_ASSERT)
@@ -72,7 +72,7 @@ class RawResourceClient : public ResourceClient {
public:
virtual ~RawResourceClient() { }
static ResourceClientType expectedType() { return RawResourceType; }
- virtual ResourceClientType resourceClientType() const OVERRIDE FINAL { return expectedType(); }
+ virtual ResourceClientType resourceClientType() const override final { return expectedType(); }
virtual void dataSent(Resource*, unsigned long long /* bytesSent */, unsigned long long /* totalBytesToBeSent */) { }
virtual void responseReceived(Resource*, const ResourceResponse&) { }
« no previous file with comments | « Source/core/fetch/MockImageResourceClient.h ('k') | Source/core/fetch/ResourceFetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698