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

Unified Diff: Source/modules/webdatabase/DatabaseTask.h

Issue 135653002: Update modules classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove change to web/ Created 6 years, 11 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/DatabaseSync.h ('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 a12fb3535f9147bcafb11f3dbb71092fbbc8f378..d6fecdcad94327fa3a5ea38b74710cc84d1f866f 100644
--- a/Source/modules/webdatabase/DatabaseTask.h
+++ b/Source/modules/webdatabase/DatabaseTask.h
@@ -75,7 +75,7 @@ class DatabaseTask : public blink::WebThread::Task {
public:
virtual ~DatabaseTask();
- virtual void run() OVERRIDE;
+ virtual void run() OVERRIDE FINAL;
DatabaseBackend* database() const { return m_database.get(); }
#ifndef NDEBUG
@@ -99,7 +99,7 @@ private:
#endif
};
-class DatabaseBackend::DatabaseOpenTask : public DatabaseTask {
+class DatabaseBackend::DatabaseOpenTask FINAL : public DatabaseTask {
public:
static PassOwnPtr<DatabaseOpenTask> create(DatabaseBackend* db, bool setVersionInNewDatabase, DatabaseTaskSynchronizer* synchronizer, DatabaseError& error, String& errorMessage, bool& success)
{
@@ -109,9 +109,9 @@ public:
private:
DatabaseOpenTask(DatabaseBackend*, bool setVersionInNewDatabase, DatabaseTaskSynchronizer*, DatabaseError&, String& errorMessage, bool& success);
- virtual void doPerformTask();
+ virtual void doPerformTask() OVERRIDE;
#if !LOG_DISABLED
- virtual const char* debugTaskName() const;
+ virtual const char* debugTaskName() const OVERRIDE;
#endif
bool m_setVersionInNewDatabase;
@@ -120,7 +120,7 @@ private:
bool& m_success;
};
-class DatabaseBackend::DatabaseCloseTask : public DatabaseTask {
+class DatabaseBackend::DatabaseCloseTask FINAL : public DatabaseTask {
public:
static PassOwnPtr<DatabaseCloseTask> create(DatabaseBackend* db, DatabaseTaskSynchronizer* synchronizer)
{
@@ -130,13 +130,13 @@ public:
private:
DatabaseCloseTask(DatabaseBackend*, DatabaseTaskSynchronizer*);
- virtual void doPerformTask();
+ virtual void doPerformTask() OVERRIDE;
#if !LOG_DISABLED
- virtual const char* debugTaskName() const;
+ virtual const char* debugTaskName() const OVERRIDE;
#endif
};
-class DatabaseBackend::DatabaseTransactionTask : public DatabaseTask {
+class DatabaseBackend::DatabaseTransactionTask FINAL : public DatabaseTask {
public:
virtual ~DatabaseTransactionTask();
@@ -151,16 +151,16 @@ public:
private:
explicit DatabaseTransactionTask(PassRefPtr<SQLTransactionBackend>);
- virtual void doPerformTask();
- virtual void taskCancelled();
+ virtual void doPerformTask() OVERRIDE;
+ virtual void taskCancelled() OVERRIDE;
#if !LOG_DISABLED
- virtual const char* debugTaskName() const;
+ virtual const char* debugTaskName() const OVERRIDE;
#endif
RefPtr<SQLTransactionBackend> m_transaction;
};
-class DatabaseBackend::DatabaseTableNamesTask : public DatabaseTask {
+class DatabaseBackend::DatabaseTableNamesTask FINAL : public DatabaseTask {
public:
static PassOwnPtr<DatabaseTableNamesTask> create(DatabaseBackend* db, DatabaseTaskSynchronizer* synchronizer, Vector<String>& names)
{
@@ -170,9 +170,9 @@ public:
private:
DatabaseTableNamesTask(DatabaseBackend*, DatabaseTaskSynchronizer*, Vector<String>& names);
- virtual void doPerformTask();
+ virtual void doPerformTask() OVERRIDE;
#if !LOG_DISABLED
- virtual const char* debugTaskName() const;
+ virtual const char* debugTaskName() const OVERRIDE;
#endif
Vector<String>& m_tableNames;
« no previous file with comments | « Source/modules/webdatabase/DatabaseSync.h ('k') | Source/modules/webdatabase/DatabaseTracker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698