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

Unified Diff: Source/modules/webdatabase/Database.cpp

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/Database.h ('k') | Source/modules/webdatabase/DatabaseBackend.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/Database.cpp
diff --git a/Source/modules/webdatabase/Database.cpp b/Source/modules/webdatabase/Database.cpp
index b730139881c22fadd9e319412468adf788796684..8bcea4b431d620c0702f75881d7e6cd9860c2f50 100644
--- a/Source/modules/webdatabase/Database.cpp
+++ b/Source/modules/webdatabase/Database.cpp
@@ -79,20 +79,20 @@ Database::Database(PassRefPtr<DatabaseContext> databaseContext,
ASSERT(m_databaseContext->databaseThread());
}
-class DerefContextTask : public ExecutionContextTask {
+class DerefContextTask FINAL : public ExecutionContextTask {
public:
static PassOwnPtr<DerefContextTask> create(PassRefPtr<ExecutionContext> context)
{
return adoptPtr(new DerefContextTask(context));
}
- virtual void performTask(ExecutionContext* context)
+ virtual void performTask(ExecutionContext* context) OVERRIDE
{
ASSERT_UNUSED(context, context == m_context);
m_context.clear();
}
- virtual bool isCleanupTask() const { return true; }
+ virtual bool isCleanupTask() const OVERRIDE { return true; }
private:
DerefContextTask(PassRefPtr<ExecutionContext> context)
@@ -182,14 +182,14 @@ void Database::runTransaction(PassOwnPtr<SQLTransactionCallback> callback, PassO
}
}
-class DeliverPendingCallbackTask : public ExecutionContextTask {
+class DeliverPendingCallbackTask FINAL : public ExecutionContextTask {
public:
static PassOwnPtr<DeliverPendingCallbackTask> create(PassRefPtr<SQLTransaction> transaction)
{
return adoptPtr(new DeliverPendingCallbackTask(transaction));
}
- virtual void performTask(ExecutionContext*)
+ virtual void performTask(ExecutionContext*) OVERRIDE
{
m_transaction->performPendingCallback();
}
« no previous file with comments | « Source/modules/webdatabase/Database.h ('k') | Source/modules/webdatabase/DatabaseBackend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698