Index: Source/modules/filesystem/DOMFileSystemSync.cpp |
diff --git a/Source/modules/filesystem/DOMFileSystemSync.cpp b/Source/modules/filesystem/DOMFileSystemSync.cpp |
index e5980ca6ab576b68c2e20ea5458a5475a70684e3..33d1fe51122e01c6833d96baec4635606b3839d0 100644 |
--- a/Source/modules/filesystem/DOMFileSystemSync.cpp |
+++ b/Source/modules/filesystem/DOMFileSystemSync.cpp |
@@ -76,7 +76,7 @@ DirectoryEntrySync* DOMFileSystemSync::root() |
namespace { |
-class CreateFileHelper FINAL : public AsyncFileSystemCallbacks { |
+class CreateFileHelper final : public AsyncFileSystemCallbacks { |
public: |
class CreateFileResult : public GarbageCollectedFinalized<CreateFileResult> { |
public: |
@@ -107,7 +107,7 @@ public: |
return adoptPtr(static_cast<AsyncFileSystemCallbacks*>(new CreateFileHelper(result, name, url, type))); |
} |
- virtual void didFail(int code) OVERRIDE |
+ virtual void didFail(int code) override |
{ |
m_result->m_failed = true; |
m_result->m_code = code; |
@@ -117,7 +117,7 @@ public: |
{ |
} |
- virtual void didCreateSnapshotFile(const FileMetadata& metadata, PassRefPtr<BlobDataHandle> snapshot) OVERRIDE |
+ virtual void didCreateSnapshotFile(const FileMetadata& metadata, PassRefPtr<BlobDataHandle> snapshot) override |
{ |
// We can't directly use the snapshot blob data handle because the content type on it hasn't been set. |
// The |snapshot| param is here to provide a a chain of custody thru thread bridging that is held onto until |
@@ -127,7 +127,7 @@ public: |
m_result->m_file = DOMFileSystemBase::createFile(metadata, m_url, m_type, m_name); |
} |
- virtual bool shouldBlockUntilCompletion() const OVERRIDE |
+ virtual bool shouldBlockUntilCompletion() const override |
{ |
return true; |
} |
@@ -163,14 +163,14 @@ File* DOMFileSystemSync::createFile(const FileEntrySync* fileEntry, ExceptionSta |
namespace { |
-class ReceiveFileWriterCallback FINAL : public FileWriterBaseCallback { |
+class ReceiveFileWriterCallback final : public FileWriterBaseCallback { |
public: |
static ReceiveFileWriterCallback* create() |
{ |
return new ReceiveFileWriterCallback(); |
} |
- virtual void handleEvent(FileWriterBase*) OVERRIDE |
+ virtual void handleEvent(FileWriterBase*) override |
{ |
} |
@@ -180,14 +180,14 @@ private: |
} |
}; |
-class LocalErrorCallback FINAL : public ErrorCallback { |
+class LocalErrorCallback final : public ErrorCallback { |
public: |
static LocalErrorCallback* create(FileError::ErrorCode& errorCode) |
{ |
return new LocalErrorCallback(errorCode); |
} |
- virtual void handleEvent(FileError* error) OVERRIDE |
+ virtual void handleEvent(FileError* error) override |
{ |
ASSERT(error->code() != FileError::OK); |
m_errorCode = error->code(); |