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

Unified Diff: Source/core/fileapi/File.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/fileapi/Blob.cpp ('k') | Source/core/fileapi/FileList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fileapi/File.h
diff --git a/Source/core/fileapi/File.h b/Source/core/fileapi/File.h
index b4b328db31d61bd66eaa0556cc28c4fc622bdeaa..615286101720ba7df1f02f93e1b32c2e7030b323 100644
--- a/Source/core/fileapi/File.h
+++ b/Source/core/fileapi/File.h
@@ -38,7 +38,7 @@ class ExecutionContext;
struct FileMetadata;
class KURL;
-class File FINAL : public Blob {
+class File final : public Blob {
DEFINE_WRAPPERTYPEINFO();
public:
// AllContentTypes should only be used when the full path/name are trusted; otherwise, it could
@@ -104,14 +104,14 @@ public:
return new File(path, name, policy, File::IsNotUserVisible);
}
- virtual unsigned long long size() const OVERRIDE;
- virtual Blob* slice(long long start, long long end, const String& contentType, ExceptionState&) const OVERRIDE;
- virtual void close(ExecutionContext*, ExceptionState&) OVERRIDE;
+ virtual unsigned long long size() const override;
+ virtual Blob* slice(long long start, long long end, const String& contentType, ExceptionState&) const override;
+ virtual void close(ExecutionContext*, ExceptionState&) override;
- virtual bool isFile() const OVERRIDE { return true; }
- virtual bool hasBackingFile() const OVERRIDE { return m_hasBackingFile; }
+ virtual bool isFile() const override { return true; }
+ virtual bool hasBackingFile() const override { return m_hasBackingFile; }
- virtual void appendTo(BlobData&) const OVERRIDE;
+ virtual void appendTo(BlobData&) const override;
const String& path() const { ASSERT(hasValidFilePath()); return m_path; }
const String name() const { return m_name; }
« no previous file with comments | « Source/core/fileapi/Blob.cpp ('k') | Source/core/fileapi/FileList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698