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

Unified Diff: Source/modules/webdatabase/DatabaseTask.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
« no previous file with comments | « Source/modules/webdatabase/DatabaseManager.cpp ('k') | Source/modules/webdatabase/DatabaseTracker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/DatabaseTask.h
diff --git a/Source/modules/webdatabase/DatabaseTask.h b/Source/modules/webdatabase/DatabaseTask.h
index 807c6e495275f3e4c73047738d519f540bcfc7b5..e3d16edc6012c5863276d952a668f595ec2cc758 100644
--- a/Source/modules/webdatabase/DatabaseTask.h
+++ b/Source/modules/webdatabase/DatabaseTask.h
@@ -49,7 +49,7 @@ class DatabaseTask : public WebThread::Task {
public:
virtual ~DatabaseTask();
- virtual void run() OVERRIDE FINAL;
+ virtual void run() override final;
Database* database() const { return m_database.get(); }
#if ENABLE(ASSERT)
@@ -72,7 +72,7 @@ private:
#endif
};
-class Database::DatabaseOpenTask FINAL : public DatabaseTask {
+class Database::DatabaseOpenTask final : public DatabaseTask {
public:
static PassOwnPtr<DatabaseOpenTask> create(Database* db, bool setVersionInNewDatabase, TaskSynchronizer* synchronizer, DatabaseError& error, String& errorMessage, bool& success)
{
@@ -82,9 +82,9 @@ public:
private:
DatabaseOpenTask(Database*, bool setVersionInNewDatabase, TaskSynchronizer*, DatabaseError&, String& errorMessage, bool& success);
- virtual void doPerformTask() OVERRIDE;
+ virtual void doPerformTask() override;
#if !LOG_DISABLED
- virtual const char* debugTaskName() const OVERRIDE;
+ virtual const char* debugTaskName() const override;
#endif
bool m_setVersionInNewDatabase;
@@ -93,7 +93,7 @@ private:
bool& m_success;
};
-class Database::DatabaseCloseTask FINAL : public DatabaseTask {
+class Database::DatabaseCloseTask final : public DatabaseTask {
public:
static PassOwnPtr<DatabaseCloseTask> create(Database* db, TaskSynchronizer* synchronizer)
{
@@ -103,13 +103,13 @@ public:
private:
DatabaseCloseTask(Database*, TaskSynchronizer*);
- virtual void doPerformTask() OVERRIDE;
+ virtual void doPerformTask() override;
#if !LOG_DISABLED
- virtual const char* debugTaskName() const OVERRIDE;
+ virtual const char* debugTaskName() const override;
#endif
};
-class Database::DatabaseTransactionTask FINAL : public DatabaseTask {
+class Database::DatabaseTransactionTask final : public DatabaseTask {
public:
virtual ~DatabaseTransactionTask();
@@ -124,16 +124,16 @@ public:
private:
explicit DatabaseTransactionTask(SQLTransactionBackend*);
- virtual void doPerformTask() OVERRIDE;
- virtual void taskCancelled() OVERRIDE;
+ virtual void doPerformTask() override;
+ virtual void taskCancelled() override;
#if !LOG_DISABLED
- virtual const char* debugTaskName() const OVERRIDE;
+ virtual const char* debugTaskName() const override;
#endif
CrossThreadPersistent<SQLTransactionBackend> m_transaction;
};
-class Database::DatabaseTableNamesTask FINAL : public DatabaseTask {
+class Database::DatabaseTableNamesTask final : public DatabaseTask {
public:
static PassOwnPtr<DatabaseTableNamesTask> create(Database* db, TaskSynchronizer* synchronizer, Vector<String>& names)
{
@@ -143,9 +143,9 @@ public:
private:
DatabaseTableNamesTask(Database*, TaskSynchronizer*, Vector<String>& names);
- virtual void doPerformTask() OVERRIDE;
+ virtual void doPerformTask() override;
#if !LOG_DISABLED
- virtual const char* debugTaskName() const OVERRIDE;
+ virtual const char* debugTaskName() const override;
#endif
Vector<String>& m_tableNames;
« no previous file with comments | « Source/modules/webdatabase/DatabaseManager.cpp ('k') | Source/modules/webdatabase/DatabaseTracker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698