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

Unified Diff: Source/modules/filesystem/DOMFileSystem.h

Issue 635233004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/modules (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
Index: Source/modules/filesystem/DOMFileSystem.h
diff --git a/Source/modules/filesystem/DOMFileSystem.h b/Source/modules/filesystem/DOMFileSystem.h
index 44907d76158ef87e270eaa49e02aa4400b39280f..9d716df28bb0fb72344508776e31bbc4710fd514 100644
--- a/Source/modules/filesystem/DOMFileSystem.h
+++ b/Source/modules/filesystem/DOMFileSystem.h
@@ -47,7 +47,7 @@ class FileCallback;
class FileEntry;
class FileWriterCallback;
-class DOMFileSystem FINAL : public DOMFileSystemBase, public ScriptWrappable, public ActiveDOMObject {
+class DOMFileSystem final : public DOMFileSystemBase, public ScriptWrappable, public ActiveDOMObject {
DEFINE_WRAPPERTYPEINFO();
public:
static DOMFileSystem* create(ExecutionContext*, const String& name, FileSystemType, const KURL& rootURL);
@@ -58,12 +58,12 @@ public:
DirectoryEntry* root();
// DOMFileSystemBase overrides.
- virtual void addPendingCallbacks() OVERRIDE;
- virtual void removePendingCallbacks() OVERRIDE;
- virtual void reportError(ErrorCallback*, FileError*) OVERRIDE;
+ virtual void addPendingCallbacks() override;
+ virtual void removePendingCallbacks() override;
+ virtual void reportError(ErrorCallback*, FileError*) override;
// ActiveDOMObject overrides.
- virtual bool hasPendingActivity() const OVERRIDE;
+ virtual bool hasPendingActivity() const override;
void createWriter(const FileEntry*, FileWriterCallback*, ErrorCallback*);
void createFile(const FileEntry*, FileCallback*, ErrorCallback*);
@@ -111,7 +111,7 @@ private:
class DispatchCallbackTaskBase : public ExecutionContextTask {
public:
- virtual String taskNameForInstrumentation() const OVERRIDE
+ virtual String taskNameForInstrumentation() const override
{
return "FileSystem";
}
@@ -119,7 +119,7 @@ private:
// A helper template to schedule a callback task.
template <typename CB, typename CBArg>
- class DispatchCallbackRefPtrArgTask FINAL : public DispatchCallbackTaskBase {
+ class DispatchCallbackRefPtrArgTask final : public DispatchCallbackTaskBase {
public:
DispatchCallbackRefPtrArgTask(CB* callback, PassRefPtrWillBeRawPtr<CBArg> arg)
: m_callback(callback)
@@ -127,7 +127,7 @@ private:
{
}
- virtual void performTask(ExecutionContext*) OVERRIDE
+ virtual void performTask(ExecutionContext*) override
{
m_callback->handleEvent(m_callbackArg.get());
}
@@ -138,7 +138,7 @@ private:
};
template <typename CB, typename CBArg>
- class DispatchCallbackPtrArgTask FINAL : public DispatchCallbackTaskBase {
+ class DispatchCallbackPtrArgTask final : public DispatchCallbackTaskBase {
public:
DispatchCallbackPtrArgTask(CB* callback, CBArg* arg)
: m_callback(callback)
@@ -146,7 +146,7 @@ private:
{
}
- virtual void performTask(ExecutionContext*) OVERRIDE
+ virtual void performTask(ExecutionContext*) override
{
m_callback->handleEvent(m_callbackArg.get());
}
@@ -157,7 +157,7 @@ private:
};
template <typename CB, typename CBArg>
- class DispatchCallbackNonPtrArgTask FINAL : public DispatchCallbackTaskBase {
+ class DispatchCallbackNonPtrArgTask final : public DispatchCallbackTaskBase {
public:
DispatchCallbackNonPtrArgTask(CB* callback, const CBArg& arg)
: m_callback(callback)
@@ -165,7 +165,7 @@ private:
{
}
- virtual void performTask(ExecutionContext*) OVERRIDE
+ virtual void performTask(ExecutionContext*) override
{
m_callback->handleEvent(m_callbackArg);
}
@@ -176,14 +176,14 @@ private:
};
template <typename CB>
- class DispatchCallbackNoArgTask FINAL : public DispatchCallbackTaskBase {
+ class DispatchCallbackNoArgTask final : public DispatchCallbackTaskBase {
public:
DispatchCallbackNoArgTask(CB* callback)
: m_callback(callback)
{
}
- virtual void performTask(ExecutionContext*) OVERRIDE
+ virtual void performTask(ExecutionContext*) override
{
m_callback->handleEvent();
}
« no previous file with comments | « Source/modules/encryptedmedia/SimpleContentDecryptionModuleResult.h ('k') | Source/modules/filesystem/DOMFileSystemSync.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698